|
|
@ -1094,6 +1094,7 @@ end
|
|
|
|
-- Place a new copy of the order onto the manager's queue.
|
|
|
|
-- Place a new copy of the order onto the manager's queue.
|
|
|
|
function create_orders(order, amount)
|
|
|
|
function create_orders(order, amount)
|
|
|
|
local new_order = order:new()
|
|
|
|
local new_order = order:new()
|
|
|
|
|
|
|
|
amount = math.floor(amount)
|
|
|
|
new_order.amount_left = amount
|
|
|
|
new_order.amount_left = amount
|
|
|
|
new_order.amount_total = amount
|
|
|
|
new_order.amount_total = amount
|
|
|
|
-- Todo: Create in a validated state if the fortress is small enough?
|
|
|
|
-- Todo: Create in a validated state if the fortress is small enough?
|
|
|
|