mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-27 01:51:50 +00:00
* Ruin placement will try very hard to place all 0-cost ruins before placing any ruins with actual costs * comment * account for ruin variants properly please * cost has a cost of 5 * tweak
22 lines
740 B
Plaintext
22 lines
740 B
Plaintext
/datum/map_template/ruin
|
|
//name = "A Chest of Doubloons"
|
|
name = null
|
|
var/id = null // For blacklisting purposes, all ruins need an id
|
|
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/cost = null //negative numbers will always be placed, with lower (negative) numbers being placed first; positive and 0 numbers will be placed randomly
|
|
var/allow_duplicates = TRUE
|
|
|
|
var/prefix = null
|
|
var/suffix = null
|
|
|
|
/datum/map_template/ruin/New()
|
|
if(!name && id)
|
|
name = id
|
|
|
|
mappath = prefix + suffix
|
|
..(path = mappath)
|
|
|