Types/Trigger: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(fix Prototype property type usage)
(PtreeItemOrArrayIterator)
Line 1: Line 1:
An array of [[types/table]]s. The tables are each loaded as one of the [[Types/TriggerItem]] extensions, depending on the value of the <code>type</code> key in the table.
A [[types/table]] or an array of [[types/table]]s. The tables are each loaded as one of the [[Types/TriggerItem]] extensions, depending on the value of the <code>type</code> key in the table.


== type ==
== type ==

Revision as of 15:53, 17 June 2022

A types/table or 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