branchrust_reboot/main/cargo_double_dockcancel

6 Commits over 0 Days - ∞cph!

3 Months Ago
Fixed cargo ship not remembering which harbor it was docking at if the server was saved mid-dock
3 Months Ago
Merge from main
3 Months Ago
Fix loot crates on the cargo ship getting picked up by the building check and being destroyed immediately on spawning (didn't affect code locked crates) Cargo ship will no longer destroy entities parented to it as part of the building check
3 Months Ago
Cleanup
3 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
3 Months Ago
WIP making cargo dock at both harbors