mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +01:00
Fixes non-unathi from taking toxin damage when eating food. (#4389)
This commit is contained in:
@@ -93,17 +93,10 @@
|
||||
affect_ingest(M, alien, removed)
|
||||
|
||||
/datum/reagent/nutriment/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
|
||||
switch(alien)
|
||||
if(IS_VAURCA)
|
||||
M.adjustToxLoss(1.5 * removed)
|
||||
return
|
||||
if(IS_UNATHI)
|
||||
return
|
||||
else
|
||||
digest(M,removed)
|
||||
|
||||
..()
|
||||
if(alien == IS_VAURCA)
|
||||
M.adjustToxLoss(1.5 * removed)
|
||||
else if(alien != IS_UNATHI)
|
||||
digest(M,removed)
|
||||
|
||||
/datum/reagent/nutriment/proc/digest(var/mob/living/carbon/M, var/removed)
|
||||
M.heal_organ_damage(regen_factor * removed, 0)
|
||||
|
||||
Reference in New Issue
Block a user