(2.0.9) Combinator 2.0 Logic - Can't do X AND (Y OR Z).

Bugs that are actually features.
theorician
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Oct 26, 2024 2:14 am
Contact:

(2.0.9) Combinator 2.0 Logic - Can't do X AND (Y OR Z).

Post by theorician »

When selecting conditions in a decider combinator, I can add multiple conditions. I can then click the AND buttons on the left side to toggle AND/OR and to bring up the condition brackets.

However, it is not possible to group OR preferentially. I can do (X AND Y) OR Z, but not (X OR Y) AND Z.

Am I being stupid?
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3017
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: (2.0.9) Combinator 2.0 Logic - Can't do X AND (Y OR Z).

Post by boskid »

That is not a bug. It was never planned to effectively allow for parentheses. It could be condidered a suggestion.
theorician
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Oct 26, 2024 2:14 am
Contact:

Re: (2.0.9) Combinator 2.0 Logic - Can't do X AND (Y OR Z).

Post by theorician »

Hi boskid, thanks for the response. Understood :)
orzelek
Smart Inserter
Smart Inserter
Posts: 3923
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: (2.0.9) Combinator 2.0 Logic - Can't do X AND (Y OR Z).

Post by orzelek »

Ohh so it's by design that only AND merges.
I had to do (X AND Z) OR (Y AND Z) to make this work as intended.
Post Reply

Return to “Not a bug”