Auto-Loader Chest

by raley

This chest automatically refills turrets and fuel-burners on the map. It was inspired by ammo-loader+ but works with quality items, has shared storage per surface, and works in spaaaaace.

Content
7 days ago
2.1
468
Cheats

g No item Restriction

7 days ago

Found a Bug, you can put everthing into the chest with very high stacksize

7 days ago

It's a side effect of using stacking slots and a shared inventory on a surface. Inventory filters are only supported on non-stacking inventory slots, so it's a trade off on which is used by the mod.

The shared inventory per surface is a requirement for keeping the code simple and performance high.

So the design options are:
1. shared inventory + slot filters
2. shared inventory + stacking slots

Going with option 1 means the chest needs a lot of inventory slots to handle a high consumption scenario (like Rampant++). It's possible to add hundreds of inventory slots, but that impacts UPS; it's expensive to scan every slot in the chest for contents.

Going with option 2 means that the chest can store a ton of supplies in a few slots, which improves UPS, and works for high consumption scenarios. But the trade off is that you can put other things in there.

If the factorio API changes in the future to support both options concurrently then I'd be happy to add it.

7 days ago

Ah okay good to know.
I dont wanna open another thread so i ask here
So turrets dont need belts anymore? So are they realoading from the chest itself? First i thought i need to still lay a belt and put a Auto Loader chest on the start to pull items from.

7 days ago

Oh gotcha! Yeah, you don’t need belts anymore. Turrets will automatically get loaded from the chest.

If you put coal in there it will also feed furnaces.

The chest has to be on the same ‘surface’ as the turrets, so a chest an nauvis will only feed turrets on that planet. If you use a mod like factorissimo, then you would need to put a chest inside the building if there are things in there you wanted it to feed.

6 days ago

Does this affect also effect other weapon mods? like the rail turrets of k2?

6 days ago

I think it should, since they are probably marked as turrets with inventory slots. I haven't tried it though.

Definitely let me know if they don't work? I'd like to add support if not. I'll try to find time to test it out at some point, just haven't played K2 in a long time.

New response