Fix cooking oil made from mutant fat not containing toxin #36929
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.
Summary
SUMMARY: Bugfixes "Cooking oil made from mutant fat now contains toxin"
Purpose of change
Oil from mutant animals ain't good for ya health.
Describe the solution
Suppress the
NUTRIENT_OVERRIDE
flag for animal cooking oil.Testing
Opened crafting menu and observed that animal cooking oil now may contain toxin.
Additional context
This has the side-effect of removing other vitamins from animal cooking oil. This is because its ingredient, namely fat, has negative healthy value. And when finalizing item types, only items with non-negative healthy values gets vitamins from their base materials. I'm not sure if that's the intended behavior. Even if an item is unhealthy doesn't mean it doesn't contain any vitamins. Should we always apply at least some minimal amount of vitamins from the base material even if it's unhealthy?