-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Gorging penalties #40284
Gorging penalties #40284
Conversation
i only glanced at this, but is there any way you can improve this to not use an if-else ladder? it's huge |
Does this mean i'll vomit even with the gourmand trait when full, that traits supposed to prevent that sorta thing. |
Looking at the code gourmand increases your stomach capacity, meaning you can eat more. This PR won't change that at all, you can still eat more before suffering consequences. |
Summary
SUMMARY: Features "Add penalties for gorging and json control of hunger penalties."
Purpose of change
Fixes #36973
Adds penalties for over eating and now all levels of hunger have an effect that can be edited to change hunger penalties
Describe the solution
Added new effects for all hunger levels, all but full and engorged have no effect at present. Moved code that handled what your hunger level is out of display code and into update stomach. Modified coloring and names of hunger statuses slightly.
Describe alternatives you've considered
Combining the code in update stomach that sets hunger with the hunger level code to make the display lag a bit like stomach contents. Hard coding rather than using json.
Testing
Additional context