mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Stethoscope now checks whether the target is dead. (#16062)
* Stethoscope now checks whether the target is dead. * Update code/modules/clothing/under/accessories/accessory.dm Removes unnecessary parentheses. Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com>
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
user.visible_message("[user] places \the [src] against [M]'s chest and listens attentively.", "You place \the [src] against [M]'s chest...")
|
||||
var/obj/item/organ/internal/H = M.get_int_organ(/obj/item/organ/internal/heart)
|
||||
var/obj/item/organ/internal/L = M.get_int_organ(/obj/item/organ/internal/lungs)
|
||||
if((H && M.pulse) || (L && !HAS_TRAIT(M, TRAIT_NOBREATH)))
|
||||
if(M.pulse && (H || (L && !HAS_TRAIT(M, TRAIT_NOBREATH))))
|
||||
var/color = "notice"
|
||||
if(H)
|
||||
var/heart_sound
|
||||
|
||||
Reference in New Issue
Block a user