Circutry for dynamic quality crafting
Posted: Tue Oct 14, 2025 6:16 am
- Assembling machine and recycler both have quality modules.
- Assembling machine set to "Set recipe".
- Requester chest set to "Read contents" and requests material for crafting common artillery.
- Decider set to send signal "uncommon artillery" (value 2) when input signal shows enough uncommon material to do one craft.
- Constant combinator set to send signal "artillery (value 1).
- Selector set to pass through highest signal.
- Inserter I1 has no filter.
- Inserter I2 whitelist only common artillery.
- Inserter I3 has no filter.
- Inserter I4 has no filter.
- Inserter I5 blacklists all artillery (this one is not necessary, it just takes some workload of the logibots when the recipe is changed).
This setup works until enough material for an uncommon craft has built up. At that point, the recipe is changed to uncommon artillery as I want it to, but as soon as I3 starts to pull out uncommon materials from the requester chest, the condition in the decider is no longer true and the recipe switches back to common artillery. And so, the setup is stuck in a loop of switching recipes and never again crafting anything.
So, I'm guessing I need to add on some kind of latch or timer to keep the recipe signal on for long enough to start a craft before allowing a recipe change again? How would I do that?