Types/Trigger: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (formatting)
(Prototype property type usage)
Line 9: Line 9:
* if this is <code>"line"</code>, that definition is loaded as a [[Types/LineTriggerItem]],
* if this is <code>"line"</code>, that definition is loaded as a [[Types/LineTriggerItem]],
* if this is <code>"cluster"</code>, that definition is loaded as a [[Types/ClusterTriggerItem]].
* if this is <code>"cluster"</code>, that definition is loaded as a [[Types/ClusterTriggerItem]].
{{Prototype property type usage|{{FULLPAGENAME}}}}

Revision as of 16:27, 8 August 2019

An array of types/tables. The tables are each loaded as one of the Types/TriggerItem extensions, depending on the value of the type key in the table.

type

Type: Types/string

Mandatory member of each table in the array. Either "direct", "area", "line", or "cluster".

Template:Prototype property type usage