From 53df96252f977ee51795d2eec985f1a9c980682c Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Sun, 22 Dec 2024 15:33:24 -0700 Subject: [PATCH] [MIRROR] hides death messages in protected areas when dying in a belly (#9681) Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> --- code/modules/mob/living/carbon/human/death.dm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/human/death.dm b/code/modules/mob/living/carbon/human/death.dm index 613d776357..4d9e886f23 100644 --- a/code/modules/mob/living/carbon/human/death.dm +++ b/code/modules/mob/living/carbon/human/death.dm @@ -90,10 +90,12 @@ // CHOMPEdit End if(mind) - // SSgame_master.adjust_danger(gibbed ? 40 : 20) // VOREStation Edit - We don't use SSgame_master yet. - for(var/mob/observer/dead/O in mob_list) - if(O.client?.prefs?.read_preference(/datum/preference/toggle/show_dsay)) - to_chat(O, span_deadsay(span_bold("[src]") + " has died in " + span_bold("[get_area(src)]") + ". [ghost_follow_link(src, O)] ")) + var/area/A = get_area(src) + if(!(A?.flag_check(AREA_BLOCK_SUIT_SENSORS)) && isbelly(loc)) + // SSgame_master.adjust_danger(gibbed ? 40 : 20) // VOREStation Edit - We don't use SSgame_master yet. + for(var/mob/observer/dead/O in mob_list) + if(O.client?.prefs?.read_preference(/datum/preference/toggle/show_dsay)) + to_chat(O, span_deadsay(span_bold("[src]") + " has died in " + span_bold("[get_area(src)]") + ". [ghost_follow_link(src, O)] ")) /* // CHOMPEdit Start: Replacing this with our own death sounds. :3 if(!gibbed && species.death_sound)