Merge pull request #12086 from AnturK/loneop

Nukeop Outfits,Uplink gamemode override, Lone Operative event.
This commit is contained in:
Remie Richards
2015-10-13 23:02:51 +01:00
7 changed files with 179 additions and 36 deletions
+4 -2
View File
@@ -19,6 +19,8 @@ var/list/world_uplinks = list()
var/uplink_owner = null//text-only
var/used_TC = 0
var/mode_override = null
/obj/item/device/uplink/New()
..()
world_uplinks+=src
@@ -36,7 +38,7 @@ var/list/world_uplinks = list()
dat += "<B>Request item:</B><BR>"
dat += "<I>Each item costs a number of tele-crystals as indicated by the number following their name.</I><br><BR>"
var/list/buyable_items = get_uplink_items()
var/list/buyable_items = get_uplink_items(mode_override)
// Loop through categories
var/index = 0
@@ -100,7 +102,7 @@ var/list/world_uplinks = list()
var/category = split[1]
var/number = text2num(split[2])
var/list/buyable_items = get_uplink_items()
var/list/buyable_items = get_uplink_items(mode_override)
var/list/uplink = buyable_items[category]
if(uplink && uplink.len >= number)