Page 1 of 1

[API Docs] Wrong description in AmmoTurretPrototype

Posted: Tue Feb 03, 2026 12:31 pm
by Cubickman
Hi

I think I found an error in the API docs.
For the AmmoTurretPrototype, the property automated_ammo_count does not give the correct description.
https://lua-api.factorio.com/latest/pro ... ammo_count

It says it "Shift of the "alt-mode icon" relative to the turret's position.", but in reality it's about the limit of items that an inserter can put in the turret.
Capture.JPG
Capture.JPG (69.73 KiB) Viewed 231 times

I searched for a while in the documentation to find out how to change this insertion limit without success, before finally trying this one despite the description.

And I tested it to check, and indeed it does not change the icon in alt mode.
With a value of 10
Test10.JPG
Test10.JPG (23.04 KiB) Viewed 231 times
With a value of 100
Test100.JPG
Test100.JPG (35.26 KiB) Viewed 231 times

Is that right, or am I missing something?

Re: [API Docs] Wrong description in AmmoTurretPrototype

Posted: Fri Feb 06, 2026 12:30 pm
by Bilka
The description belonged to a property that was removed from the prototype and indeed no longer applies. I've fixed the docs for the next release, thanks for the note.