Types/TriggerEffect: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "An array of types/tables, or just one types/table. The tables are each loaded as one of the Types/TriggerEffectItem extensions, depending on the value of the <code...")
 
(0.17)
Line 17: Line 17:
* If this is <code>"push-back"</code>, that definition is loaded as a [[Types/PushBackTriggerEffectItem]],
* If this is <code>"push-back"</code>, that definition is loaded as a [[Types/PushBackTriggerEffectItem]],
* If this is <code>"destroy-cliffs"</code>, that definition is loaded as a [[Types/DestroyCliffsTriggerEffectItem]],
* If this is <code>"destroy-cliffs"</code>, that definition is loaded as a [[Types/DestroyCliffsTriggerEffectItem]],
* If this is <code>"show-explosion-on-chart"</code>, that definition is loaded as a [[Types/ShowExplosionOnChartTriggerEffectItem]].
* If this is <code>"show-explosion-on-chart"</code>, that definition is loaded as a [[Types/ShowExplosionOnChartTriggerEffectItem]],
* If this is <code>"insert-item"</code>, that definition is loaded as a [[Types/InsertItemTriggerEffectItem]].

Revision as of 19:53, 7 August 2019

An array of types/tables, or just one types/table. The tables are each loaded as one of the Types/TriggerEffectItem 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 "damage", "create-entity", "create-explosion", "create-fire", "create-smoke", "create-trivial-smoke", "create-particle", "create-sticker", "nested-result", "play-sound", "push-back", "destroy-cliffs" or "show-explosion-on-chart".