Page 1 of 1

[2.0.12] 'Destination full' interrupt doesn't work when stopped at disabled target station

Posted: Thu Oct 31, 2024 4:13 am
by macdjord
So I had an idea for a system for delivering things like train fuel or artillery shells, where lots of places need it, but you're delivering less than a full car-load at a time to each destination. The system would work like this:
  • The delivery trains would have only a single stop in their schedule: the drop-off station, with a departure condition of 'Empty cargo' OR '5s Inactivity'
  • Each drop-off station would have a train limit of 1, and be disabled via circuit condition if the required amount of fuel/ammo/whatever was already present
  • The delivery trains would also have a single interrupt: if 'Empty cargo' OR 'Destination full', go to the pickup station, with a departure condition of 'Full cargo'
My expectation was that this would cause the delivery trains to travel between the drop-off stations until they either ran out of stuff to deliver (triggering the 'Empty cargo' condition) or all the drop-off stations were supplied and thus disabled (triggering the 'Destination full' condition), then go back to filling station, resupply, and then wait there until they had somewhere to deliver to again.

However, on testing, I found that, while the 'go home if empty' part worked right, the 'go home if everybody is full' part did not; if all drop-off stations were full and thus disabled, any delivery train waiting at one would just sit there permanently.

Re: [2.0.12] 'Destination full' interrupt doesn't work when stopped at disabled target station

Posted: Mon Nov 18, 2024 3:32 pm
by Loewchen