Vomit fixes (#18468)

* Vomit fixes

* Guti abused span_userdanger again
This commit is contained in:
Guti
2025-09-15 23:17:27 +02:00
committed by GitHub
parent 65c76591bc
commit 6a4b17e6aa
2 changed files with 6 additions and 1 deletions
@@ -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
+5
View File
@@ -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!"))