Merge pull request #8721 from Ghommie/Ghommie-cit77

Ports in "Liver removal/failure now also stops passive reagent effects"
This commit is contained in:
kevinz000
2019-06-23 06:53:30 -07:00
committed by GitHub
12 changed files with 93 additions and 59 deletions
+1
View File
@@ -654,6 +654,7 @@ GLOBAL_LIST_INIT(ballmer_windows_me_msg, list("Yo man, what if, we like, uh, put
L.damage += d
/mob/living/carbon/proc/liver_failure()
reagents.end_metabolization(src, keep_liverless = TRUE) //Stops trait-based effects on reagents, to prevent permanent buffs
reagents.metabolize(src, can_overdose=FALSE, liverless = TRUE)
if(HAS_TRAIT(src, TRAIT_STABLEHEART))
return