painkiller tweak

This commit is contained in:
Fox-McCloud
2015-12-12 16:51:37 -05:00
parent 1d6f5e07ad
commit b84f31ac5c
2 changed files with 12 additions and 0 deletions
@@ -285,6 +285,10 @@ datum/reagent/sal_acid/on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
if(prob(55))
M.adjustBruteLoss(-2*REM)
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.traumatic_shock < 100)
H.shock_stage = 0
..()
return
@@ -458,6 +462,10 @@ datum/reagent/morphine/on_mob_life(var/mob/living/M as mob)
if(36 to INFINITY)
M.Paralyse(10)
M.drowsyness = max(M.drowsyness, 15)
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.traumatic_shock < 100)
H.shock_stage = 0
..()
return
@@ -9,6 +9,10 @@
/datum/reagent/hydrocodone/on_mob_life(var/mob/living/M as mob)
if(!M) M = holder.my_atom
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.traumatic_shock < 100)
H.shock_stage = 0
..()
return