Merge pull request #1777 from Citadel-Station-13/upstream-merge-28564

[MIRROR] Shuttle engines affecting travel time
This commit is contained in:
LetterJay
2017-06-26 09:00:54 -05:00
committed by GitHub
10 changed files with 209 additions and 20 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"