Types/TriggerItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Extensions == * Types/DirectTriggerItem * Types/AreaTriggerItem * Types/LineTriggerItem * Types/ClusterTriggerItem == Optional properties == === entity_fl...")
 
Line 12: Line 12:
'''Default''': All flags
'''Default''': All flags


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


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

Revision as of 09:50, 11 February 2019

Extensions

Optional properties

entity_flags

Type: Types/EntityPrototypeFlags

Default: All flags

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

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.