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

Add Rules button to Health Overview, closes #5 #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

meiskam
Copy link

@meiskam meiskam commented Feb 12, 2021

Adds Postfix to HealthCardUtility_DrawOverviewTab checking if a FloatMenu exists with ManageFoodRestrictions as the last entry (aka when the manage food restriction button is pressed), and opens Dialog_Rules.
Removes Pawn_FoodRestrictionTracker_Configurable Prefix which removed the button.
Edited the button text to show the same wording as the Gizmo (this might need modified).
Removes a few NRE that have existed before, but not caught because the Rules couldn't be opened if a settlement didn't exist.

@meiskam meiskam force-pushed the master branch 2 times, most recently from 9afc29a to ac69460 Compare February 13, 2021 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant