Merge pull request #12836 from Qwertytoforty/cargo-stationgoal-anyoneorder

Allows station goals to be requested from the public console
This commit is contained in:
Fox McCloud
2020-04-03 18:58:14 -04:00
committed by GitHub
+1 -1
View File
@@ -425,7 +425,7 @@
var/packs_list[0]
for(var/set_name in SSshuttle.supply_packs)
var/datum/supply_packs/pack = SSshuttle.supply_packs[set_name]
if(!pack.contraband && !pack.hidden && !pack.special && pack.group == cat)
if((!pack.contraband && !pack.hidden && !pack.special && pack.group == cat) || (!pack.contraband && !pack.hidden && (pack.special && pack.special_enabled) && pack.group == cat))
// 0/1 after the pack name (set_name) is a boolean for ordering multiple crates
packs_list.Add(list(list("name" = pack.name, "amount" = pack.amount, "cost" = pack.cost, "command1" = list("doorder" = "[set_name]0"), "command2" = list("doorder" = "[set_name]1"), "command3" = list("contents" = set_name))))