Cooking mutant organs retain toxins #58007
Merged
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
Bugfixes "Cooking mutant organs will now retain their toxins"
Purpose of change
Fixes #52166
Describe the solution
Copies what the mutant meat scrap and the cooked mutant meat scrap does. This means adding the 'cooks-like' property to the mutant organs and setting that property to cooked mutant organs. This is required because otherwise it will inherit the cooks-like from meat. You can see this in #52166, where the description says it's made from cooked meat, not mutant organs.
The consequence is that the calories differ from before, since mutant organs are not the same as 'cooked meat'
Describe alternatives you've considered
Re-doing the inheritance of the meat dishes since figuring this out took more time then I'd like. Right now anything that inherits from meat will cook-like cooked meat, and override their nutrients. Also, the cooked mutant organs ended up with both cooks-like and the NUTRIENTS_OVERRIDE flag while #27252 says they are alternatives.
Testing
Loaded the game, butchered ants, crafted cooked offal, cooked mutant organs, canned offal
Additional context
Offal inherits toxins:

Picked offal too:

cooked mutant organs too:
