The OP (fofz1776):
https://www.reddit.com/r/factorio/comme ... ?rdt=54092
Sushi belts are belts that carry more than two different items. Sushi can make things smaller and sometimes even simpler. There are many ways to make sushi. This tutorial is for a simple way of making sushi that can have any number of items.
The idea is simple. You have a belt that makes a loop and a combinator that knows what is in the loop. This can achieved in the following way:
Connect everything that puts items into the loop with green wires.
Connect everything that takes items out of the loop with red wires.
Set everything to "read contents" and "pulse"
Connect the red wire to a combinator set to multipy "each" by -1 and output "each"
Connect the green wire and the combinator to annother combinator set to add 0 to "each" and output "each"
Connect that combinator's output to it's own input with a green wire.
Now the green wire will carry a signal that is the contents of the loop. By setting "enable/disable" conditions for anything that puts items into the loop, you can limit how much of any item is in the loop. To varify that everything is working, mouse-over the combinator to see the contents of the loop and confirm that it is accurate.
Blueprint
Please help me understand the steps that are going on here.Connect everything that puts items into the loop with green wires.
This is for belt inputs, not arm inputs. Green signal is going to carry contents information somewhere.
Connect everything that takes items out of the loop with red wires.
These are for arm outputs, and they're going to send info of what they've picked up somewhere.
Set everything to "read contents" and "pulse"
This means that it's going to send one-time information instead of ongoing information. Does this mean it's an add and subtract process to track the inventory on the belt rather than a live inventory? If so, if I directly add extra components to one of the target machines, am I going to throw off the math permanently?
Connect the red wire to a combinator set to multipy "each" by -1 and output "each"
Item taken off belt x -1 means it's now tracking how many items have been removed from the belt.
The Each symbol means it's going to do it for "each" input, so if arms are handling 5 different products, the signals for all will be adjusted.
Connect the green wire and the combinator to annother combinator set to add 0 to "each" and output "each"
Connect that combinator's output to it's own input with a green wire.
The green wires (input to belt) are now taking Each, adding nothing, and outputting each. It's outputting this to itself, and also back to the green inbound belts.
Something + 0 = Something = somehow the belts get this number and know when to add things? The logic chain appears to be nonsense, yet it's somehow working.
What am I missing? I have no programming background worth mentioning.