Military units and structures: Difference between revisions
Jump to navigation
Jump to search
→Military units: Added asteroids |
m →Military units: Changed icons of the combat bots from their capsules to the robots themselves |
||
| Line 42: | Line 42: | ||
| [https://lua-api.factorio.com/latest/prototypes/SpiderVehiclePrototype.html spider-vehicle] | | [https://lua-api.factorio.com/latest/prototypes/SpiderVehiclePrototype.html spider-vehicle] | ||
|- | |- | ||
| [[File: | | [[File:Defender.png|center|32px]] | ||
| [[Defender capsule|Defender]] | | [[Defender capsule|Defender]] | ||
| player | | player | ||
| [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | | [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | ||
|- | |- | ||
| [[File: | | [[File:Distractor.png|center|32px]] | ||
| [[Distractor capsule|Distractor]] | | [[Distractor capsule|Distractor]] | ||
| player | | player | ||
| [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | | [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | ||
|- | |- | ||
| [[File: | | [[File:Destroyer.png|center|32px]] | ||
| [[Destroyer capsule|Destroyer]] | | [[Destroyer capsule|Destroyer]] | ||
| player | | player | ||
Latest revision as of 17:30, 16 November 2026
Some units and structures are marked as Military units or Military structures and are high priority targets for enemy forces. They will be attacked on sight by:
- Biters, spitters, and worms.
- Turrets, combat robots, and personal laser defense.
- The player, when holding down "shoot enemy" SPACE.
There are a few exceptions:
- Artillery turrets and artillery wagons will not attack units automatically, they only attack structures automatically.
- Enemies are not "distracted" by construction robots and will not enter combat on sight. However, enemies already in combat will target these robots like any other military unit and structure.
- Land mines are only targeted by enemies during the first 2 seconds after placement, as they arm and bury in the ground. Also, enemies do not enter combat when triggering and taking damage from a land mine.
Modding
Military units and structures are identified by a flag on EntityWithOwnerPrototype. This can be changed by modding, except for units and unit spawners. The default military prototypes are listed in the table below.
Military units
Military structures
| Icon | Name | Default force |
Prototype |
|---|---|---|---|
| Gun turret | player | ammo-turret | |
| Flamethrower turret | player | fluid-turret | |
| Laser turret | player | electric-turret | |
| Artillery turret | player | artillery-turret | |
| Rocket turret | player | ammo-turret | |
| Tesla turret | player | electric-turret | |
| Railgun turret | player | ammo-turret | |
| Small worm | enemy | turret | |
| Medium worm | enemy | turret | |
| Big worm | enemy | turret | |
| Behemoth worm | enemy | turret | |
| Biter spawner | enemy | unit-spawner | |
| Spitter spawner | enemy | unit-spawner | |
| Egg raft | enemy | unit-spawner | |
| Small egg raft | enemy | unit-spawner | |
| SimpleEntityWithForce | simple-entity-with-force |
History
- 0.18.0:
- Construction and logistic robots are no longer prioritized by enemies.



























































