mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Merge pull request #42293 from coiax/fix-42269
Fixes ghosts and camera mobs feeling cold showers
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
wash_obj(A)
|
||||
else if(isturf(A))
|
||||
wash_turf(A)
|
||||
else if(ismob(A))
|
||||
else if(isliving(A))
|
||||
wash_mob(A)
|
||||
check_heat(A)
|
||||
|
||||
@@ -219,12 +219,12 @@
|
||||
if(current_temperature == SHOWER_FREEZING)
|
||||
if(iscarbon(L))
|
||||
C.adjust_bodytemperature(-80, 80)
|
||||
to_chat(L, "<span class='warning'>The shower is freezing!</span>")
|
||||
to_chat(L, "<span class='warning'>[src] is freezing!</span>")
|
||||
else if(current_temperature == SHOWER_BOILING)
|
||||
if(iscarbon(L))
|
||||
C.adjust_bodytemperature(35, 0, 500)
|
||||
L.adjustFireLoss(5)
|
||||
to_chat(L, "<span class='danger'>The shower is searing!</span>")
|
||||
to_chat(L, "<span class='danger'>[src] is searing!</span>")
|
||||
|
||||
/obj/machinery/shower/proc/check_clothes(mob/living/carbon/human/H)
|
||||
if(H.wear_suit && (H.wear_suit.clothing_flags & SHOWEROKAY))
|
||||
|
||||
Reference in New Issue
Block a user