From 3c1c251fd36de883b417dc12df0ae543b9a97d17 Mon Sep 17 00:00:00 2001 From: AzuleUtama <44248086+AzuleUtama@users.noreply.github.com> Date: Fri, 23 Nov 2018 23:01:12 +0000 Subject: [PATCH] discount gear now can't be picked in surplus crates --- code/datums/uplink_item.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/datums/uplink_item.dm b/code/datums/uplink_item.dm index 8c800af488a..03a36cee7ac 100644 --- a/code/datums/uplink_item.dm +++ b/code/datums/uplink_item.dm @@ -48,6 +48,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item)) A.job = null // If you get a job specific item selected, actually lets you buy it in the discount section A.reference = "DIS[newreference]" A.desc += " Limit of [A.limited_stock] per uplink. Normally costs [initial(A.cost)] TC." + A.surplus = 0 // stops the surplus crate potentially giving out a bit too much A.item = I.item newreference++