Exoplanet ruins, away sites, overmap submaps and maploader goodies. (#12933)

This commit is contained in:
Matt Atlas
2022-02-18 15:34:10 +01:00
committed by GitHub
parent 0b5ba4f9da
commit f3be650719
42 changed files with 898 additions and 114 deletions
+7 -1
View File
@@ -6,13 +6,19 @@
It is clearly a mystery."
var/spawn_weight = 1
var/cost = null
var/spawn_cost = 0
var/player_cost = 0
var/list/sectors = list() //This ruin can only spawn in the sectors in this list.
var/prefix = null
var/suffix = null
template_flags = 0 // No duplicates by default
// !! 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 (suffix)
mappath += (prefix + suffix)