mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
[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:
@@ -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]!"))
|
||||
|
||||
Reference in New Issue
Block a user