ATMOS Resin removes iciness from floors (#29967)

* atmos resin now makes the floor non-slippery, increased the turf coverage of resin by one unit

* Atmos resin removes wetness on floor tiles upon generation
This commit is contained in:
Ergovisavi
2017-08-21 19:30:23 -07:00
committed by oranges
parent edd746f567
commit 9fb70f22d8
3 changed files with 8 additions and 1 deletions

View File

@@ -271,6 +271,7 @@
. = ..() . = ..()
if(isopenturf(loc)) if(isopenturf(loc))
var/turf/open/O = loc var/turf/open/O = loc
O.ClearWet()
if(O.air) if(O.air)
var/datum/gas_mixture/G = O.air var/datum/gas_mixture/G = O.air
G.temperature = 293.15 G.temperature = 293.15

View File

@@ -324,7 +324,7 @@
/obj/effect/resin_container/proc/Smoke() /obj/effect/resin_container/proc/Smoke()
var/obj/effect/particle_effect/foam/metal/resin/S = new /obj/effect/particle_effect/foam/metal/resin(get_turf(loc)) var/obj/effect/particle_effect/foam/metal/resin/S = new /obj/effect/particle_effect/foam/metal/resin(get_turf(loc))
S.amount = 3 S.amount = 4
playsound(src,'sound/effects/bamf.ogg',100,1) playsound(src,'sound/effects/bamf.ogg',100,1)
qdel(src) qdel(src)

View File

@@ -299,3 +299,9 @@
wet_time = 0 wet_time = 0
if(wet) if(wet)
addtimer(CALLBACK(src, .proc/HandleWet), 15, TIMER_UNIQUE) addtimer(CALLBACK(src, .proc/HandleWet), 15, TIMER_UNIQUE)
/turf/open/proc/ClearWet()//Nuclear option of immediately removing slipperyness from the tile instead of the natural drying over time
wet = TURF_DRY
UpdateSlip()
if(wet_overlay)
cut_overlay(wet_overlay)