The Market system has been deployed.
- Introduced new properties:
Market.credits
,Market.orders
. - Introduced new methods:
Market.createOrder
,Market.cancelOrder
,Market.getAllOrders
,Market.deal
. - Generated NPC terminals in “crossroad” neutral rooms.
- Added new global
Game.resources
property. - Added new
maxCost
option to thePathFinder.search
method. - Added new properties in the result object returned from the
PathFinder.search
method:cost
,incomplete
.
Will a created BUY_ORDER become inactive when the terminal can't fit the resources?
Lets say the capacity of a terminal is 1000, you have 800 stored, and create a buy order for 300 RESOURCE.
Will this order become inactive? (Due to the terminal not beeing able to "get" the resources)
Currently it won't. It will receive the shipment and drop it on the ground.
Is there an option to manually mark orders as "inactive" ? This way I could avoid overflowing when moving stuff around.
Not yet, but we'll consider such a feature.
Ok thanks, I'll create smaller orders for now to avoid this issue. Thanks for the quick feedback
This is fixed now. A buy order will become inactive if there is not enough space in the terminal, and it cannot be overflown by a single transaction as well.
Howly shit that was fast, thank you for this feature!
Hah that was a quick feature implementation.