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.
How to Forward Signals of True OR Conditions?
-
- Manual Inserter
- Posts: 4
- Joined: Thu Oct 24, 2024 10:47 am
- Contact:
Re: How to Forward Signals of True OR Conditions?
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).
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.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
-
- Manual Inserter
- Posts: 4
- Joined: Thu Oct 24, 2024 10:47 am
- Contact:
Re: How to Forward Signals of True OR Conditions?
Thank you!
I will try this.
I will try this.