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
16 days ago
0.14 - 1.1
21.2K
Logistics

i Performance

1 year, 7 months ago
(updated 1 year, 7 months 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