[MIRROR] Adds some customization to ruin loader (#5289)

* Adds some customization to ruin loader

* Update maps.dm
This commit is contained in:
CitadelStationBot
2018-02-05 02:33:20 -06:00
committed by Poojawa
parent 5385333a64
commit b0fb541b8c
4 changed files with 130 additions and 89 deletions
+6 -1
View File
@@ -6,8 +6,13 @@
How is there a wooden container filled with 18th century coinage in the middle of a lavawracked hellscape? \
It is clearly a mystery."
var/cost = null //negative numbers will always be placed, with lower (negative) numbers being placed first; positive and 0 numbers will be placed randomly
var/unpickable = FALSE //If TRUE these won't be placed automatically (can still be forced or loaded with another ruin)
var/always_place = FALSE //Will skip the whole weighting process and just plop this down, ideally you want the ruins of this kind to have no cost.
var/placement_weight = 1 //How often should this ruin appear
var/cost = 0 //Cost in ruin budget placement system
var/allow_duplicates = TRUE
var/list/always_spawn_with = null //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)
var/list/never_spawn_with = null //If this ruin is spawned these will not eg list(/datum/map_template/ruin/base_alternate)
var/prefix = null
var/suffix = null
+1 -1
View File
@@ -120,7 +120,7 @@
id = "hierophant"
description = "A strange, square chunk of metal of massive size. Inside awaits only death and many, many squares."
suffix = "lavaland_surface_hierophant.dmm"
cost = -1
always_place = TRUE
allow_duplicates = FALSE
/datum/map_template/ruin/lavaland/blood_drunk_miner