mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
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:
@@ -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]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user