mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
Converted old supply_controller to SSsupply
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
/datum/gm_action/shipping_error/start()
|
||||
..()
|
||||
var/datum/supply_order/O = new /datum/supply_order()
|
||||
O.ordernum = supply_controller.ordernum
|
||||
O.object = supply_controller.supply_pack[pick(supply_controller.supply_pack)]
|
||||
O.ordernum = SSsupply.ordernum
|
||||
O.object = SSsupply.supply_pack[pick(SSsupply.supply_pack)]
|
||||
O.ordered_by = random_name(pick(MALE,FEMALE), species = "Human")
|
||||
supply_controller.shoppinglist += O
|
||||
SSsupply.shoppinglist += O
|
||||
@@ -5,7 +5,7 @@
|
||||
chaotic = 0
|
||||
reusable = TRUE
|
||||
|
||||
var/datum/controller/supply/SC
|
||||
var/datum/controller/subsystem/supply/SC
|
||||
var/running = FALSE
|
||||
var/last_run
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
/datum/gm_action/nanotrasen_budget_allocation/New()
|
||||
..()
|
||||
SC = supply_controller
|
||||
SC = SSsupply
|
||||
|
||||
/datum/gm_action/nanotrasen_budget_allocation/set_up()
|
||||
running = TRUE
|
||||
|
||||
Reference in New Issue
Block a user