From 029429ecc27b0afeda4d5aba32fadbb040995d7a Mon Sep 17 00:00:00 2001 From: "giacomand@gmail.com" Date: Tue, 9 Oct 2012 08:09:34 +0000 Subject: [PATCH] -Commiting Aran's fix to human examination. Including dead people not showing up as ghosted. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4838 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/carbon/human/examine.dm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index 956ad4778a0..80661056a13 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -203,6 +203,8 @@ for(var/mob/dead/observer/G in player_list) if(G.mind == mind) foundghost = 1 + if (G.can_reenter_corpse == 0) + foundghost = 0 break if(!foundghost) msg += " and [t_his] soul has departed" @@ -211,6 +213,9 @@ msg += "It appears that [t_his] brain is missing...\n" var/temp = getBruteLoss() //no need to calculate each of these twice + + msg += "" + if(temp) if(temp < 30) msg += "[t_He] [t_has] minor bruising.\n" @@ -246,9 +251,9 @@ else if(getBrainLoss() >= 60) msg += "[t_He] [t_has] a stupid expression on [t_his] face.\n" - if(!key && brain_op_stage != 4) + if(!key && brain_op_stage != 4 && stat != DEAD) msg += "[t_He] [t_is] totally catatonic. The stresses of life in deep-space must have been too much for [t_him]. Any recovery is unlikely\n" - else if(!client && brain_op_stage != 4) + else if(!client && brain_op_stage != 4 && stat != DEAD) msg += "[t_He] [t_has] a vacant, braindead stare...\n" if(digitalcamo)