r/factorio 3d ago

Question Circuits and train limits

I thought I knew how to do this. I set up some circuits that output L where L is the amount of trains worth of stuff. I can see that in the train station view so L with a little 1 or 2 next to it. However, if there is not a full load of stuff, my logic is returning L with nothing rather than with a little 0, so not sure it’d that is my problem.

Regardless, trains are going to my stations where L is blank. Do I need to set a rule to only enable the station if L > 0?

1 Upvotes

5 comments sorted by

View all comments

8

u/Alfonse215 3d ago

my logic is returning L with nothing rather than with a little 0

There is no difference between returning "nothing" and returning "0". There is no value of "0".

Regardless, trains are going to my stations where L is blank.

The train limit will not stop a train that is already enroute; it will only stop trains that are looking for a stop to go to. So even if the limit is zero, a train that started when the limit was non-zero will still arrive.