From 7b3c2862d3a4099ac5dbb1c4e1a83abfc889f94a Mon Sep 17 00:00:00 2001 From: Ashe Higgs Date: Tue, 5 Dec 2017 02:56:26 -0500 Subject: [PATCH 1/2] Stethoscope defibrillation checking (#33234) --- code/modules/clothing/neck/_neck.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/clothing/neck/_neck.dm b/code/modules/clothing/neck/_neck.dm index 2b66a85fe6..2baaf91135 100644 --- a/code/modules/clothing/neck/_neck.dm +++ b/code/modules/clothing/neck/_neck.dm @@ -72,6 +72,9 @@ if(!(M.failed_last_breath || M.losebreath)) lung_strength = "healthy" + if(M.stat == DEAD && heart && world.time - M.timeofdeath < DEFIB_TIME_LIMIT * 10) + heart_strength = "a faint, fluttery" + var/diagnosis = (body_part == "chest" ? "You hear [heart_strength] pulse and [lung_strength] respiration." : "You faintly hear [heart_strength] pulse.") user.visible_message("[user] places [src] against [M]'s [body_part] and listens attentively.", "You place [src] against [M]'s [body_part]. [diagnosis]") return