From 729460ce949a0a345692c0fef03ca632c8a844ae Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Tue, 28 Feb 2017 22:53:57 -0500 Subject: [PATCH] Necrotic limbs in scanner No-longer-infected but still ORGAN_DEAD flag limbs show up on scanner with a special thing so you can know they still need surgery/removal. They are pretty obvious from a visual exam, but hey, this scanner should show them too. --- code/game/machinery/adv_med.dm | 2 ++ nano/templates/adv_med.tmpl | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/code/game/machinery/adv_med.dm b/code/game/machinery/adv_med.dm index bacb35939a3..301cbe9e378 100644 --- a/code/game/machinery/adv_med.dm +++ b/code/game/machinery/adv_med.dm @@ -333,6 +333,8 @@ organStatus["splinted"] = 1 if(E.status & ORGAN_BLEEDING) organStatus["bleeding"] = 1 + if(E.status & ORGAN_DEAD) + organStatus["dead"] = 1 organData["status"] = organStatus diff --git a/nano/templates/adv_med.tmpl b/nano/templates/adv_med.tmpl index a448b850ab8..2dbd997cbd5 100644 --- a/nano/templates/adv_med.tmpl +++ b/nano/templates/adv_med.tmpl @@ -176,6 +176,14 @@ Used In File(s): \code\game\machinery\adv_med.dm {{/if}} {{/if}} + {{if value.status.dead}} +
+  Necrosis +
+
+ Necrotic Tissue Present +
+ {{/if}} {{if value.open}}
 Operation Status