cibikle / LaSSI

LaSSI (the Last Starship Save Inspector) is a free, open source, cross-platform, fan-made tool for inspecting and editing save files for "The Last Starship" by Introversion Software (https://www.introversion.co.uk/introversion/). Cross-platform UI made possible by Eto (https://github.com/picoe/Eto)
GNU Affero General Public License v3.0
4 stars 3 forks source link

Trade update #61

Closed cibikle closed 9 months ago

cibikle commented 9 months ago

Trade has been updated to eliminate the OurStock/TheirStock paradigm. It's now Trade>TradingPost(system id, trade possible)>Stock (presumably just the store's). This is actually great news because it completely eliminates issue #54.

cibikle commented 9 months ago

OK, this is going to be a way bigger problem than I realized. TradingPost>Stock replaces OurStock/TheirStock in every system. We can't just put out what we get in from the SystemArchives. It all needs to be translated into the new paradigm. The game will handle translating the old paradigm to the new. Just need to make sure what comes in is what goes out.

cibikle commented 9 months ago

TradingPost.Stock is now properly a ListBuilder. Tested changing both a Stock and TheirStock node; both seem to work fine.

cibikle commented 9 months ago

Need to change Layer.Deliveries.Trade to a ListBuilder.

cibikle commented 9 months ago

Done and tests OK.