8 Months Ago
Cargo ship now docks at both harbors Cargo ship no longer decides it's target harbor on spawn, every time it hits a patrol waypoint it checks if that waypoint is a harbor approach point for a harbor it hasn't visited yet Egress time is now only started once all docking is complete, takes the lifetime of the cargo ship into account with a minimum two minute buffer after docking is completed (eg. event time is set to 10 minutes but it take 12 minutes to travel and dock at both harbors - ship will patrol for an additional 2 minutes after leaving the harbor before starting it's egress) Lots of refactors, rolled a bunch of lists into a single list with a new HarborInfo containing all the relevant information