icy floors

This commit is contained in:
Fox McCloud
2019-04-13 04:44:25 -04:00
parent 6334114f8c
commit 964bf03697
2 changed files with 19 additions and 6 deletions
@@ -342,7 +342,11 @@
if(method == TOUCH)
M.ExtinguishMob()
/datum/reagent/cryostylane/reaction_turf(turf/T, volume)
/datum/reagent/cryostylane/reaction_turf(turf/simulated/T, volume)
if(!istype(T))
return
if(volume >= 3)
T.MakeSlippery(TURF_WET_ICE)
if(volume >= 5)
for(var/mob/living/carbon/slime/M in T)
M.adjustToxLoss(rand(15,30))