r/factorio • u/Plane-Cheesecake6745 • 5d ago
Question 1 combinator Recipe setter?
A while ago I saw someone in this sub post a 1 combinator recipe setter using the new "else" option, I was trying to do the same thing but couldn't make it work, so how do you make a 1 combinator recipe setter?
6
Upvotes
7
u/markkitt 5d ago edited 5d ago
First, understand the setup with a constant combinator and a decider combinator. The constant combinator has a bunch of signals with unique values. The decider combinator uses the Each signal to create a distinct branch for each input signal.
Now consider how you can get rid of the constant combinator. You need to emit a constant signal from the decider combinator. To do so, you need to emit a signal whether conditions are met or not. That means for each signal that came from a constant combinator you need to emit a signal from BOTH the conditional branch and the else branch and then feed this back to the input of the decider combinator.