>>533386458
here's how I would do it:
>only 3 higher tiers instead of 4
>each one gives clean 50% bonus
(so max tier is still 2.5x)
>quality ingredients can be mixed and the lowest one is counted
>recycling always returns normal quality
>quality bonuses from modules somewhat higher
>quality % just determines the chance it goes up by 1 tier
(so 25% quality with normal ingredients will output uncommon 1/4 of the time, never anything higher. Only way to go up more than 1 tier with a recipe is to have q chance over 100%, 125% quality with normal ingredients will output uncommon 3/4 of the time and rare 1/4)
>fluids can have quality
(fluids can be mixed if they're the same fluid just different quality, you can filter them out with pumps)