mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Fix check_ghost_client() runtime + improve examine/hud conditions (#29023)
* should be fine * these 2 as well * Update code/modules/mob/living/carbon/examine.dm Co-authored-by: warriorstar-orion <orion@snowfrost.garden> Signed-off-by: kyunkyunkyun <120701975+kyunkyunkyun@users.noreply.github.com> --------- Signed-off-by: kyunkyunkyun <120701975+kyunkyunkyun@users.noreply.github.com> Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
This commit is contained in:
co-authored by
warriorstar-orion
parent
0a80e42d1a
commit
ecd13af77c
@@ -253,10 +253,10 @@
|
||||
msg += "<span class='warning'>[p_they(TRUE)] appear[p_s()] to have committed suicide... there is no hope of recovery.</span>\n"
|
||||
if(!just_sleeping)
|
||||
msg += "<span class='deadsay'>[p_they(TRUE)] [p_are()] limp and unresponsive"
|
||||
if(get_int_organ(/obj/item/organ/internal/brain) && !key)
|
||||
if(!check_ghost_client())
|
||||
if(get_int_organ(/obj/item/organ/internal/brain) && !client) // body has no online player inside - let's look for ghost
|
||||
if(!check_ghost_client()) // our ghost is offline or no ghost attached to body
|
||||
msg += "; there are no signs of life"
|
||||
if(!get_ghost())
|
||||
if(!get_ghost() && !key) // no ghost attached to body
|
||||
msg += " and [p_their()] soul has departed"
|
||||
msg += "...</span>\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user