Factorio Prototype DocsVersion 2.0.19

DirectTriggerItem :: struct

Inherits from TriggerItem

Properties

type :: "direct"
filter_enabled optional :: bool

Inherited from TriggerItem
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.

collision_mask optional :: CollisionMaskConnector

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

Only prototypes with these collision masks 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.

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

type :: "direct"

filter_enabled :: bool optional

Default: false


Type used in

Prototypes

Types

Defines