mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
Multi-Z level away site support, real-time map template loading. (#15460)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
var/list/sectors = list() //This ruin can only spawn in the sectors in this list.
|
||||
|
||||
var/prefix = null
|
||||
var/suffix = 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
|
||||
@@ -21,7 +21,9 @@
|
||||
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)
|
||||
if (suffixes)
|
||||
mappaths = list()
|
||||
for (var/suffix in suffixes)
|
||||
mappaths += (prefix + suffix)
|
||||
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user