From 2bab8c2896003a4e9b13504767dd66c60baa8a5a Mon Sep 17 00:00:00 2001 From: Cactus Date: Sun, 25 Aug 2019 03:06:06 -0400 Subject: [PATCH] fixed missing new line and adds text when you're fully repaired --- .../modules/mob/living/silicon/pai/examine.dm | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/code/modules/mob/living/silicon/pai/examine.dm b/code/modules/mob/living/silicon/pai/examine.dm index c43b4e2846..1121fffc89 100644 --- a/code/modules/mob/living/silicon/pai/examine.dm +++ b/code/modules/mob/living/silicon/pai/examine.dm @@ -5,20 +5,23 @@ if(icon) msg += "\icon[icon] " - msg += "[src.name], a [chassis_names[src.chassis]] personal AI" + msg += "[src.name], a [chassis_names[src.chassis]] personal AI\n" - msg += "" - if (src.getBruteLoss()) - if (src.getBruteLoss() < 50) - msg += "It looks slightly dented.\n" - else - msg += "It looks severely dented!\n" - if (src.getFireLoss()) - if (src.getFireLoss() < 50) - msg += "It looks slightly charred.\n" - else - msg += "It looks severely burnt and heat-warped!\n" - msg += "" + if(health == 100) + msg += "It's in pristine condition.\n" + else + msg += "" + if (src.getBruteLoss()) + if (src.getBruteLoss() < 50) + msg += "It looks slightly dented.\n" + else + msg += "It looks severely dented!\n" + if (src.getFireLoss()) + if (src.getFireLoss() < 50) + msg += "It looks slightly charred.\n" + else + msg += "It looks severely burnt and heat-warped!\n" + msg += "" switch(src.stat) if(CONSCIOUS)