mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Shower tweak
Showers no longer will apply water whenever check_heat is called, and will now attempt to wash you while you remain under them during their process() call (33% chance per process per mob)
This commit is contained in:
@@ -470,13 +470,16 @@
|
||||
qdel(E)
|
||||
|
||||
/obj/machinery/shower/process()
|
||||
if(!on || !mobpresent) return
|
||||
if(!on || !mobpresent)
|
||||
return
|
||||
for(var/mob/living/carbon/C in loc)
|
||||
if(prob(33))
|
||||
wash(C) //re-applies water and re-cleans mob while they remain under the shower, 33% chance per process to avoid message spam/quick death
|
||||
check_heat(C)
|
||||
|
||||
/obj/machinery/shower/proc/check_heat(mob/M as mob)
|
||||
M.water_act(100, convertHeat(), src) //convenience
|
||||
if(!on || watertemp == "normal") return
|
||||
if(!on || watertemp == "normal")
|
||||
return
|
||||
if(iscarbon(M))
|
||||
var/mob/living/carbon/C = M
|
||||
|
||||
|
||||
Reference in New Issue
Block a user