mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user