Shuttle engines affecting travel time

This commit is contained in:
CitadelStationBot
2017-06-25 20:53:00 -05:00
parent 4293607509
commit 1a38b6fd6f
9 changed files with 203 additions and 19 deletions
+10
View File
@@ -21,6 +21,10 @@
mappath = "[prefix][shuttle_id].dmm"
. = ..()
//Whatever special stuff you want
/datum/map_template/shuttle/proc/on_bought()
return
/datum/map_template/shuttle/emergency
port_id = "emergency"
name = "Base Shuttle Template (Emergency)"
@@ -49,6 +53,12 @@
// first 10 minutes only
return world.time - SSticker.round_start_time < 6000
/datum/map_template/shuttle/emergency/airless/on_bought()
//enable buying engines from cargo
var/datum/supply_pack/P = SSshuttle.supply_packs[/datum/supply_pack/engineering/shuttle_engine]
P.special_enabled = TRUE
/datum/map_template/shuttle/emergency/asteroid
suffix = "asteroid"
name = "Asteroid Station Emergency Shuttle"