When you place an ammo turret, it is loaded with the best ammo from your inventory. The amount is a per-player setting.
Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.
New ways to deal with enemies, be it attack or defense.
https://github.com/MKarmar/Factorio-Place_Turret_Loaded_Recreated/blob/bdd9c9b28fff0e9ce258c0645da96a499ce9c9a4/control.lua#L35
should be --
--
Thanks a lot, odd that this did not break it when I tested it on my side.