What I want to do is to create some sort of a system that interacts with the logistic system to tell robots to evenly prioritise chests. I had an attempt already using circuitry, but this is what I've been able to do so far:
The contents of chest 1 (upper chest) are scanned and multiplied by 1, and turned into variable X, and vice-versa chest 2 (lower chest), except it's variable Y (both chests have the same contents, so I need the system to tell which is which):
After that I took the signals to two deciders, which had these basic conditions:
(If X < Y, then send the red signal, otherwise if Y < X, then send blue (was using this to identify which chest contained less)
After that I was thinking I could send the signals of the output to somewhere else (maybe another decider or a roboport (idk...)) and then the robots would prioritise the chests. This is the stage where I got lost, and decided I needed help. If anyone knows how to do this (or if it's even possible), please tell. I'm not the best with Factoio circuitry, so help on this topic would be much appreciated
