mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
27 lines
970 B
Plaintext
27 lines
970 B
Plaintext
/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/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)
|
|
|
|
..()
|