Alcohol causes liver damage and some toxic damage, at the stage where you pass out.

This commit is contained in:
comma
2013-08-02 18:41:07 +04:00
parent ba9d3fa1eb
commit 019e8aa0d4
+7 -1
View File
@@ -2807,6 +2807,12 @@ datum
if(d >= pass_out)
M:paralysis = max(M:paralysis, 20)
M:drowsyness = max(M:drowsyness, 30)
if(ishuman(M))
var/mob/living/cabon.huan/H = M
var/datum/organ/internal/liver/L = H.internal_organs["liver"]
if (istype(L))
L.take_damage(0.1, 1)
H.adjustToxLoss(0.1)
holder.remove_reagent(src.id, 0.4)
..()
@@ -3463,4 +3469,4 @@ datum
else if(data >= 115 && prob(33))
M.confused = max(M.confused+15,15)
..()
return
return