Source-checkedWeapons, items & crafting

Castra Prime — K2 Turret Ammo Fix

by leVermito · for Factorio

Fixes enemy gun-turrets on Castra Prime not firing when Krastorio 2 is installed. K2 reassigns the vanilla pistol/rifle magazines that Castra Prime hands to enemy turrets, putting them in an ammo category the turret no longer accepts. This mod widens the gun-turret to accept K2's pistol category as well, restoring enemy fire on Castra. Mod is provided as is.

404Downloads
5 mo agoLast updated
MITLicense
Factorio Mod PortalSource

About Castra Prime — K2 Turret Ammo Fix

From Factorio Mod Portal

Fixes enemy gun-turrets on Castra Prime not firing when Krastorio 2 is installed. K2 reassigns the vanilla pistol/rifle magazines that Castra Prime hands to enemy turrets, putting them in an ammo category the turret no longer accepts. This mod widens the gun-turret to accept K2's pistol category as well, restoring enemy fire on Castra. Mod is provided as is.

Mod is provided as is, will remove after source issue will be patched.

Fixes enemy gun-turrets on Castra Prime not firing when Krastorio 2 (Spaced Out) is installed.

K2 moves vanilla pistol/rifle magazines into the new kr-pistol ammo category, but the gun-turret still only accepts bullet — so the ammo Castra Prime hands to enemy turrets can't be fired. This mod widens gun-turret to accept both categories. K2's items and balance are untouched.

Safe to enable mid-save. Already-empty enemy turrets won't auto-refill (Castra only loads ammo on spawn); newly spawned bases are fine.

In order to refill current turrets

Paste this into the in-game console once. It finds every empty enemy ammo-turret on every surface and inserts 10× kr-rifle-magazine. Idempotent — running it twice won't double-load.

/c local n=0; for _, s in pairs(game.surfaces) do for _, t in pairs(s.find_entities_filtered{type="ammo-turret", force="enemy"}) do local inv=t.get_inventory(defines.inventory.turret_ammo); if inv and inv.is_empty() then local i=inv.insert{name="kr-rifle-magazine", count=10}; if i>0 then n=n+1 end end end end; game.print("Refilled "..n.." empty enemy ammo-turrets.")

Note: /c commands disable achievements on the save.

Want a stronger tier? Swap kr-rifle-magazine for one of:

  • kr-armor-piercing-rifle-magazine
  • kr-uranium-rifle-magazine
  • kr-imersite-rifle-magazine

Highlights

From source data

Footprint

Rated a light load on a server.

License

Published under MIT.

Last update

Its author last shipped an update 5 mo ago.

Castra Prime — K2 Turret Ammo Fix on Nxeon

From our catalogue
One-click install
Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.0.0, released 2026-06-09

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run Castra Prime — K2 Turret Ammo Fix on a Factorio server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Factorio Mod Portal as “Mods”

Weapons, items & crafting

New weapons, gear, items and the recipes to make them.

Runs on your server

From source side support

Factorio Mod Portal lists Castra Prime — K2 Turret Ammo Fix as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Compatibility

Game
Factorio
Runs on
Serverrequired on the server

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-08Open ↗
  • ✓AuthorleVermito, as published on Factorio Mod Portal
  • ✓LicenseMITFree

Castra Prime — K2 Turret Ammo Fix, answered

Generated from the mod’s own source data.

Do my players need to install Castra Prime — K2 Turret Ammo Fix?

Factorio Mod Portal lists Castra Prime — K2 Turret Ammo Fix as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. Castra Prime — K2 Turret Ammo Fix is free to download from Factorio Mod Portal. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Castra Prime — K2 Turret Ammo Fix on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Castra Prime — K2 Turret Ammo Fix in one click.