New combinator logic: Output any TRUE condition as 1
Posted: Sun May 03, 2026 11:16 am
Thanks to the new logic in combinators, it is possible for one combinator to have multiple conditions. In theory, this should allow one combinator to perform a function previously performed by many.
I am looking for a way to have a single combinator set filters on an inserter, where the filters are the signal type (the item) of the conditions on the combinator, not the input signals themselves.
I think I might be looking for EACH output, but that is inexplicably not an option. I have tried both EVERYTHING and ANYTHING to no avail. In fact, both of these modes do the exact opposite of what I want.
In the attached screenshot, I have one storage chest containing 100 Repair Packs. This chest is wired to the input of the combinator. This combinator's output is wired to an inserter. The inserter has "set filters" enabled.
The logic on the combinator...
Input:
If Substation < 10
OR
If Wall < 100
OR
If Repair Pack < 100
Output: ANYTHING = 1
The only input signal is Repair Pack at 100. The combinator is outputting Repair Pack at 1. I suspect this is because it is simply outputting its input signals. Switching from ANYTHING to EVERYTHING does not change this behaviour.
Desired behaviour: Output only the TRUE conditions, Substation and Wall, at 1.
Here is a blueprint string:
My questions:
Why is EACH not an option for output? I ask out of curiosity even if it is not relevant to my problem.
Would EACH output do what I want?
If not, how do I get my desired outputs with only one combinator? I know how to do this with as many combinators as desired signals, but I am sepecifically trying to avoid that: My eventual goal is forty signals, which is a lot of combinators.
I am looking for a way to have a single combinator set filters on an inserter, where the filters are the signal type (the item) of the conditions on the combinator, not the input signals themselves.
I think I might be looking for EACH output, but that is inexplicably not an option. I have tried both EVERYTHING and ANYTHING to no avail. In fact, both of these modes do the exact opposite of what I want.
In the attached screenshot, I have one storage chest containing 100 Repair Packs. This chest is wired to the input of the combinator. This combinator's output is wired to an inserter. The inserter has "set filters" enabled.
The logic on the combinator...
Input:
If Substation < 10
OR
If Wall < 100
OR
If Repair Pack < 100
Output: ANYTHING = 1
The only input signal is Repair Pack at 100. The combinator is outputting Repair Pack at 1. I suspect this is because it is simply outputting its input signals. Switching from ANYTHING to EVERYTHING does not change this behaviour.
Desired behaviour: Output only the TRUE conditions, Substation and Wall, at 1.
Here is a blueprint string:
Code: Select all
0eNp9U9FuqzAM/Rc/h6mldGuR9iVThQK4rXUhYYnTDVX8+xzYuq7l9g07Psc+x+YMZROwc2QY8jNQZY2H/O0Mng5GNzFndIuQQ40V1eiSyrYlGc3WwaCATI2fkC8HNQPxUqQPmFRH9HxVnQ47BWiYmHDqNgZ9YUJbohM69aCrgs56gVoTWwndy2rxtFbQQ568rLbSRkSws01R4lGfSCBS901UyFs9gn3MXkcyxp6c5+JeRyg967HjxC5R9Gu5iLL/B2JrMPnQTXMLeoRy2GlySaerf/cwcc0G7gLfroj7LoJP5DhI5uLeVJFo0/ORzGFi7HoxIRgu9s62BRnhg3yvG4/DbhjibDfbSC98e+05IePRMc4uYnm1iKe1tKvJYTWVZPOLqchVgcQKlImoEWJRxy6goC+xqP25NDVnlYJ3ES5DS95Y144myM102o03k8MrRPuCx9smd3JXav5+H8vdjHIfCbzcWoFGlw3WP64rkfIepMXvaLLcyba/2uOCRMWHmBof3pYqVSuV7pR8ZfKd7uSVGFsZ/ve/VnAS0nHu9XO6zbbb9SZbpItsMwxfpcVgDw==Why is EACH not an option for output? I ask out of curiosity even if it is not relevant to my problem.
Would EACH output do what I want?
If not, how do I get my desired outputs with only one combinator? I know how to do this with as many combinators as desired signals, but I am sepecifically trying to avoid that: My eventual goal is forty signals, which is a lot of combinators.