From 4c5a326e2fa6e63865ffd45bf8f3e21c746ece17 Mon Sep 17 00:00:00 2001 From: DGamerL <108773801+DGamerL@users.noreply.github.com> Date: Sun, 24 Nov 2024 20:54:00 +0100 Subject: [PATCH] Makes triple citrus tick on life instead of ingest (#27418) * Makes triple citrus tick on life instead of ingest * Slightly lower chance --- .../reagents/chemistry/reagents/drinks_reagents.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/modules/reagents/chemistry/reagents/drinks_reagents.dm b/code/modules/reagents/chemistry/reagents/drinks_reagents.dm index 1371a3bf522..c4060c3a187 100644 --- a/code/modules/reagents/chemistry/reagents/drinks_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/drinks_reagents.dm @@ -102,9 +102,11 @@ drink_desc = "As colorful and healthy as it is delicious." taste_description = "citrus juice" -/datum/reagent/consumable/drink/triple_citrus/reaction_mob(mob/living/M, method=REAGENT_TOUCH, volume) - if(method == REAGENT_INGEST) - M.adjustToxLoss(-rand(1,2)) +/datum/reagent/consumable/drink/triple_citrus/on_mob_life(mob/living/M) + var/update_flags = STATUS_UPDATE_NONE + if(prob(15)) + update_flags |= M.adjustToxLoss(-rand(1, 2), FALSE) + return ..() | update_flags /datum/reagent/consumable/drink/berryjuice name = "Berry Juice"