Cardiac problems have a dedicated icon on medhud, not a generic "disease" (#14900)

* Cardiac problems have a dedicated icon on medhud, not a generic "disease"

* Rename "huddefib2" -> "hudflatline"
This commit is contained in:
moxian
2020-11-18 18:08:01 +00:00
committed by GitHub
parent c58b74b936
commit 16d2638c0a
7 changed files with 46 additions and 25 deletions
+5 -4
View File
@@ -53,6 +53,10 @@
..()
stat = DEAD
timeofdeath = world.time
create_log(ATTACK_LOG, "died[gibbed ? " (Gibbed)": ""]")
SetDizzy(0)
SetJitter(0)
SetLoseBreath(0)
@@ -72,7 +76,7 @@
med_hud_set_health()
med_hud_set_status()
if(!gibbed && !QDELETED(src))
addtimer(CALLBACK(src, .proc/med_hud_set_status), (DEFIB_TIME_LIMIT * 10) + 1)
addtimer(CALLBACK(src, .proc/med_hud_set_status), DEFIB_TIME_LIMIT + 1)
for(var/s in ownedSoullinks)
var/datum/soullink/S = s
@@ -84,9 +88,6 @@
if(!gibbed)
update_canmove()
timeofdeath = world.time
create_log(ATTACK_LOG, "died[gibbed ? " (Gibbed)": ""]")
GLOB.alive_mob_list -= src
GLOB.dead_mob_list += src
if(mind)