Very basic train circuit condition question
Posted: Sun Jan 31, 2021 7:45 pm
I'm just starting to dip my toes in circuit network stuff and I have a very basic question about train circuit wait conditions. I'm working on the train for my uranium outpost and I have it setup where it has a fluid wagon that tops off the outpost with sulfuric acid and cargo wagons that pick up the uranium ore. I ran into the issue where I can't use the "Full cargo" and "Empty cargo" conditions because we're emptying the acid where we're filling the ore and vice versa. So far I've been using the "inactivity" conditions instead and this works okay but is a little flaky, I think because whenever a tiny amount of sulfuric acid is pumped out periodically it trips the activity timer. I want to change it to use a circuit condition based on the uranium ore count.
The first thing I tried was just setting the train at the uranium drop-off station to the condition "uranium ore = 0." That didn't do anything, which I suppose makes sense because the train stop reports that it's not connected to any circuit networks. So I got it to work by just connecting the stop to an arithmetic combinator that adds zero to the uranium count and outputs that back to the train stop (which have to be on different colored wires to avoid a feedback loop, which tripped me up initially). This works but it feels like overkill and kind of silly to connect the stop to itself. From searching around I couldn't find anyone talking about this which makes me think I'm missing something basic. I kind of expected the circuit condition to "just work" on the train cargo without me having to connect anything.
The first thing I tried was just setting the train at the uranium drop-off station to the condition "uranium ore = 0." That didn't do anything, which I suppose makes sense because the train stop reports that it's not connected to any circuit networks. So I got it to work by just connecting the stop to an arithmetic combinator that adds zero to the uranium count and outputs that back to the train stop (which have to be on different colored wires to avoid a feedback loop, which tripped me up initially). This works but it feels like overkill and kind of silly to connect the stop to itself. From searching around I couldn't find anyone talking about this which makes me think I'm missing something basic. I kind of expected the circuit condition to "just work" on the train cargo without me having to connect anything.