TL;DR
A mode for the selector combinator that flattens quality.What?
Add a selector combinator mode called Quality Overwrite or similar which:Has a target quality selector, [Common, Uncommon, Rare, Epic, Legendary], with Common selected by default.
Converts all input X[Any] to X[Target]. So if you had 20 Common Iron Plate and 2 Uncommon Iron Plate, you'd get an output signal of 22 Common Iron Plate by default.
Why?
With labs now able to set research, I'd like to be able to set the research based on the count of bottles of science I have without regard to their quality. Currently the method to do this is somewhat cumbersome, where you need to detect if you have any common X science, any uncommon X science, any rare X science, any epic X science, or any legendary X science and then output that to a common X science signal, and need one combinator per science to translate this.There's other places that some interesting behavior is opened up by being able to quickly sum all items of any quality:
- If you have a lot of ice but very little common ice, switch your ice melting plants to quality recipes.
- If you have a lot of quality concrete (all concrete - common concrete), play an alert to remind the player to pave the surface some more.

