/datum/map_template/ruin //name = "A Chest of Doubloons" name = null var/description = "In the middle of a clearing in the rockface, there's a chest filled with gold coins with Spanish engravings. \ How is there a wooden container filled with 18th century coinage in the middle of a lavawracked hellscape? \ It is clearly a mystery." var/spawn_weight = 1 var/spawn_cost = 0 var/player_cost = 0 var/ship_cost = 0 var/list/sectors = list() //This ruin can only spawn in the sectors in this list. var/prefix = null var/list/suffixes = null template_flags = TEMPLATE_FLAG_NO_RUINS // Don't let ruins spawn on top of ruins // !! Currently only implemented for away sites var/list/force_ruins // Listed ruins are always spawned unless disallowed by flags. var/list/allow_ruins // Listed ruins are added to the set of available spawns. var/list/ban_ruins // Listed ruins are removed from the set of available spawns. Beats allowed. /datum/map_template/ruin/New() if (suffixes) mappaths = list() for (var/suffix in suffixes) mappaths += (prefix + suffix) sectors = flatten_list(sectors) ..()