based on the work of https://www.reddit.com/r/factorio/comme ... atures_in/
i made a bot based variant of an make everything factory
on the top you can see the master logic (wich is the same as with ironic robotics mall.
in the top right you can see the logic that decides waht to make.
but just to go through it from left to right
<= bps of the master logic
-a combinator deciding how much of each item u want.
-multiply by 15 to get the max or by 5 to get the bottem value
-devide both by 10 (cuz we cant multiply with half numbers)
-check if the items is above or below that value
-if item is below bottem value => send positive number to latch, if item is above max value send big negative number to latch
-latch
-sedn each positive value to the network
then for each slice, i have this:
the logic on the right from top to bottem
-constant combinator with all the items this slice can make
-if anything on the network is above 0 put trough the priority of that item (1 is the highest)
- select the item with the highest priority
priority is based on "steps away from mining"
just an example from the priority
1: iron ore and copper ore (takes 1 step to make)
2: iron plates, copper plates (takes 2 steps to make, 1st is mining, then smelting)
3: copper wires (3 steps to make, mining, smelting, fabricating)
4: green circuits
etc.
etc.
my question is :