Provides more control over uplink surplus chances. (#36983)

Cant wait for the epic balance prs that people will fight in
This commit is contained in:
Grandmother of 50
2018-04-11 05:16:32 -05:00
committed by CitadelStationBot
parent 4063781baf
commit 43e0079981
2 changed files with 7 additions and 2 deletions
+1 -2
View File
@@ -159,8 +159,7 @@
var/category = pick(uplink_items)
var/item = pick(uplink_items[category])
var/datum/uplink_item/I = uplink_items[category][item]
if(!I.surplus || prob(100 - I.surplus))
if(!I.surplus_nullcrates || prob(100 - I.surplus_nullcrates))
continue
if(crate_value < I.cost)
continue