diff --git a/code/game/data_huds.dm b/code/game/data_huds.dm index 09a9ec9970cbf7..9a60fdef31eb90 100644 --- a/code/game/data_huds.dm +++ b/code/game/data_huds.dm @@ -175,6 +175,11 @@ if(has_trait(TRAIT_XENO_HOST)) holder.icon_state = "hudxeno" else if(stat == DEAD || (has_trait(TRAIT_FAKEDEATH))) + if(tod) + var/tdelta = round(world.time - timeofdeath) + if(tdelta < (DEFIB_TIME_LIMIT * 10)) + holder.icon_state = "huddefib" + return holder.icon_state = "huddead" else switch(virus_threat) diff --git a/code/modules/mob/living/death.dm b/code/modules/mob/living/death.dm index 4b6280f1f9e77b..35c2abac9ca65a 100644 --- a/code/modules/mob/living/death.dm +++ b/code/modules/mob/living/death.dm @@ -74,6 +74,7 @@ update_canmove() med_hud_set_health() med_hud_set_status() + addtimer(CALLBACK(src, .proc/med_hud_set_status), (DEFIB_TIME_LIMIT * 10) + 1) stop_pulling() if (client) diff --git a/icons/mob/hud.dmi b/icons/mob/hud.dmi index 8fa3cefbb78fbd..1c51682406c71b 100644 Binary files a/icons/mob/hud.dmi and b/icons/mob/hud.dmi differ