Factorio Prototype DocsVersion 1.1.107

TriggerItem :: struct - abstract

The abstract base of all Triggers.

Children

Properties

entity_flags optional :: EntityPrototypeFlags

Only prototypes with these flags are affected by the trigger item.

Only prototypes with these flags are affected by the trigger item.

ignore_collision_condition optional :: bool
trigger_target_mask optional :: TriggerTargetMask

The trigger affects only prototypes with these masks.

The trigger affects only prototypes with these masks.

repeat_count optional :: uint32
probability optional :: float

Must be greater than 0 and less than or equal to 1.

Must be greater than 0 and less than or equal to 1.

collision_mask optional :: CollisionMask

Only prototypes with these collision masks are affected by the trigger item.

Only prototypes with these collision masks are affected by the trigger item.

action_delivery optional :: TriggerDelivery or array[TriggerDelivery]
force optional :: ForceCondition

Only entities meeting the force condition are affected by the trigger item.

Only entities meeting the force condition are affected by the trigger item.

Properties

entity_flags :: EntityPrototypeFlags optional

Default: All flags

Only prototypes with these flags are affected by the trigger item.

ignore_collision_condition :: bool optional

Default: false

trigger_target_mask :: TriggerTargetMask optional

Default: Everything

The trigger affects only prototypes with these masks.

repeat_count :: uint32 optional

Default: 1

probability :: float optional

Default: 1

Must be greater than 0 and less than or equal to 1.

collision_mask :: CollisionMask optional

Default: All masks

Only prototypes with these collision masks are affected by the trigger item.

action_delivery :: TriggerDelivery or array[TriggerDelivery] optional

force :: ForceCondition optional

Default: All forces

Only entities meeting the force condition are affected by the trigger item.

Prototypes

Types