ruin 
Vars | |
| allow_duplicates | If TRUE, this ruin can be placed multiple times in the same map |
|---|---|
| always_place | Will skip the whole weighting process and just plop this down, ideally you want the ruins of this kind to have no cost. |
| always_spawn_with | These ruin types will be spawned along with it (where dependent on the flag) eg list(/datum/map_template/ruin/space/teleporter_space = SPACERUIN_Z) |
| cost | Cost in ruin budget placement system |
| enclosed_for_terrain | is this ruin "enclosed" by walls. This is relevant for terrain gen with cellular automata to know whether this ruin will spawn inside of walls, or should spawn in the open. |
| mineral_cost | Cost in the ruin budget placement system associated with mineral spawning. We use a different budget for mineral sources like ore vents. For practical use see seedRuins |
| never_spawn_with | If this ruin is spawned these will not eg list(/datum/map_template/ruin/base_alternate) |
| placement_weight | How often should this ruin appear |
| prefix | Static part of the ruin path eg "_maps\RandomRuins\LavaRuins" |
| ruin_type | What flavor or ruin is this? eg ZTRAIT_SPACE_RUINS |
| suffix | The dynamic part of the ruin path eg "lavaland_surface_ruinfile.dmm" |
| terrain_padding | Padding to be used to ensure extra space around the ruin for terrain gen purposes. If a ruin is NOT enclosed and this is set to 1; there will be at least one layer of open terrain around the ruin. If a ruin IS enclosed and this is set to 1; there will be at least one layer of wall terrain around the ruin. |
| unpickable | If TRUE these won't be placed automatically (can still be forced or loaded with another ruin) |
Var Details
allow_duplicates 
If TRUE, this ruin can be placed multiple times in the same map
always_place 
Will skip the whole weighting process and just plop this down, ideally you want the ruins of this kind to have no cost.
always_spawn_with 
These ruin types will be spawned along with it (where dependent on the flag) eg list(/datum/map_template/ruin/space/teleporter_space = SPACERUIN_Z)
cost 
Cost in ruin budget placement system
enclosed_for_terrain 
is this ruin "enclosed" by walls. This is relevant for terrain gen with cellular automata to know whether this ruin will spawn inside of walls, or should spawn in the open.
mineral_cost 
Cost in the ruin budget placement system associated with mineral spawning. We use a different budget for mineral sources like ore vents. For practical use see seedRuins
never_spawn_with 
If this ruin is spawned these will not eg list(/datum/map_template/ruin/base_alternate)
placement_weight 
How often should this ruin appear
prefix 
Static part of the ruin path eg "_maps\RandomRuins\LavaRuins"
ruin_type 
What flavor or ruin is this? eg ZTRAIT_SPACE_RUINS
suffix 
The dynamic part of the ruin path eg "lavaland_surface_ruinfile.dmm"
terrain_padding 
Padding to be used to ensure extra space around the ruin for terrain gen purposes. If a ruin is NOT enclosed and this is set to 1; there will be at least one layer of open terrain around the ruin. If a ruin IS enclosed and this is set to 1; there will be at least one layer of wall terrain around the ruin.
unpickable 
If TRUE these won't be placed automatically (can still be forced or loaded with another ruin)