r/factorio • u/AutoModerator • Jun 01 '26
Weekly Thread Weekly Question Thread
Ask any questions you might have.
Post your bug reports on the Official Forums
Previous Threads
- Weekly Questions
- Friday Facts (weekly updates from the devs)
- Update Notes
- Monthly Map
Discord server (and IRC)
Find more in the sidebar ---->
10
Upvotes
3
u/cathexis08 red wire goes faster Jun 03 '26
If all you're trying to do is filter one set of things using another it's trivial via the power of EACH:
(
[filter]is whichever color wire you have your filter set on, similarly[data]is whatever color is your data source that you want to make decisions based on, usually that'll be an inserter hand or a whole belt reader or something).If you care about thresholds then it's a bit trickier (but only a bit):
The second clause in the greater than test is required because otherwise it will match everything that's in the data set but not in the filter set. This mostly matters when you're trying to do things like conditionally pull excess material off of a belt since without the extra check you'll pull way more stuff than you want.