mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2025-12-09 20:43:35 +00:00
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
/turf/simulated/floor/outdoors
|
|
name = "generic ground"
|
|
desc = "Rather boring."
|
|
icon = 'icons/turf/outdoors.dmi'
|
|
icon_state = null
|
|
edge_blending_priority = 1
|
|
outdoors = TRUE // This variable is used for weather effects.
|
|
can_dirty = FALSE // Looks hideous with dirt on it.
|
|
can_build_into_floor = TRUE
|
|
baseturfs = /turf/simulated/floor/outdoors/rocks
|
|
|
|
/turf/simulated/floor/outdoors/mud
|
|
name = "mud"
|
|
icon_state = "mud_dark"
|
|
|
|
/turf/simulated/floor/outdoors/rocks
|
|
name = "rocks"
|
|
desc = "Hard as a rock."
|
|
icon_state = "rock"
|
|
baseturfs = /turf/baseturf_bottom
|
|
|
|
/turf/simulated/floor/outdoors/rocks/caves
|
|
outdoors = FALSE
|
|
|
|
// Called by weather processes, and maybe technomancers in the future.
|
|
/turf/simulated/floor/proc/chill()
|
|
return
|
|
|
|
/turf/simulated/floor/outdoors/chill()
|
|
PlaceOnTop(/turf/simulated/floor/outdoors/snow, flags = CHANGETURF_PRESERVE_OUTDOORS|CHANGETURF_INHERIT_AIR)
|
|
|
|
/turf/simulated/floor/outdoors/snow/chill()
|
|
return // Todo: Add heavy snow.
|
|
|
|
/turf/simulated/floor/outdoors/ex_act(severity)
|
|
switch(severity)
|
|
// Outdoor turfs are less explosion resistant
|
|
if(1)
|
|
ScrapeAway(flags = CHANGETURF_INHERIT_AIR|CHANGETURF_PRESERVE_OUTDOORS)
|
|
if(2)
|
|
if(prob(66))
|
|
ScrapeAway(flags = CHANGETURF_INHERIT_AIR|CHANGETURF_PRESERVE_OUTDOORS)
|
|
if(3)
|
|
if(prob(15))
|
|
ScrapeAway(flags = CHANGETURF_INHERIT_AIR|CHANGETURF_PRESERVE_OUTDOORS)
|