Add Golden Hearts - #1641
Open
Cheaterpaul wants to merge 2 commits into
Open
Add Golden Hearts#1641Cheaterpaul wants to merge 2 commits into
Cheaterpaul wants to merge 2 commits into
Conversation
…s, and translations
Saturation was used up faster than vanilla food saturation and highly saturating food could not be distinguished from ordinary food. - Spend saturation against a gate scaled by the BLOOD_EXHAUSTION attribute. Exhaustion is already scaled by that attribute when it is added, so saturation is no longer used up faster than the base rate at higher vampire levels (up to +40% before), while a factor below 1 keeps making it last longer. This also covers the saturated regeneration, which charged the scaled exhaustion as well. - Cap the saturation at three times the maximum blood instead of the current blood level, so highly saturating food keeps the vampire fed for a while. - Stop applying the saturation modifier twice. FoodProperties#saturation holds the absolute saturation value, while addBlood expects a modifier. Convert via the new IBloodStats#saturationModifier. - Count the full amount towards the saturation, like vanilla, instead of only the blood that fit into the blood bar. Otherwise alwaysEdible food eaten on a full blood bar granted no saturation at all.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
close #1507
TODO: