Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions missing from objective tooltips #38

Open
ThePants999 opened this issue Jun 2, 2021 · 1 comment
Open

Actions missing from objective tooltips #38

ThePants999 opened this issue Jun 2, 2021 · 1 comment
Labels
issue needs review Issue needs looking into

Comments

@ThePants999
Copy link

The JSON definitions for secondary objectives can have an embedded "actions" array. When you spawn cards for an objective, that results in spawning one card for the objective itself and one card for each action, which is great.

However, the tooltip for that objective on the score sheet only contains the objective text and not the action text. This makes it significantly less useful for such objectives, as unless you spawn cards for the objectives, you don't have a reference for rules like which units can perform the action or when it completes.

@ThePants999
Copy link
Author

I think the fix here is in 9e/TTSLUA/9eScoreSheet.ttslua - think line 604 just needs a bit more added to it to look at child actions.

Also, loooool @ line 601.

@Zyllos Zyllos added the issue needs review Issue needs looking into label Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue needs review Issue needs looking into
Projects
None yet
Development

No branches or pull requests

2 participants