Ammo Loader+


More than just a turret loader. Auto load everything from turrets to artillery wagons to furnaces and even the player themselves. Auto upgrade ammo and fuel without tedious manual replacement. Infinite range and compatible with Factorissimo2.

Content
23 days ago
0.14 - 2.0
25.1K
Logistics

i Performance

2 years ago
(updated 2 years ago)

Place in game ~50 (I'm using limited range) of requesterChest lead that mod start consuming ~1.5 ms
(I'm using ammo chests to supply remote bastions with "Rampant Arsenal" turrets)

So edit

/ammo-loader_1.1.14/lib/Handlers.lua

add one line tick skipper

function Handlers.onEveryTick(event)
    if not Handlers.preTick(event) then return end
    if event.tick % 10 ~= 0 then return end                   <<< THIS LINE <<<<
    createdQ.tick()
    if (createdQ.size() <= 0) then
        Force.tickAll()
        alGui.renderTick()
    end
end

And

/ammo-loader_1.1.14/prototypes/entity.lua

Increase slots, set max_logistic_slots = 32 to decrease required chests.

Looks like it works - maybe move this skip value to mod settings ?

New response