From 57d88779b3bb38fec177bbd31e920a20d55d4464 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 29 Sep 2021 23:03:39 +0200 Subject: [PATCH] [MIRROR] Fixes god awful drink: Thirteen loko. [MDB IGNORE] (#8488) * Fixes god awful drink: Thirteen loko. (#61396) Uhh, the funny word return didn't work, so I used the funny word true. This was causing people to fall asleep repeatedly near repeatedly on ingestion of this mess. Fixes #61140 * Fixes god awful drink: Thirteen loko. Co-authored-by: carshalash --- code/modules/reagents/chemistry/reagents/alcohol_reagents.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/chemistry/reagents/alcohol_reagents.dm b/code/modules/reagents/chemistry/reagents/alcohol_reagents.dm index c682542a858..4472e1fccea 100644 --- a/code/modules/reagents/chemistry/reagents/alcohol_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/alcohol_reagents.dm @@ -230,12 +230,13 @@ All effects don't start immediately, but rather get worse over time; the rate is chemical_flags = REAGENT_CAN_BE_SYNTHESIZED /datum/reagent/consumable/ethanol/thirteenloko/on_mob_life(mob/living/carbon/M, delta_time, times_fired) - M.drowsyness = max(M.drowsyness - (7 * REM * delta_time)) + M.drowsyness = max(M.drowsyness - (7 * REM * delta_time), 0) M.AdjustSleeping(-40 * REM * delta_time) M.adjust_bodytemperature(-5 * REM * TEMPERATURE_DAMAGE_COEFFICIENT * delta_time, M.get_body_temp_normal()) if(!HAS_TRAIT(M, TRAIT_ALCOHOL_TOLERANCE)) M.Jitter(5) - return ..() + ..() + return TRUE /datum/reagent/consumable/ethanol/thirteenloko/overdose_start(mob/living/M) to_chat(M, span_userdanger("Your entire body violently jitters as you start to feel queasy. You really shouldn't have drank all of that [name]!"))