From 6a4b17e6aa1333dd4c70b371b7b80bbdfc6b0a4d Mon Sep 17 00:00:00 2001 From: Guti <32563288+TheCaramelion@users.noreply.github.com> Date: Mon, 15 Sep 2025 23:17:27 +0200 Subject: [PATCH] Vomit fixes (#18468) * Vomit fixes * Guti abused span_userdanger again --- code/modules/mob/living/carbon/human/human_defense.dm | 2 +- code/modules/mob/living/living.dm | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index fbfe5123504..e727b1553e6 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -691,7 +691,7 @@ emp_act if(!check_has_mouth()) return TRUE - if((isobj(head) && head.body_parts_covered & FACE) || isobj(wear_mask) || (isobj(wear_suit) && wear_suit.body_parts_covered & FACE)) + if((isobj(head) && head.body_parts_covered & FACE) || isobj(wear_mask) && wear_mask.body_parts_covered & FACE|| (isobj(wear_suit) && wear_suit.body_parts_covered & FACE)) return TRUE return FALSE diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index 7e8a10d93f3..cc42a910af5 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -1016,6 +1016,11 @@ else puke_bucket.reagents.add_reagent(REAGENT_ID_TOXIN, rand(3, 6)) distance = 0 + else if(isbelly(loc)) + var/obj/belly/belly = loc + if(message) + to_chat(src, span_bolddanger("You throw up inside [belly.owner]'s [belly]!")) + distance = 0 else if(message) visible_message(span_danger("[src] throws up!"), span_userdanger("You throw up!"))