[READY] Refactors wet floors to a component (#36130)
* Wet Floor components * No more turf wet slide.
This commit is contained in:
committed by
CitadelStationBot
parent
13709a7d34
commit
f78fea7333
@@ -21,10 +21,10 @@
|
||||
GET_COMPONENT(chasm_component, /datum/component/chasm)
|
||||
chasm_component.drop(AM)
|
||||
|
||||
/turf/open/chasm/MakeSlippery(wet_setting = TURF_WET_WATER, min_wet_time = 0, wet_time_to_add = 0)
|
||||
/turf/open/chasm/MakeSlippery()
|
||||
return
|
||||
|
||||
/turf/open/chasm/MakeDry(wet_setting = TURF_WET_WATER)
|
||||
/turf/open/chasm/MakeDry()
|
||||
return
|
||||
|
||||
/turf/open/chasm/get_smooth_underlay_icon(mutable_appearance/underlay_appearance, turf/asking_turf, adjacency_dir)
|
||||
|
||||
@@ -33,10 +33,10 @@
|
||||
/turf/open/floor/plating/asteroid/burn_tile()
|
||||
return
|
||||
|
||||
/turf/open/floor/plating/asteroid/MakeSlippery(wet_setting = TURF_WET_WATER, min_wet_time = 0, wet_time_to_add = 0)
|
||||
/turf/open/floor/plating/asteroid/MakeSlippery()
|
||||
return
|
||||
|
||||
/turf/open/floor/plating/asteroid/MakeDry(wet_setting = TURF_WET_WATER)
|
||||
/turf/open/floor/plating/asteroid/MakeDry()
|
||||
return
|
||||
|
||||
/turf/open/floor/plating/asteroid/attackby(obj/item/W, mob/user, params)
|
||||
|
||||
@@ -143,22 +143,15 @@
|
||||
planetary_atmos = TRUE
|
||||
baseturfs = /turf/open/floor/plating/ice
|
||||
slowdown = 1
|
||||
wet = TURF_WET_PERMAFROST
|
||||
attachment_holes = FALSE
|
||||
|
||||
/turf/open/floor/plating/ice/Initialize()
|
||||
. = ..()
|
||||
UpdateSlip()
|
||||
MakeSlippery(TURF_WET_PERMAFROST, INFINITY, 0, INFINITY, TRUE)
|
||||
|
||||
/turf/open/floor/plating/ice/try_replace_tile(obj/item/stack/tile/T, mob/user, params)
|
||||
return
|
||||
|
||||
/turf/open/floor/plating/ice/HandleWet()
|
||||
if(wet == TURF_WET_ICE)
|
||||
return
|
||||
..()
|
||||
MakeSlippery(TURF_WET_ICE) //rewet after ..() clears out lube/ice etc.
|
||||
|
||||
/turf/open/floor/plating/ice/smooth
|
||||
icon_state = "smooth"
|
||||
smooth = SMOOTH_MORE | SMOOTH_BORDER
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
/turf/open/lava/ex_act(severity, target)
|
||||
contents_explosion(severity, target)
|
||||
|
||||
/turf/open/lava/MakeSlippery(wet_setting = TURF_WET_WATER, min_wet_time = 0, wet_time_to_add = 0)
|
||||
/turf/open/lava/MakeSlippery()
|
||||
return
|
||||
|
||||
/turf/open/lava/MakeDry(wet_setting = TURF_WET_WATER)
|
||||
|
||||
@@ -7,10 +7,7 @@
|
||||
initial_gas_mix = LAVALAND_DEFAULT_ATMOS
|
||||
planetary_atmos = TRUE
|
||||
slowdown = 1
|
||||
wet = TURF_WET_WATER
|
||||
|
||||
/turf/open/water/HandleWet()
|
||||
if(wet == TURF_WET_WATER)
|
||||
return
|
||||
..()
|
||||
MakeSlippery(TURF_WET_WATER) //rewet after ..() clears out lube/ice etc.
|
||||
/turf/open/water/Initialize()
|
||||
. = ..()
|
||||
MakeSlippery(TURF_WET_WATER, INFINITY, 0, INFINITY, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user