mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-25 22:17:21 +01:00
The state of maintenance is now randomly generated. This includes patches of oil, trash, spiderwebs, dirt, and so forth. Utilizes a system which makes it possible to apply custom turf initializers per area.
12 lines
236 B
Plaintext
12 lines
236 B
Plaintext
/datum/turf_initializer/proc/initialize(var/turf/T)
|
|
return
|
|
|
|
/area
|
|
var/datum/turf_initializer/turf_initializer = null
|
|
|
|
/area/initialize()
|
|
..()
|
|
if(turf_initializer)
|
|
for(var/turf/simulated/T in src)
|
|
turf_initializer.initialize(T)
|