Another 'set recipe' setup

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.
brucemalt
Burner Inserter
Burner Inserter
Posts: 11
Joined: Thu Dec 12, 2024 4:28 pm
Contact:

Another 'set recipe' setup

Post by brucemalt »

Hi everyone!

I wanted to do something with 'set recipe' and to make production even more automated. The key reason being that the easiest way to set up a new planet is not to fetch things, but to make them in space. At least the basic material, but it applies to more than that I suppose. I was tired of switching the production by hand anyway.

What makes 'set recipe' a bit difficult to use is that naive sorting will fluctuate and if you also want to set requests, those are necessarily on the same signal as the input, but you don't want the product to be in the requests.

So this setup does the following:

Set the target product and number in the constant combinator(first green)
The right side of the circuit compares and sorts and gives the production target(first red)
This is sent to the green loop (second green) in the center
While the amount you have (second red) is less than your target(first green), the target (third red) is used to keep a loop alive.
When that is no longer the case, the lower center disables the (second green) loop, that allows the top center to accept a new product.
The top left decider filters production target and the ingredients, to make sure that none of the ingredients end up in the (second green) loop.
And then finally there is a multiplier for the ingredients.

Suggestions on how to improve are welcome!


Attachments
Factorio_target_factory.jpg
Factorio_target_factory.jpg (735.68 KiB) Viewed 200 times
Post Reply

Return to “Combinator Creations”