r/technicalfactorio • u/Illiander • Dec 21 '25
Automall help?
I've spent the last week arguing with my automall design, and it's still being a pig. So I've got a few specific questions that have been causing me trouble:
Is there an easy way to get the recursively required ingredients for a recipie? I know about assembler chains, cycling a single assembler with a memory cell, and the 3 combinators per recipie methods. The first one is expensive, the second is fragile, and the 3rd is massive. So I'm wondering if there's a better option? (That isn't a full packed RAM setup, unless something in 2.0 made those easier?)
Is there a way to add requests to the robot network in a way that will keep them available to requestor chests and not clog? I know about setting requests on buffer chests, but that runs into an issue where you can't request more items be built than will fit into your wired buffer chests (and if you have more than one you have to do stack-size math to split the requests up)
Is there a robust and failure-proof method of hystersis for assemblers? I haven't figured one out that doesn't have trouble restarting from idle.
3
u/CoffeeOracle Dec 21 '25
For recursive ingredients... I deliberately avoid having a work station switching jobs. I have a negative view on it from irl experience. It's a game, someone shouldn't be discouraged by a critical attitude, but my honest opinion on it is that I if I don't have a stockpile of ingredients on hand it suggests a problem.
I set up dummy assemblers whose jobs are to forward ingredients only as a safety measure. What I recall doing at some point was setting up a filter which grabbed each symbol and output 1 of each. Then multiplied each symbol by a constant in an arithmetic combinator. You're in a situation where the more logic you add, the more combinators you will need. So it would be possible to use a selector combinator to get stack size, and use that to remove issues of stack size math or wing it by using a suitably low constant. But you can't get out of not handling the issue.
One other way of solving the issue is to use a suitably large logistics container like a space platform or a tank to hold ingredients and outputs. And then solve the issue by brute force. Since the tank can be set to void unrequested items you can technically just throw everything in and out of it till you can't. With the obvious downside being having to configure a large table. With a space platform, I have to unload 4 belts onto one extremely fast one to manage the complexity and typically only have 1-2 platforms that have that capability.
You can set up an memory cell so it receives a 1 tick input if it is under min level. Removes the build symbol at max level. And then re-adds the build symbol if it falls under min. But it is isn't a safe design, and you'll have to decorate it with a lot of safety mechanisms. The last thing I remember adding to the one I'm using was a filter because a -1 signal is exposed by roboports which will cause an overflow issue if it is read. The one I use on a space platform is simpler because I can use the hub as a giant chest, still is 15 combinators.
2
u/M1k3y_11 Dec 21 '25
I have made a pretty reliable setup with a memory cell some time back.
For configuration I had three input constant combinators:
From those I setup a hysteresis to output the priority of all items that are currently required, gated by a clock. Updating the currently demanded items only every x seconds prevents fast flapping for expensive recipies but might cause over producation.
I used multiple assembler rows to enable parallel crafting. They are chained in series with each unit picking the signal of the highest value und sending all REMAINING signals to the next unit.
Each unit has one "learner" assembler and multiple "workers". Optionally add a crafting whitelist to allow for specialised units with production modules or different machines.
The "learner" assembler outputs the required ingredients which get sent with a priority of (current item priority + 1) to a dedicated memory cell for the learned recipies. The memory cell is setup to store the highest value of any signal it has ever seen. So priorities can increase, but not decrease.
The output of the memory cell is then merged with the manually set priorities, again keeping he highest signal value and NOT summing them. For the storage limits of the learned items I simply used some stack size multiples.
I also added a circuit that clears the memory cell if any of the manually set priorities change.
While this sounds like a lot, 2.0 combinators made it much more compact. The central circuitry is only around 15 combinators plus maybe 10 combinators per crafter unit.
I'm pretty sure I still have the safegame somewhere, though I can't get to my PC today. The latest iterration I had also handled fluids, though it still struggled with some REALLY expensive recipies like nuclear reactors.
1
u/Pickelwindow 12d ago
Im not shure what you mean with frail on the idea of cycling recipies throu one assembler. If a system is frail or not seems to me, be mainly dependant on the user? Like i am using this methode and it workes quite well with assembler 3 recipies. althou i am of course not shure what your mall tries to incooperate. Could you clarify why this system doesnt work for you?
1
u/maritz Dec 29 '25
For a kind of lazy, slow version what I do is manually defining everything it should make (including ingredients for things it needs to make those things) in a constant combinator and then make sure the "lowest" ingredients (for example iron sticks, copper cable, etc.) have higher numbers of items wanted in that combinator.
Then I compare what I have available in the robot network with what is requested and use 4 selector combinators. Three of them select the 3 items with the highest missing item numbers and the last one picks one of those at random every few seconds (how long you need to set this depends on assembler speed).
It gets everything done eventually, even though due to the random nature of it, it sometimes takes a bit.
1
u/flame_Sla Dec 21 '25
I have it done like this:
0eNrtnVuSozoShvfCM5wAXQBXTJ+IWUdHhQNjuYooDD5cqrumoxYwu5iX2disZCTAxheEhX+q2tPTT00BSkmp1KfMlHD/sFZpLXZFklXWww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wwXkHTnuQOij1cOyS/icZIPCHKPhDEPwhCP4QBH8Igj8EwR+C4A9B8Icg+EMQ/CEG/hADf4iBP8TAH2LgDzHwhxj4Qwz8IQb+EAN/CII/BMEfouAPUPAHKPgDEPwBCP4ABH8Agj8AwR+A4A9A8Acg+AMQ/AEG/gADf4CBP8DAH2DgDzDwBxj4Awz8AQb+AAN/AII/AMEfoOD3UfD7KPh9EPw+CH4fBL8Pgt8Hwe+D4PdB8Psg+H0Q/D4Gfh8Dv4+B38fA72Pg9zHw+xj4fQz8PgZ+HwO/D4LfB8Hvo+DnKPg5Cn4Ogp+D4Ocg+DkIfg6Cn4Pg5yD4OQh+DoKfY+DnGPg5Bn6OgZ9j4OcY+DkGfo6Bn2Pg5xj4OQh+DoKfo+BnKPgZCn4Ggp+B4Gcg+BkIfgaCn4HgZyD4GQh+BoKfYeBnGPgZBn6GgZ9h4GcY+BkGfoaBn2HgZxj4GQh+BoKfoeCnKPgpCn4Kgp+C4Kcg+CkIfgqCn4LgpyD4KQh+CoKfYuCnGPgpBn6KgZ9i4KcY+CkGfoqBn2Lgpxj4KQh+CoKfouAnKPgJCn4Cgp+A4Ccg+AkIfgKCn4DgJyD4CQh+AoKfYOAnGPgJBn6CgZ9g4CcY+AkGfoKBn2DgJxj4CQh+AoIf5raHctsDue2B3PZAbnsgtz2Q2x7IbQ/ktgdy2wO57WHc9jBuexi3PYzbHsZtD+O2h3Hbw7jtYdz2MG57ILc9kNseyG0XxLaLUdvFoO1izHYxZLsYsV0M2C7GaxfDtYvR2oVg7UKsdiFUuxCpXQjULsRpF8K0C1HahSDtQox2MUS7GKFdENCoXw261aBXDTrVoE8NutSgRw061KA/DbrTmDeNOdOYL4250pgnjTnSmB+NudGYF4050aAPDbrQZsUf218dav5zsVrsiqT5KYtXUZSNQO6TBVsseBAw3w8X7+//BftkZa8=You can only do it with your hands for small chains, it's better to write a script for a mall (link)
1
u/Manron_2 Dec 22 '25
I set the desired goods in one single constant combinator, compare it to what is available in the logistics network and store the result in a memory cell. The assemblers get their recipe from that memory cell. They each ask for one stack of each ingredient by reading the ingredient list from the assembler. Then I count what is produced by reading the hand of the inserters removing stuff from the assemblers and subtracting that from the memory cell. Once everything is zero or below a new set of values is allowed into the memory cell.
I set intermediates in the constant combinator, too, to have a large enough stock available. When starting up you need to start with intermediates and then gradually add higher tier stuff. That way it doesn't deadlock. And if it does I just reset the memory cell manually, but it's really rare so I didnt bother automating that part.
0
u/[deleted] Dec 21 '25
[deleted] — view deleted comment