Page 1 of 1

How to Forward Signals of True OR Conditions?

Posted: Thu Oct 24, 2024 10:57 am
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 346 times

Re: How to Forward Signals of True OR Conditions?

Posted: Thu Oct 24, 2024 12:57 pm
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).

Re: How to Forward Signals of True OR Conditions?

Posted: Fri Oct 25, 2024 8:50 am
by HelloWorld
Thank you!
I will try this.