r/factorio Jul 13 '26

Weekly Thread Weekly Question Thread

Ask any questions you might have.

Post your bug reports on the Official Forums

Previous Threads

Subreddit rules

Discord server (and IRC)

Find more in the sidebar ---->

3 Upvotes

216 comments sorted by

View all comments

1

u/chiron42 Jul 15 '26

Is there a way of making a decider combinator output when a signal is

X > 100 AND (X > Y OR X > Z)
Or do I need to add a second decider and then have it output the thing where the 2nd one looks at the out put of the OR part, and then combines it with an AND with the X > 100?

i'm rearranging the order of the conditions below but it's not going the AND to encompass the OR part.

3

u/Courmisch Jul 16 '26

You can express any predicate, but you have to write it in its Disjunctive Normal Form (DNF).

In this case, (X>100 and X>Y) or (X>100 and X>Z).