[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 <carshalash@gmail.com>
This commit is contained in:
SkyratBot
2021-09-29 22:03:39 +01:00
committed by GitHub
co-authored by carshalash
parent 15f3961b8d
commit 57d88779b3
@@ -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]!"))