/tg/ Station 13 - Modules - TypesVar Details

ruin

Vars

allow_duplicatesIf TRUE, this ruin can be placed multiple times in the same map
always_placeWill skip the whole weighting process and just plop this down, ideally you want the ruins of this kind to have no cost.
always_spawn_withThese ruin types will be spawned along with it (where dependent on the flag) eg list(/datum/map_template/ruin/space/teleporter_space = SPACERUIN_Z)
costCost in ruin budget placement system
mineral_costCost 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_withIf this ruin is spawned these will not eg list(/datum/map_template/ruin/base_alternate)
placement_weightHow often should this ruin appear
prefixStatic part of the ruin path eg "_maps\RandomRuins\LavaRuins"
ruin_typeWhat flavor or ruin is this? eg ZTRAIT_SPACE_RUINS
suffixThe dynamic part of the ruin path eg "lavaland_surface_ruinfile.dmm"
unpickableIf 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

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"

unpickable

If TRUE these won't be placed automatically (can still be forced or loaded with another ruin)