EACH operator in Decider only evaluates part of the signals

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
nbird
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Sep 25, 2020 10:01 am
Contact:

EACH operator in Decider only evaluates part of the signals

Post by nbird »

Hi everyone,
I am a bit confused on how the EACH operator works in an Decider.

I wanted to filter out Light Oil from a signal list, so I did a simple circuit, but for some reason also other signals which are not Light Oil are also filterted out.
Does EACH stops evaluating if the condition is once false?

In this Screenshot you see many signals pass the Decider, but e.g. Gates or Repair Packs do not.
Can someone help me out why this is happening?
EACH in a Decider to Blacklist Light Oil
EACH in a Decider to Blacklist Light Oil
grafik.png (352.86 KiB) Viewed 331 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4012
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: EACH operator in Decider only evaluates part of the signals

Post by boskid »

Decider combinator works on values of signals, in this case it sees condition "Each != 10". Barrel on the right side of comparison is just a carrier of the value "10". This condition fails for all substitute signals that have value of 10.
nbird
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Sep 25, 2020 10:01 am
Contact:

Re: EACH operator in Decider only evaluates part of the signals

Post by nbird »

boskid wrote: Tue Apr 01, 2025 8:13 pm Decider combinator works on values of signals, in this case it sees condition "Each != 10". Barrel on the right side of comparison is just a carrier of the value "10". This condition fails for all substitute signals that have value of 10.
Thank you! I missed that part
Post Reply

Return to “Gameplay Help”