From fc1bd6c8cc7758f879dd8bb3a653b196c6722ed4 Mon Sep 17 00:00:00 2001 From: Iamgoofball Date: Mon, 15 Jan 2018 21:55:47 -0800 Subject: [PATCH] Super Surplus Crate Idea stolen from leddit :cl: Iamgoofball, Anuvkh from Reddit experimental: Super Surplus Crates are now available for 40 TC. They come with 125TC of shit. Have fun with teamwork! /:cl: --- code/modules/uplink/uplink_items.dm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/modules/uplink/uplink_items.dm b/code/modules/uplink/uplink_items.dm index 0fd455a8697..54514689cbd 100644 --- a/code/modules/uplink/uplink_items.dm +++ b/code/modules/uplink/uplink_items.dm @@ -1347,11 +1347,20 @@ GLOBAL_LIST_EMPTY(uplink_items) // Global list so we only initialize this once. player_minimum = 25 exclude_modes = list(/datum/game_mode/nuclear) cant_discount = TRUE + var/starting_crate_value = 50 + +/datum/uplink_item/badass/surplus/super + name = "Super Surplus Crate" + desc = "A dusty SUPER-SIZED from the back of the Syndicate warehouse. Rumored to contain a valuable assortment of items, \ + but you never know. Contents are sorted to always be worth 125 TC." + cost = 40 + player_minimum = 40 + starting_crate_value = 125 /datum/uplink_item/badass/surplus/purchase(mob/user, datum/component/uplink/U) var/list/uplink_items = get_uplink_items(SSticker && SSticker.mode? SSticker.mode : null, FALSE) - var/crate_value = 50 + var/crate_value = starting_crate_value var/obj/structure/closet/crate/C = spawn_item(/obj/structure/closet/crate, user) if(U.purchase_log) U.purchase_log.LogPurchase(C, src, cost)