Train wagon loading algo issue with T2 wagons

Fixed
Balinth [github] · 7 months ago

Issue description

Train longer than station fails to find optimal solution for filling all wagons.

Side note: the goal of the station design in the save file, is to expand the "All stations empty / full" arrival conditions to effectively "Station can take the full load" even if there are fewer stations than cars, so we can make more compact stations.

Side note 2: the weird wagons-loco-wagons-loco-wagons distribution is to game the gamey push penalty rules for bidirectional trains.

Reproduction steps

  1. Load attached save.
  2. Observe the train leaving the loading station with partial load while there are still station modules full of water to be loaded.

Game version and build number

v0.8.2a b552

Operating system

Windows

Attachments

Train loading algo bug repro.save

1 attachment only for registered users

Closed as ✅ Fixed

7 Showing 1–2 of 2