programmable, scalable, bot auto mall (make anything machine, now with planet specific assemblers)

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.
inefficient
Inserter
Inserter
Posts: 22
Joined: Fri Jul 11, 2025 2:49 pm
Contact:

programmable, scalable, bot auto mall (make anything machine, now with planet specific assemblers)

Post by inefficient »

Hey folks,

Attached my programmable and scalable bot auto mall for the assembling machine.

08-08-2025, 13-00-41.png
08-08-2025, 13-00-41.png (1.76 MiB) Viewed 1044 times


TLDR: The mall is able to make any item that assemblers can craft and any product that contains these items. Just add what you want and wait for it to start crafting! If it gets stuck use the reset button. Dont touch the timer combinators unless you know what you are doing.

How does it work?

Fully annotated lobotomized version:
08-08-2025, 13-59-54.png
08-08-2025, 13-59-54.png (841.48 KiB) Viewed 1044 times


Rough inner workings
Whatever you put into the request combinator at the top that is part of the request module, will be analyzed and broken up into its ingredients by the product analyzer and a list of ingredients that are used throughout the entire crafting tree is made. The list is then processed by the craft processing module and then send to the assembler control module. The assembler control module then sends the ingredients of the request for crafting; one item after the other based on the factorio-inherent item hierarchy. It has several modules that correct, for example, for items that are already part of the network or have multiple product recipes. The crafting is done by the crafting module. The crafting module has 3 major parts, one that requests raw materials, a low throughput assembler that deals with requests below 50 and a high throughput assembler array that deals with requests above 50 units. This module can be indefinitely extended by just copying the assembler extension array that is to the very right. If you are interested in the details of how the machine works, the blue print book contains a lobotomized version of the machine that is sort of organized into functional modules. The ingredient calculator is lobotomized in a separate blueprint and published here viewtopic.php?t=129919.

How to use the machine?
At the top you will find 5 combinators. These are the ones you will interact most with.

The left one is for requests. Just add whatever you want in here.

The 2nd from the left is to overclock the machine. I recommend having it at around 600 ticks. If you go below that machine will start stalling. If your bots are not legendary and have at least 300% movement speed, you have to increase the ticks. I suggest 1000 ticks to begin with. If you see its working with your upgrades, you can start speeding it up. This timer essentially controls how long the machine waits before a new craft is started. 260 ticks was the minimum time needed for bots in my testing setup to bring all the items into the chest. If the items are not in the chest, the machine will recraft whatever is not in the chest. If you go below 260 ticks there are issues with the communication between modules.

The middle combinator adjusts the reset period for the machine if it is idle. This is set to 1000 ticks. If you were to remove items from the chests, they will be remade no later than 1000 ticks. Dont make this any faster than this or faster than the overclock module. Slower always ok.

The second from the right combinator is a global reset. It resets all memory cells and restarts the machine. I tired to iron out all stallings, but if it doesnt work, please let me know what you have done so that I can fix it.

The very right combinator increases the efficiency of the machine. There is a grace period after a craft has finished the length of which depends on the item that has been crafted. If you upgrade parts of the machine to other qualities update this combinator with a new crafting speed to squeez the last bit of efficiency out. Essentially, it divides the ticks needed for the last crafts to finish by the crafting speed. This is mostly important for lengthy crafts like T3 modules in a case where the crafts have started before the reset signal has been received. This allows to continue for one craft before it empties the assemblers.

You also need all of the basic resources that are in the buffer chests available in your network. It is possible to have this machine do everything starting with the raw materials that an assembler can make but that lowers the throughput massively because it has to craft copious amounts of raw materials on top of the request.

How do you scale it?
The assembler extension module consists of two columns with each 2 assemblers. You can extend the machine indefinitely to the right, and if you put the work into it, also below. To extend, simply copy the outer two assembler columns and paste them onto each other by overlapping one column. This way you dont have to connect them manually. If you wish to expand into other direction, you have to extend the wires manually. On top of copying the column, you also need to change a combinator in the raw material request module. You will find a combinator with an upward facing arrow. Adjust the content of this combinator according to its description to set the right amount of materials for the requester chests.

Important notes
Make sure you have enough chests for what you are requesting. There is some temporary storage but that is not infinite.

Cool, thats it. I dont have a background in computer science or engineering, so I may have done things in a very inefficient, awkward way, hence the user name. But the thing does the job. If you have any suggestion for improvement etc, I welcome feedback very much!! I have a few insights into electrical engineering and programming now because I build this thing and read a bit, so feel welcome to contribute to this :)!

Let me know if it does its job!
inefficient

Credits
I am indebted to the user Tertius and his Combinator cook book 2.0 and take on the Full dynamic bot high speed mall. Most of the logic blocks I use are from his post viewtopic.php?t=124776&hilit=cookbook and I took inspiration from his fluid handling in his mall viewtopic.php?p=643640&hilit=dynamic+bot+mall#p643640.
Attachments
programmable, scalable, bot auto mall version 2.0.txt
(204.22 KiB) Downloaded 8 times
Last edited by inefficient on Sat Sep 20, 2025 7:54 pm, edited 6 times in total.
inefficient
Inserter
Inserter
Posts: 22
Joined: Fri Jul 11, 2025 2:49 pm
Contact:

Re: programmable, scalable, bot auto mall (make anything machine)

Post by inefficient »

No longer relevant
Last edited by inefficient on Sat Sep 20, 2025 2:22 pm, edited 4 times in total.
inefficient
Inserter
Inserter
Posts: 22
Joined: Fri Jul 11, 2025 2:49 pm
Contact:

Re: programmable, scalable, bot auto mall (make anything machine, now with planet specific assemblers)

Post by inefficient »

Ok folks. Here it is, the 2.0 release! Enjoy :) Has now fancy progress bar, activity status tracker, improved reset function and alternative assemblers with low/high throughput option. Can use any other assembler as well. Just find the combinators with the assembler specific items that have the logistic group all_machine_foundry and update them with a new list of items the other assemblers can make. Obviously, also replace the assemblers. Also, dont forget to add updated storage chests with filters for the new items!

Will be the last update probably, its working well now. Tried it a bit in a new playthrough...

Map view:

09-20-2025, 06-25-41.png
09-20-2025, 06-25-41.png (85.69 KiB) Viewed 396 times

Overview:
09-20-2025, 07-37-58.png
09-20-2025, 07-37-58.png (1.76 MiB) Viewed 396 times
20250920: Teensy hotfix, I messed up a setting in a combinator I was playing around with. The machine would not craft items if after susbtracting the network content would yield a zero. e.g. you want 8 T1 modules and have 4 in the network the machine would initially substract 4 and then substract 4 again and yields 0. In the previous versions I accounted for that but then changed a combinator in the 2.0 update and messed that up. Should not happen anymore.
mrt144
Long Handed Inserter
Long Handed Inserter
Posts: 53
Joined: Thu Sep 13, 2018 9:30 pm
Contact:

Re: programmable, scalable, bot auto mall (make anything machine, now with planet specific assemblers)

Post by mrt144 »

This is awesome and exactly something I've wanted to figure out at some point. The idea of a 'factory of everything' that can make any makeable object on a tiny footprint, that basically takes care of all of its own needs from raw inputs...

Nice work!
Post Reply

Return to “Combinator Creations”