Working on trains, I have found that circuit conditions checking that a signal is not present do not work if the train stop the train is at does not have a circuit connection.
This is somewhat of a problem as I am trying to set up a 'refuel' interrupt where specific train stops can inhibit that interrupt from firing if those stops have complex circuit logic attached to them.
This is the interrupt in my petri-dish world I have been testing with. The '2' is not significant.
Save file is attached. Incidentally you notice that the one "Goto B and D" interrupt gets cancelled by the "Goto C" interrupt instead of interrupted, which would be a real problem if the train was trying to pick cargo up at B and drop it off at D... This is (slightly improperly) documented in another bug report here that didn't get a response yet, and it appears to still be relevant to 2.1.21
[2.0.21] Train interrupt circuit condition checking for non-presence of signal needs wired train stop
[2.0.21] Train interrupt circuit condition checking for non-presence of signal needs wired train stop
- Attachments
-
- PetriDish.zip
- (1.35 MiB) Downloaded 4 times
Re: [2.1.21] Train interrupt circuit condition checking for non-presence of signal needs wired train stop
It's way simpler, no train stop circuit condition is true without the stop having a circuit connection. This behavior was the same in 1.1.
Re: [2.0.21] Train interrupt circuit condition checking for non-presence of signal needs wired train stop
I would counter that having interrupts that sometimes can and sometimes cannot function when they are checking that a signal is zero (or in this case "not 2") is in no way simpler to try and manage from a conceptual and maintenance point of view. As well, there is no "no circuit connection" trigger that could be used in an alternative clause to achieve equivalent functionality.
Re: [2.0.21] Train interrupt circuit condition checking for non-presence of signal needs wired train stop
The "no circuit connection" trigger could be useful, but you can also use the At specified station / Not at specified station conditions if you know which stations have the circuit.Sukasa wrote: ↑Sat Nov 30, 2024 11:18 pm I would counter that having interrupts that sometimes can and sometimes cannot function when they are checking that a signal is zero (or in this case "not 2") is in no way simpler to try and manage from a conceptual and maintenance point of view. As well, there is no "no circuit connection" trigger that could be used in an alternative clause to achieve equivalent functionality.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Re: [2.0.21] Train interrupt circuit condition checking for non-presence of signal needs wired train stop
That only works if you know the stations ahead of time, but if you're designing a blueprint book that's, unfortunately, not necessarily an available option