From 82302274f16ffa419bd4f8a8572f4be3732610ca Mon Sep 17 00:00:00 2001 From: AndroBetel <44546836+AndroBetel@users.noreply.github.com> Date: Tue, 20 Aug 2024 15:30:10 +0300 Subject: [PATCH] vomitboys --- code/modules/mob/living/carbon/human/human.dm | 1 + code/modules/reagents/chemistry_reagents/other.dm | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 350bcec3e8..8784061827 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -978,6 +978,7 @@ nutrition -= 40 apply_damage(-3, TOX) addtimer(VARSET_CALLBACK(src, lastpuke, FALSE), 35 SECONDS) + reagents.remove_any(rand(15, 30)) /mob/living/carbon/human/proc/get_visible_gender() if(wear_suit && wear_suit.flags_inv_hide & HIDEJUMPSUIT && ((head && head.flags_inv_hide & HIDEMASK) || wear_mask)) diff --git a/code/modules/reagents/chemistry_reagents/other.dm b/code/modules/reagents/chemistry_reagents/other.dm index 9b9f41ece0..557e977929 100644 --- a/code/modules/reagents/chemistry_reagents/other.dm +++ b/code/modules/reagents/chemistry_reagents/other.dm @@ -132,6 +132,12 @@ if(M.fire_stacks <= 0) M.ExtinguishMob() +/datum/reagent/water/on_mob_life(mob/living/M) + . = ..() + if(ishuman(M) && volume >= 100 && prob(25)) + var/mob/living/carbon/human/human = M + human.vomit() + /datum/reagent/water/holywater name = "Holy Water" id = "holywater"