From 1a88509614ab91385a43670d9fc8e381c2133d2d Mon Sep 17 00:00:00 2001 From: Rukofamicom Date: Wed, 25 Dec 2024 17:16:06 -0600 Subject: [PATCH] Chest included in head check --- code/modules/mob/living/carbon/carbon_defense.dm | 2 +- code/modules/mob/living/carbon/human/species.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/carbon_defense.dm b/code/modules/mob/living/carbon/carbon_defense.dm index bd793766da4f6..2013e4b6ce753 100644 --- a/code/modules/mob/living/carbon/carbon_defense.dm +++ b/code/modules/mob/living/carbon/carbon_defense.dm @@ -119,7 +119,7 @@ dismember_limb = TRUE //You can only cut a limb off if it is already damaged enough to be fully disabled - if(dismember_limb && (affecting.body_zone != BODY_ZONE_HEAD || stat != CONSCIOUS) && affecting.dismember(I.damtype)) + if(dismember_limb && ((affecting.body_zone != BODY_ZONE_HEAD && affecting.body_zone != BODY_ZONE_CHEST) || stat != CONSCIOUS) && affecting.dismember(I.damtype)) I.add_mob_blood(src) playsound(get_turf(src), I.get_dismember_sound(), 80, 1) diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index 724bad4282158..f8d36d9109a9d 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -1825,7 +1825,7 @@ GLOBAL_LIST_EMPTY(features_by_species) dismember_limb = TRUE //You can only cut a limb off if it is already damaged enough to be fully disabled - if(dismember_limb && (affecting.body_zone != BODY_ZONE_HEAD || H.stat != CONSCIOUS) && affecting.dismember(I.damtype)) + if(dismember_limb && ((affecting.body_zone != BODY_ZONE_HEAD && affecting.body_zone != BODY_ZONE_CHEST) || H.stat != CONSCIOUS) && affecting.dismember(I.damtype)) I.add_mob_blood(H) playsound(get_turf(H), I.get_dismember_sound(), 80, 1)