• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Planned Feature Rework Cargo Quest Logic

Pieter Boelen

Navigation Officer
Administrator
Storm Modder
Hearts of Oak Donator
As per Fix in Progress - Crash from Cargo Quest: Martinho Guterres in Sao Jorge | Page 2 | PiratesAhoy!:

It appears that the whole Cargo Quest generation system basically makes NO SENSE!
It looks for a nation first, then a commodity and then a town.
It does this completely independently from each other, so that there does not necessarily need to be any logical link between these variables.

Of course the CORRECT way would be to:
1. Check all available towns (taking into account nation relations and avoiding towns on the current island)
2. Choose one at random
3. Return the nation from that
4. Find a regular/import good for that town

I also saw some code from 2005 that basically suggested this stuff was being modded, with a hack in place, because someone else was going to update it.
That never happened, since that comment is still there 10 years later.
 
Back
Top