Merge pull request #5707 from Citadel-Station-13/upstream-merge-35840
[MIRROR] Removes liver unfailure and makes alcohol do the killing thing sometimes
This commit is contained in:
@@ -20,13 +20,11 @@
|
||||
/obj/item/organ/liver/on_life()
|
||||
var/mob/living/carbon/C = owner
|
||||
|
||||
//slowly heal liver damage
|
||||
damage = max(0, damage - 0.1)
|
||||
if(damage > maxHealth)//cap liver damage
|
||||
damage = maxHealth
|
||||
|
||||
if(istype(C))
|
||||
if(!failing)//can't process reagents with a failing liver
|
||||
//slowly heal liver damage
|
||||
damage = max(0, damage - 0.1)
|
||||
|
||||
if(filterToxins)
|
||||
//handle liver toxin filtration
|
||||
var/toxamount
|
||||
@@ -47,6 +45,9 @@
|
||||
if(damage > 10 && prob(damage/3))//the higher the damage the higher the probability
|
||||
to_chat(C, "<span class='notice'>You feel [pick("nauseous", "dull pain in your lower body", "confused")].</span>")
|
||||
|
||||
if(damage > maxHealth)//cap liver damage
|
||||
damage = maxHealth
|
||||
|
||||
/obj/item/organ/liver/prepare_eat()
|
||||
var/obj/S = ..()
|
||||
S.reagents.add_reagent("iron", 5)
|
||||
|
||||
Reference in New Issue
Block a user