Modified detective revolver isn't deleted anymore when it misfires.

Heart attack: Moved heart attack var (and changed related code accordingly) from carbon to human since non humans have no use for it. I also added some feedback message when you recover from a heart attack.
Added a click cooldown on touching a light fixture.
burning yourself with a lighter now burns only the arm holding the lighter.
Fixes incorrect message when defibbing heart attack patient.
This commit is contained in:
phil235
2015-07-10 00:18:35 +02:00
parent 4a9aec4617
commit 53a7b37a94
13 changed files with 44 additions and 42 deletions
@@ -366,10 +366,14 @@
else
cooldown += 200
if(prob(50 / severity))
owner.heart_attack = 1
spawn(600 / severity)
owner.heart_attack = 0
if(istype(owner, /mob/living/carbon/human))
var/mob/living/carbon/human/H = owner
if(H.stat != DEAD && prob(50 / severity))
H.heart_attack = 1
spawn(600 / severity)
H.heart_attack = 0
if(H.stat == CONSCIOUS)
H << "<span class='notice'>You feel your heart beating again!</span>"
//BOX O' IMPLANTS