Decider combinator OR logic incorrect in presence of "Each"

Things that has been reported already before.
cylarc
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Oct 23, 2024 5:20 pm
Contact:

Decider combinator OR logic incorrect in presence of "Each"

Post by cylarc »

When using a decider combinator, if I add a condition for "Each" signal, the OR logic is no longer followed. Even though the first condition is True, it stops outputting the signal.
11-13-2024, 17-23-34.png
11-13-2024, 17-23-34.png (106.14 KiB) Viewed 308 times
11-13-2024, 17-23-52.png
11-13-2024, 17-23-52.png (99.39 KiB) Viewed 308 times
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [BUG] Decider combinator OR logic incorrect in presence of "Each"

Post by robot256 »

Duplicate of 119467

Not a bug. Selecting "Each" anywhere in the conditions or output switches the combinator to vector mode. A separate instance of the whole combinator is run on every nonzero input signal. If no inputs are nonzero, then no combinator instances are executed at all.
MechBFP
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Sun Nov 03, 2024 4:02 am
Contact:

Re: [BUG] Decider combinator OR logic incorrect in presence of "Each"

Post by MechBFP »

Basically you shouldn’t try to combine each with other types like everything and anything. They should be in their own combinators and then the resulting signal can be passed to a second combinator instead where you can use anything or everything.

Keep in mind that using each ONLY as an input works differently than when it is both an input and the output.
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [BUG] Decider combinator OR logic incorrect in presence of "Each"

Post by robot256 »

You can do some pretty powerful things now with vectorized multi-conditional statements. You just have to know that's what you're doing. The current in-game text does not explain this properly.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3456
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [BUG] Decider combinator OR logic incorrect in presence of "Each"

Post by boskid »

Duplicate of 119467 and 119917
Post Reply

Return to “Duplicates”