published on July 11, 2022 in devlog
Fabian adds finishing touches to the ship upgrade feature and Michi shares some details of the custom contract editor.
Michi (molp)
This week the work on custom contracts continued. I finished the second of the three templates that we want to have ready for the first release: sell contracts. As mentioned in one of the last devlogs, we want to start the custom contract topic by mimicking the local market contracts. A sell contract has three conditions: The first condition is the provision condition, where the seller provisions the goods to sell, so they are ready to be pickup up by the buyer. The second condition is the payment condition. Finally, the pickup condition has to be fulfilled by the buyer to pickup the commodities.
Other than with a buy contract, the conditions in the sell contract are interlinked: The type and amount of the commodity to sell has to be exactly the same in the provisioning condition as well as the pickup condition. The same goes for the address, otherwise the contract doesn't make any sense. Since the contract draft editor allows to modify the conditions it has to make sure that the provision and pickup conditions are always in sync. Changing the amount, commodity or address in one, has to change the other as well. Here is an example how this looks like in the current iteration of the editor:
Fabian (Counterpoint)
Happy to report that I finished implementing ship upgrades last week, so it'll be part of our next release! While I was at it, I also put in the ability to delete shipyard projects (if they haven't been started and no materials have been paid yet). This should help you keep your project list nice and clean! Also, concerning the new ship upgrades this will allow you to quickly check on the required materials for an upgrade (which, as mentioned before, will be the difference between two blueprints) anytime, without committing yourself to having the project in your list forever.
This week I'll look into a couple smaller tweaks and fixes. Among them the often requested ability to delete all filled CX orders in your order list with just one click!
As always: we'd love to hear what you think: join us on Discord or the forums!
Happy trading!