|
|
@ -1087,7 +1087,8 @@ function create_orders(order, 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?
|
|
|
|
new_order.is_validated = 0
|
|
|
|
new_order.status.validated = false
|
|
|
|
|
|
|
|
new_order.status.active = true
|
|
|
|
df.global.world.manager_orders:insert('#', new_order)
|
|
|
|
df.global.world.manager_orders:insert('#', new_order)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|