Infantry Turrets and Supply Chest


Your factory's workers can fight back. Deploy soldiers, gunners, and vehicle crews as turrets — using the game's own character and vehicle graphics, no custom art required.

Utilities
17 hours ago
2.0
39
Combat Circuit network

Changelog

Version: 1.1.0
Date: 2026-04-20
  Major Features:
    - Added Quartermaster — Ammunition Doctrine GUI. Press Ctrl+Shift+Q (or use the shortcut bar button) to open a dedicated military-themed window for viewing and reordering ammo priority per weapon category.
    - Ammo Supply Chest now supports any modded ammunition. Categories and ammo items are auto-discovered from loaded prototypes; modded ammo shows up in the Doctrine panel automatically and can be added to the priority list with one click.
  Features:
    - Added Car Turret (2x2 footprint, vehicle machine gun, range 20, 250 HP). Unlocked by Automobilism.
    - Added Tank Turret (3x3 footprint, cannon, range 30, 800 HP, with physical/fire/explosion resistances). Unlocked by Tank.
    - Vehicle turrets can be rotated with the R key before placement (N/E/S/W).
    - Vehicle body is rendered by the game engine natively - full car/tank chassis visible underneath the turret, dark grey themed.
    - Added Enemy Detector combinator that scans for enemies and outputs threat counts on the circuit network (signal-A total, signal-U units, signal-S spawners, signal-W worms).
    - Detector range scales with quality (32 Normal to 72 Legendary tiles).
  Minor Features:
    - Added 'Reset to defaults' button in the Doctrine GUI.
    - Added /infantry-debug, /infantry-supply-now and /infantry-tick-log console commands for troubleshooting.
  Graphics:
    - All armor tiers (Basic through Mech Armor) now use the corresponding character sprite for each infantry variant - no tinting, uses the natural armor colors.
    - Supply Chest uses the vanilla steel-chest sprite.
  Bugfixes:
    - Fixed ammo not being delivered to turrets due to quality-object keys in get_contents() being compared against quality-string lookups.
    - Fixed supply chest enable/disable check for requester-type logistic containers in Factorio 2.0.
    - Fixed lifecycle event handlers crashing with 'attempt to call nil' when registered before their target local functions were declared.
  Changes:
    - Supply chest is now a requester-type logistic container (was: plain chest) - robots can deliver ammo automatically.
    - Circuit control changed to 'enable when signal-green greater than 0' (was: disable when signal-red greater than 0).
    - Supply chest range scales with quality (15 Normal to 40 Legendary tiles).
Version: 1.0.0
Date: 2026-04-19
  Major Features:
    - Initial release.
    - Four infantry weapon types: Machinegun, Shotgun, Rocket Launcher, Flamethrower.
    - Seven armor tiers per weapon (Basic through Mech Armor) with HP scaling from 100 to 1300.
    - Ammo Supply Chest that auto-refills every ammo-turret in range.
    - Smart ammo priority: chest always dispenses the best available tier and quality to each turret.
  Features:
    - All infantry use the player's character sprites; no custom art required.
    - Supply chest works for infantry, vehicle, and vanilla turrets alike.
    - Atomic bombs supported in the rocket priority list.