mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Reduces Defib Safe Time: Adds Health HUD Defib Indicator
This commit is contained in:
@@ -164,6 +164,11 @@
|
||||
var/image/holder = hud_list[STATUS_HUD]
|
||||
var/mob/living/simple_animal/borer/B = has_brain_worms()
|
||||
if(stat == DEAD || (status_flags & FAKEDEATH))
|
||||
if(timeofdeath)
|
||||
var/tdelta = round(world.time - timeofdeath)
|
||||
if(tdelta < (DEFIB_TIME_LIMIT * 10))
|
||||
holder.icon_state = "huddefib"
|
||||
return
|
||||
holder.icon_state = "huddead"
|
||||
else if(status_flags & XENO_HOST)
|
||||
holder.icon_state = "hudxeno"
|
||||
|
||||
Reference in New Issue
Block a user