showers wake you up (#21530)

This commit is contained in:
Contrabang
2023-07-07 08:26:50 -04:00
committed by GitHub
parent e212ca48ed
commit fdb17a83de
@@ -237,6 +237,9 @@
/mob/living/water_act(volume, temperature, source, method = REAGENT_TOUCH)
. = ..()
adjust_fire_stacks(-(volume * 0.2))
if(method == REAGENT_TOUCH)
// 100 volume - 20 seconds of lost sleep
AdjustSleeping(-(volume * 0.2 SECONDS), bound_lower = 1 SECONDS) // showers cannot save you from sleeping gas, 1 second lower boundary
//This is called when the mob is thrown into a dense turf
/mob/living/proc/turf_collision(turf/T, speed)