Better examine descriptions to prevent medics from wasting time trying to revive people that left the server (#28751)

* better examine

* different message
This commit is contained in:
kyunkyunkyun
2025-04-11 17:33:06 +00:00
committed by GitHub
parent da7973ee7c
commit e8006a8c8a
5 changed files with 18 additions and 10 deletions
+5 -8
View File
@@ -205,14 +205,11 @@
// To the right of health bar
if(stat == DEAD || HAS_TRAIT(src, TRAIT_FAKEDEATH))
var/revivable_state = "dead"
if(!ghost_can_reenter()) // DNR or AntagHUD
revivable_state = "dead"
else if(ismachineperson(src) || (timeofdeath && is_revivable()))
revivable_state = "flatline"
else if(!mind)
revivable_state = "dead"
else if(get_ghost() || key)
revivable_state = "hassoul"
if(ghost_can_reenter()) // Not DNR or AntagHUD
if((ismachineperson(src) && client) || (!ismachineperson(src) && timeofdeath && is_revivable()))
revivable_state = "flatline"
else if(get_ghost() || key)
revivable_state = "hassoul"
holder.icon_state = "hud[revivable_state]"