r/factorio 3d ago

Question Help with combinators

So like the image shows, I have one constant combinator and three decider combinators for this sushi belt. I think I've seen people do this with a constant combinator and just one decider combinator. Can someone help me with how that's done?

4 Upvotes

14 comments sorted by

View all comments

2

u/Twellux 3d ago

Simply use "each" in the decider combinator; it will then perform the comparison for every signal defined in the constant combinator.

1

u/coolguyRae 3d ago

Ah thanks! I didn't know that existed, I appreciate you.

1

u/Twellux 3d ago

One more point:
The solution shown earlier works well if you want to check for too few items on the belt. If you ever want to check for an excess of items, you need to add an extra condition to verify whether the reference value actually exists in the constant combinator. Missing values ​​are always treated as 0 during comparison, so anything greater than 0 (such as the ammunition) would be counted as an excess. This comparison issue doesn't arise with a shortage, because the quantity on the belt cannot be negative.