Issue description
So, I have a train network with 6 trains. (3 have unit wagons and 3 have loose wagons.)
I have 2 waiting bays right next to each other. Each can fit 3 trains. One of these is set to allow unit wagons only, and one to allow loose wagons only. Why? Because if I don't add these restrictions, the trains get mixed, and one type of wagon blocks the other and can't be properly dispatched when they are needed.
The problem: If 2 trains with the same wagon type are waiting at their dedicated waiting bay, the 3rd train with the same wagon type displays a "cannot reach destination" message despite there being an extra available and unreserved space behind these 2 trains. My guess is that it tries to pathfind to the other waiting bay since the network has 2. It seems that it doesn't like being the 3rd train in line if the other waiting bay is empty (despite that waiting bay being for other wagon type only).
I hope it makes sense.
Reproduction steps
- Have multiple trains of different wagon types in a network.
- Create dedicated waiting bays for each type by applying pathfinding restrictions.
- If one of the two waiting bays happens to be empty, the train with the wrong wagon type will try to force its way there instead of pathing to its dedicated waiting bay, getting stuck.
The solution is to create different networks for each type of wagon, but this defeats the simplicity that networks try to provide.
Game version and build number
0.8.8d
Which branch of the game are you on?
Stable
Operating system
Windows