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
4 months ago
0.14 - 2.0
26.4K
Logistics

g Unlimited Range on surface?

5 months ago

Hello, is it possible to have an option for 0 range (infinite) but to only include turrets or other entities on the same surface as the loader? When using 0 range and loading planet turrets with red ammo, I noticed my space platform logistics got messed up because suddenly its turrets were also being loaded with red ammo. I'm not sure if this only happened when the space platform was at the same planet as the loader, because I destroyed the chest as soon as I noticed, but the platform was at the same planet when this occurred. Thank you,

5 months ago

Hi there! thanks for using the mod!

Yes, 0 range currently means it goes cross-surface. Before Space Age, this never really presented a problem and allowed chests to automatically fill Factorissimo buildings without have a separate chest for each one. But you're right, I need to at least have an option to change this for Space Age.

I'll let you know once I've implemented this!

5 months ago

This is now a mod setting in version 2.0.4!

5 months ago

I saw the changelog but wasn't logged into the forum so, I just wanted to say thanks!

4 months ago

Hi! I write here cuz I tried out the "Provide across surfaces" setting with "Chest radius"= 0, and It does not provide anything for other surfaces, while on same surfaces, it's working. I tried with ammo and nuclear fuel. I tried to use the debugging option, but wrote nothing.

4 months ago

Hi! I write here cuz I tried out the "Provide across surfaces" setting with "Chest radius"= 0, and It does not provide anything for other surfaces, while on same surfaces, it's working. I tried with ammo and nuclear fuel. I tried to use the debugging option, but wrote nothing.

I think (without looking) that "across surfaces" really only refers to Space Platforms, and likely only those "parked" at the planet you placed the chest on. Of course, the actual developer can correct me if I'm wrong.

4 months ago
(updated 4 months ago)

I think (without looking) that "across surfaces" really only refers to Space Platforms, and likely only those "parked" at the planet you placed the chest on. Of course, the actual developer can correct me if I'm wrong.

No, they are definitely supposed to work across surfaces -- this is probably a bug I introduced inadvertently while adding the ability to turn it on and off. It was working before then.

I originally added this feature with factorissimo in mind.

The chests currently do not support space platforms, though I do have that feature added in the dev version, just haven't had time to play test it yet.

One thing to note about this however is that cross-surface entities must be handled script-side, and will have a higher UPS cost as a result. Due to this, I wrote a throttle into the code so instead of each entity using more UPS, each entity handled script side adds more time between fills for each one (this does not apply if the chest and entity are on the same surface).

Essentially, this feature is meant to support a few hundred entities cross surface, not a few thousand. So if you notice that your furnaces are taking longer and longer to fill up, and they are provided by a chest that is on another surface, that is probably why.

Anyway, I'll take a closer look and see if I can figure out why this is happening. Thanks for the report!

New response