Page 1 of 1

Rare signals filter

Posted: Sat Aug 01, 2026 7:38 pm
by nk27sss
Signals as quality filters. Allow item quality (rarity) to be selected using signals.

Re: Rare signals filter

Posted: Sun Aug 09, 2026 11:19 am
by rbtcollins
I wanted exactly this today :< It seems like an obvious extension to the 'set filters' feature.

Re: Rare signals filter

Posted: Sun Aug 09, 2026 12:33 pm
by worph
There's an obvious issue with this. It can be solved, but you have to pick a path.

Assume an inserter receives a quality signal, let's say "rare," and an item signal, let's say "iron plates." The problem is that nothing about how signals work tells you how these two are supposed to combine, and there are a few genuinely different ways to read it:
  • Both conditions must hold — only pick up iron plates that are also rare. Probably what most people picture, but it's not the only sane reading.
  • They're independent filters — pick up all iron plates (quality signal ignored/not applicable here), or pick up anything rare regardless of type, depending on which one "wins."
And it gets messier once you allow multiple item signals and multiple quality signals at once. Say the inserter gets "iron plates + copper plates" and "rare + legendary." Do you get every combination (any rare or legendary iron or copper plate)? To the user, none of this is obvious — and worse, whichever behavior gets picked will look "wrong" to players who assumed one of the other readings.

It gets even worse when you remember that only the first five signals are evaluated by "set filters".


I never had any problem using the signals for specific items with specific qualities. What are you doing that you would need an inserter that should pick up different qualities by signal, but cannot be controlled by specific item+quality combinations (such as "rare iron ore" or "uncommon sulfur", etc.)?

Re: Rare signals filter

Posted: Wed Aug 12, 2026 3:19 pm
by sben
worph wrote: Sun Aug 09, 2026 12:33 pm There's an obvious issue with this. It can be solved, but you have to pick a path.

Assume an inserter receives a quality signal, let's say "rare," and an item signal, let's say "iron plates." The problem is that nothing about how signals work tells you how these two are supposed to combine, and there are a few genuinely different ways to read it:
  • Both conditions must hold — only pick up iron plates that are also rare. Probably what most people picture, but it's not the only sane reading.
  • They're independent filters — pick up all iron plates (quality signal ignored/not applicable here), or pick up anything rare regardless of type, depending on which one "wins."
And it gets messier once you allow multiple item signals and multiple quality signals at once. Say the inserter gets "iron plates + copper plates" and "rare + legendary." Do you get every combination (any rare or legendary iron or copper plate)? To the user, none of this is obvious — and worse, whichever behavior gets picked will look "wrong" to players who assumed one of the other readings.

It gets even worse when you remember that only the first five signals are evaluated by "set filters".


I never had any problem using the signals for specific items with specific qualities. What are you doing that you would need an inserter that should pick up different qualities by signal, but cannot be controlled by specific item+quality combinations (such as "rare iron ore" or "uncommon sulfur", etc.)?
I don't see this issue - the answer for the combination logic is clear : keep it the same way as it already works and don't change it.

"Set filters" currently applies the received signals as filters. You basically propose that "Set filters" should also alter the received signals.

Currently, if you set filters for "Rare" and "Iron plate", all items that are either rare quality or are common iron plates are matched. It should behave in the same manner if receiving these as signals over the circuit network.

Re: Rare signals filter

Posted: Fri Aug 14, 2026 9:04 pm
by macdjord
+1
Splitter filters already support this, so why shouldn't inserter filters do the same?

Re: Rare signals filter

Posted: Fri Aug 14, 2026 10:33 pm
by Terrulin
worph wrote: Sun Aug 09, 2026 12:33 pm
  • Both conditions must hold — only pick up iron plates that are also rare. Probably what most people picture, but it's not the only sane reading.
  • They're independent filters — pick up all iron plates (quality signal ignored/not applicable here), or pick up anything rare regardless of type, depending on which one "wins."
They would be independent filters. If I manually set those signals on an inserter's filters, then the same thing should happen if a circuit with those signals is attached to an inserter with set filters turned on. The problem is there doesnt appear to be a way to get a pure quality signal on the circuit network. (The unsorted signals dont count because you could make the epic signal be legendary).