mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Adds cult,clockworck and massdelete generators to buildmode
This commit is contained in:
@@ -17,6 +17,17 @@
|
||||
T.air.copy_from_turf(T)
|
||||
SSair.add_to_active(T)
|
||||
|
||||
/datum/mapGeneratorModule/bottomLayer/massdelete
|
||||
spawnableAtoms = list()
|
||||
spawnableTurfs = list()
|
||||
|
||||
/datum/mapGeneratorModule/bottomLayer/massdelete/generate()
|
||||
if(!mother)
|
||||
return
|
||||
for(var/V in mother.map)
|
||||
var/turf/T = V
|
||||
T.empty()
|
||||
|
||||
//Only places atoms/turfs on area borders
|
||||
/datum/mapGeneratorModule/border
|
||||
clusterCheckFlags = CLUSTER_CHECK_NONE
|
||||
@@ -37,4 +48,7 @@
|
||||
return 0
|
||||
|
||||
/datum/mapGenerator/repressurize
|
||||
modules = list(/datum/mapGeneratorModule/bottomLayer/repressurize)
|
||||
modules = list(/datum/mapGeneratorModule/bottomLayer/repressurize)
|
||||
|
||||
/datum/mapGenerator/massdelete
|
||||
modules = list(/datum/mapGeneratorModule/bottomLayer/massdelete)
|
||||
31
code/modules/procedural_mapping/mapGenerators/cult.dm
Normal file
31
code/modules/procedural_mapping/mapGenerators/cult.dm
Normal file
@@ -0,0 +1,31 @@
|
||||
/datum/mapGeneratorModule/bottomLayer/cultFloor
|
||||
spawnableTurfs = list(/turf/open/floor/engine/cult = 100)
|
||||
|
||||
/datum/mapGeneratorModule/border/cultWalls
|
||||
spawnableTurfs = list(/turf/closed/wall/mineral/cult = 100)
|
||||
|
||||
|
||||
/datum/mapGeneratorModule/bottomLayer/clockFloor
|
||||
spawnableTurfs = list(/turf/open/floor/clockwork = 100)
|
||||
|
||||
/datum/mapGeneratorModule/border/clockWalls
|
||||
spawnableTurfs = list(/turf/closed/wall/clockwork = 100)
|
||||
|
||||
|
||||
/datum/mapGenerator/cult //walls and floor only
|
||||
modules = list(/datum/mapGeneratorModule/bottomLayer/cultFloor, \
|
||||
/datum/mapGeneratorModule/border/cultWalls, \
|
||||
/datum/mapGeneratorModule/bottomLayer/repressurize)
|
||||
|
||||
/datum/mapGenerator/clock //walls and floor only
|
||||
modules = list(/datum/mapGeneratorModule/bottomLayer/clockFloor, \
|
||||
/datum/mapGeneratorModule/border/clockWalls, \
|
||||
/datum/mapGeneratorModule/bottomLayer/repressurize)
|
||||
|
||||
/datum/mapGenerator/cult/floor //floors only
|
||||
modules = list(/datum/mapGeneratorModule/bottomLayer/cultFloor, \
|
||||
/datum/mapGeneratorModule/bottomLayer/repressurize)
|
||||
|
||||
/datum/mapGenerator/clock/floor //floor only
|
||||
modules = list(/datum/mapGeneratorModule/bottomLayer/clockFloor, \
|
||||
/datum/mapGeneratorModule/bottomLayer/repressurize)
|
||||
Reference in New Issue
Block a user