Disabled station signal?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
neetzow
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jan 03, 2015 4:40 pm
Contact:

Disabled station signal?

Post by neetzow »

I want to make a circuit network do some stuff, but I need to know if a given train station is disabled (not empty) or not. Is there a way to have a signal for disabled station transmitted to a circuit network somehow?
robot256
Smart Inserter
Smart Inserter
Posts: 1225
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Disabled station signal?

Post by robot256 »

Yes, this is possible.

1. If the stop uses the "disable" circuit condition, replicate the same comparison in a decider combinator to see when it is disabled by circuit.
2. If the stop has a train limit set, have the stop output the number of trains inbound and check if it is >= to the limit (either the constant limit or the signal setting the limit).
3. If either of the above two conditions are true, then the stop is disabled.
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
neetzow
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jan 03, 2015 4:40 pm
Contact:

Re: Disabled station signal?

Post by neetzow »

Thank you very much! That's so easy but somehow I couldn't think of it.


To the forum moderators: If there's a "close topic option", I don't know how to do it, but I consider the above answer sufficient.
Post Reply

Return to “Gameplay Help”