Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# ForceCondition - Prototype Docs

## ForceCondition :: union

#### Union members

`"all"` | All forces pass.
`"enemy"` | Forces which will attack pass.
`"ally"` | Forces which won't attack pass.
`"friend"` | Forces which are friends pass.
`"not-friend"` | Forces which are not friends pass.
`"same"` | The same force pass.
`"not-same"` | The non-same forces pass.

Type used in

- LandMinePrototype::trigger_force
- ProjectilePrototype::force_condition
- SimpleEntityWithOwnerPrototype::force_visibility
- StickerPrototype::force_visibility
- TriggerItem::force