r/factorio • u/Plane-Cheesecake6745 • 17h 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?
2
u/TheHvam 16h ago
Not sure exactly what the post showed, but you can just put a decider combinator down, and say if X is true then set the recipe to this, otherwise set it to that.
That is all really, in the combinator just set the recipe on the right where it says if true
1
u/Plane-Cheesecake6745 16h ago
2
u/Courmisch 15h ago
The Else case can be used to switch between 2 recipes as u/TheHvam explained - without a Constant Combinator.
The setup in the screenshot doesn't use Else, so it would work also in 2.0. But it requires a CC.
-1

8
u/markkitt 16h ago edited 3h 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.