Avatar code working

This commit is contained in:
Warior4356
2017-03-20 17:34:40 -07:00
parent 6e4f027e50
commit ef9ad52706
9 changed files with 288 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
/datum/map_template/vr
//name = "A Chest of Doubloons"
name = null
var/id = null // For blacklisting purposes, all vr levels 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
var/allow_duplicates = TRUE //A bit boring, don't you think? You can always explicitly allow it on a ruin definition
var/prefix = null
var/suffix = null
/datum/map_template/vr/New()
if(!name && id)
name = id
mappath = prefix + suffix
..(path = mappath)
+12
View File
@@ -0,0 +1,12 @@
//The bigger ones lag like hell if there is more than one on a z-level, so cost 2 for them
/datum/map_template/vr/level
prefix = "_maps/map_files/templates/vr/"
cost = 1
/datum/map_template/vr/level/lobby
id = "lobby"
suffix = "lobby.dmm"
name = "Biological Storage Facility"
description = "This is the lobby. The hub for all things VR."
cost = 2