Update 008 - The start of AISo after working of the basics of the economy last week, giving ports their own value for resources and allowing the to create and destroy resources making a pseudo-random economy that fluctuates, this week I've been working on putting together a prototype of an NPC that will create competing trade routes and aims to maximise it's profits.
The current implementation involved re-writing the way that trade routes are created so as to devolve it enabling multiple players to create trade routes simultaneously without corrupting each other, I then created the basics of a Behaviour Tree to instruct the NPC to periodically create a new trade route between two random port.
Next week i'll hopefully be able to get the NPC to evaluate and pick ones that will benefit it most instead of just being random.