From 2bd4ac5de87b5b24edb9acf1b0a4de9219225db4 Mon Sep 17 00:00:00 2001 From: Ghommie <42542238+Ghommie@users.noreply.github.com> Date: Fri, 29 Nov 2019 06:31:23 +0100 Subject: [PATCH] Also AI and Carbon --- code/modules/mob/living/carbon/examine.dm | 7 +++---- code/modules/mob/living/silicon/ai/examine.dm | 10 ++++------ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/code/modules/mob/living/carbon/examine.dm b/code/modules/mob/living/carbon/examine.dm index eba925a659..9e87e7626d 100644 --- a/code/modules/mob/living/carbon/examine.dm +++ b/code/modules/mob/living/carbon/examine.dm @@ -38,7 +38,7 @@ continue . += "[t_His] [parse_zone(t)] is missing!" - var/list/msg = list("") + var/list/msg = list() var/temp = getBruteLoss() if(!(user == src && src.hal_screwyhud == SCREWYHUD_HEALTHY)) //fake healthy if(temp) @@ -78,9 +78,8 @@ if(pulledby && pulledby.grab_state) msg += "[t_He] [t_is] restrained by [pulledby]'s grip.\n" - msg += "" - - . += msg.Join("") + if(msg.len) + . += "[msg.Join("")]" if(!appears_dead) if(stat == UNCONSCIOUS) diff --git a/code/modules/mob/living/silicon/ai/examine.dm b/code/modules/mob/living/silicon/ai/examine.dm index 5e40a5a7eb..10b88ae14a 100644 --- a/code/modules/mob/living/silicon/ai/examine.dm +++ b/code/modules/mob/living/silicon/ai/examine.dm @@ -3,18 +3,16 @@ if (stat == DEAD) . += "It appears to be powered-down." else - . += "" if (getBruteLoss()) if (getBruteLoss() < 30) - . += "It looks slightly dented." + . += "It looks slightly dented." else - . += "It looks severely dented!" + . += "It looks severely dented!" if (getFireLoss()) if (getFireLoss() < 30) - . += "It looks slightly charred." + . += "It looks slightly charred." else - . += "Its casing is melted and heat-warped!" - . += "" + . += "Its casing is melted and heat-warped!" if(deployed_shell) . += "The wireless networking light is blinking." else if (!shunted && !client)