Skip to content

Commit

Permalink
[MIRROR] Fixes Unathi nutrition
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelbassil authored and SuhEugene committed Jan 30, 2024
1 parent 729af9b commit a90e119
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
M.add_chemical_effect(CE_BLOODRESTORE, 4 * removed)

/datum/reagent/nutriment/proc/adjust_nutrition(mob/living/carbon/M, removed)
var/nut_removed = removed
var/hyd_removed = removed
if (HAS_TRAIT(M, /singleton/trait/boon/cast_iron_stomach))
removed *= 0.1 // Unathi get most of their nutrition from meat.
var/nut_removed = removed
var/hyd_removed = removed
if(nutriment_factor)
M.adjust_nutrition(nutriment_factor * nut_removed) // For hunger and fatness
if(hydration_factor)
Expand Down

0 comments on commit a90e119

Please sign in to comment.