Inserter Item Pickup Logic
Posted: Sat May 03, 2025 2:13 pm
How exactly an inserter decides which item to pick up?
Context: I challenged myself to make a space platform that makes space science using only the 46 space foundation that comes with the starter pack, so I need to get the most out of every inserter. My setup is in the screenshot below (and blueprint here https://factoriobin.com/post/uy9d62, though the preview image is off) and the key inserter is the one at the bottom, which is filtered to metallic/carbonic/oxide asteroids, iron ore, and carbon (in that order), and set to activate when carbon in the hub is >20.
Screenshot 2025-05-03 at 10.00.11 AM
The behavior I want from that inserter is: whenever carbon builds up too much, this inserter vents all asteroid chunks and iron ore (which are just trash), and only then throws out carbon. I was hoping filters would also set the priority for which items are moved, so the inserter would try to move an asteroid chunk, then iron ore, and only if it couldn't move either of those would it move carbon.
What actually happens is: the inserter seems to throw things at random, so over time iron ore builds up and clogs the system.
Is there any way to change this inserter behavior to make it deterministic? Or is it actually deterministic and I'm missing some deeper logic?
P.S. Obviously there are ways to handle this with more complicated circuit logic, or even just a second inserter that is always active and vents the iron and chunks. But those add an extra tile and I'm interested in making a perfectly-minimal design.
Context: I challenged myself to make a space platform that makes space science using only the 46 space foundation that comes with the starter pack, so I need to get the most out of every inserter. My setup is in the screenshot below (and blueprint here https://factoriobin.com/post/uy9d62, though the preview image is off) and the key inserter is the one at the bottom, which is filtered to metallic/carbonic/oxide asteroids, iron ore, and carbon (in that order), and set to activate when carbon in the hub is >20.
Screenshot 2025-05-03 at 10.00.11 AM
The behavior I want from that inserter is: whenever carbon builds up too much, this inserter vents all asteroid chunks and iron ore (which are just trash), and only then throws out carbon. I was hoping filters would also set the priority for which items are moved, so the inserter would try to move an asteroid chunk, then iron ore, and only if it couldn't move either of those would it move carbon.
What actually happens is: the inserter seems to throw things at random, so over time iron ore builds up and clogs the system.
Is there any way to change this inserter behavior to make it deterministic? Or is it actually deterministic and I'm missing some deeper logic?
P.S. Obviously there are ways to handle this with more complicated circuit logic, or even just a second inserter that is always active and vents the iron and chunks. But those add an extra tile and I'm interested in making a perfectly-minimal design.