Types/TriggerItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17.47)
Line 13: Line 13:


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 ===
'''Type''': [[Types/bool]]
'''Default''': false
=== trigger_target_mask ===
'''Type''': [[Types/TriggerTargetMask]]
'''Default''': everything


=== repeat_count ===
=== repeat_count ===

Revision as of 09:37, 10 June 2019

Extensions

Optional properties

entity_flags

Type: Types/EntityPrototypeFlags

Default: All flags

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

ignore_collision_condition

Type: Types/bool

Default: false

trigger_target_mask

Type: Types/TriggerTargetMask

Default: everything

repeat_count

Type: Types/uint32

Default: 1

collision_mask

Type: Types/CollisionMask

Default: All masks

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

source_effects

Type: Types/TriggerEffect

action_delivery

Type: Types/TriggerDelivery or Types/table of Types/TriggerDelivery

force

Type: Types/ForceCondition

Default: All forces

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