[1.1.57] Train says "both stops inaccessible" when one stop is inaccessible and one is full
Posted: Fri Apr 29, 2022 2:45 pm
See attached screenshot. Probably this is a minor or won't fix, but I thought it was interesting.
Steps to reproduce:
1. Create a loop of track and place a train on it.
2. Place a train stop on the loop and set its trains limit to 0.
3. Place a disconnected segment of train and place a second train stop on it.
4. Name this second train stop the same as the first, and set the trains limit to 1.
5. Schedule the train to go to the train stop on the loop.
6. Train will reserve the inaccessible stop and say "No path". This is good and should not be changed! I have a plan to use this status in a scheduling mod.
7. In the train schedule, the tooltip for the schedule entry says "Both stops are inaccessible from current position." This inaccurate, because only the reserved stop is inaccessible. I suggest it should instead be "Reserved stop is inaccessible from current position."
Note that if the accessible stop then becomes available, the train remains in the "No path" state towards the inaccessible stop, rather than repathing to the accessible stop. You can trigger the repath by disabling and reenabling the now-available accessible stop. An argument could be made for triggering the repath of the stuck "No path" train when train limit changes on an alternate destination (I understand it is important to not repath trains that are already moving towards their reserved stations). I do not have any opinion on whether this should be changed.. (I wasn't able to reproduce this behavior, and will submit a separate report if I do.)
Steps to reproduce:
1. Create a loop of track and place a train on it.
2. Place a train stop on the loop and set its trains limit to 0.
3. Place a disconnected segment of train and place a second train stop on it.
4. Name this second train stop the same as the first, and set the trains limit to 1.
5. Schedule the train to go to the train stop on the loop.
6. Train will reserve the inaccessible stop and say "No path". This is good and should not be changed! I have a plan to use this status in a scheduling mod.
7. In the train schedule, the tooltip for the schedule entry says "Both stops are inaccessible from current position." This inaccurate, because only the reserved stop is inaccessible. I suggest it should instead be "Reserved stop is inaccessible from current position."