How to Forward Signals of True OR Conditions?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
HelloWorld
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Oct 24, 2024 10:47 am
Contact:

How to Forward Signals of True OR Conditions?

Post by HelloWorld »

Hi

Is there any way to forward the signals of "true" OR conditions?

I wish to display which items are out of stock using a single decider combinator with multiple conditions.

Please see the attached image for clarification.

Thanks in advance.
Factorio Question.png
Factorio Question.png (1.39 MiB) Viewed 347 times
robot256
Smart Inserter
Smart Inserter
Posts: 1241
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: How to Forward Signals of True OR Conditions?

Post by robot256 »

This was easy to do even with old combinators, but requires the use of negative numbers and a constant combinator as well.

Set the decider with a single condition, "Each < 0", and a single output, "Each=1". Then on the input, wire your inventory contents and also a constant combinator with -1 of each item you want restocked. You can have it restock at higher levels with bigger negative numbers (like ammo=-100 to restock when 99 or fewer are left).
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.
HelloWorld
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Oct 24, 2024 10:47 am
Contact:

Re: How to Forward Signals of True OR Conditions?

Post by HelloWorld »

Thank you!
I will try this.
Post Reply

Return to “Gameplay Help”