Is there a way to turn on a lamp when a station is open or closed?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
mvee81
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Aug 03, 2022 1:21 am
Contact:

Is there a way to turn on a lamp when a station is open or closed?

Post by mvee81 »

I'd rather like to hook up a colored lamp to a station to see at a glance if the station is enabled vs going to map view or hovering over, but cant figure out how to do that. Is it possible? I've only seen lamps if a train is present, but I'm more focused on the status of the station. Thank you
robot256
Smart Inserter
Smart Inserter
Posts: 1219
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Is there a way to turn on a lamp when a station is open or closed?

Post by robot256 »

You can't "read" the state of the station. But you can copy the same wires and circuit condition from the station to the lamp so that they always match. Or use a decider combinator to output a different color signal to the lamp when the station condition is true.
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.
wobbycarly
Filter Inserter
Filter Inserter
Posts: 288
Joined: Tue Jan 29, 2019 4:00 am
Contact:

Re: Is there a way to turn on a lamp when a station is open or closed?

Post by wobbycarly »

If I understood, I think you may want something like this:

If the station has 1 or more trains allocated, or stopped at it, it will light up the light.
mvee81
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Aug 03, 2022 1:21 am
Contact:

Re: Is there a way to turn on a lamp when a station is open or closed?

Post by mvee81 »

Thank you, I'll try this out!
Post Reply

Return to “Gameplay Help”