Military units and structures: Difference between revisions
Jump to navigation
Jump to search
no more compilatron in 2.0 |
HeliGungir (talk | contribs) →History: Add history section. Not 100% positive on the version robots changed. Using 0.18.0 based on previous wiki edit comment. |
||
Line 163: | Line 163: | ||
| [https://lua-api.factorio.com/latest/prototypes/SimpleEntityWithForcePrototype.html simple-entity-with-force] | | [https://lua-api.factorio.com/latest/prototypes/SimpleEntityWithForcePrototype.html simple-entity-with-force] | ||
|} | |} | ||
== History == | |||
{{History|2.0.7| | |||
* [[Radar|Radars]] are no longer a military units | |||
}} | |||
{{History|0.18.0| | |||
* [[Construction robot|Construction]] and [[Logistic robot|Logistic Robots]] can no longer distract enemies | |||
}} | |||
{{C|Main}} | {{C|Main}} |
Revision as of 02:10, 26 August 2025
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.
- Biters and spitters do not prioritize construction robots or logistic robots over other targets.
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
Icon | Name | Default force |
Prototype |
---|---|---|---|
![]() |
Player | player | character |
![]() |
Defender capsule | player | combat-robot |
![]() |
Distractor capsule | player | combat-robot |
![]() |
Destroyer capsule | player | combat-robot |
![]() |
Construction robot | player | construction-robot |
![]() |
Logistic robot | player | logistic-robot |
![]() |
Land mine | player | land-mine |
![]() |
Small biter | enemy | unit |
![]() |
Small spitter | enemy | unit |
![]() |
Medium biter | enemy | unit |
![]() |
Medium spitter | enemy | unit |
![]() |
Big biter | enemy | unit |
![]() |
Big spitter | enemy | unit |
![]() |
Behemoth biter | enemy | unit |
![]() |
Behemoth spitter | enemy | unit |
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 |
![]() |
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 |
Player port | player-port | ||
SimpleEntityWithForce | simple-entity-with-force |
History
- 0.18.0:
- Construction and Logistic Robots can no longer distract enemies