Conversation
Tags garlic oil as `injectable_nutrition`. Because this causes `adjust_mob_nutrition()` to get called twice, nutriment/hydration factors are cut in half to compensate.
|
Hmmm I don't much like having it process twice, it means immunity and such will be adjusted twice. Not sure of a better fix short of duplicating the logic into affect_ingest on garlic juice specifically, which is gross too. |
|
The only other thing I can think of to do is have The "duplicating logic into affect_ingest()" unpleasantness is why I went with the |
MistakeNot4892
left a comment
There was a problem hiding this comment.
Going to approve this for now but I might revisit it with another solution in the future.
Description of changes
Tags garlic oil as
injectable_nutrition. Because this causesadjust_mob_nutrition()to get called twice, nutriment/hydration factors are cut in half to compensate.Why and what will this PR improve
Garlic Oil now can be used as an antibiotic without dealing 1.2 TOX damage per unit ingested (due to a food substance being present in the bloodstream).
Authorship
Changelog
🆑
tweak: Prevented Garlic Oil from dealing TOX damage
/:cl: