Types/TriggerEffect: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.0.0)
(Migrated prototype doc to separate website)
Line 1: Line 1:
'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/types/TriggerEffect.html https://lua-api.factorio.com/latest/types/TriggerEffect.html]
This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].
An array of [[types/table]]s, or just one [[types/table]]. The tables are each loaded as one of the [[Types/TriggerEffectItem]] extensions, depending on the value of the <code>type</code> key in the table.
An array of [[types/table]]s, or just one [[types/table]]. The tables are each loaded as one of the [[Types/TriggerEffectItem]] extensions, depending on the value of the <code>type</code> key in the table.



Revision as of 17:51, 16 August 2023

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/TriggerEffect.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.


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", "create-decorative", "nested-result", "play-sound", "push-back", "destroy-cliffs", "show-explosion-on-chart", "insert-item", "script", "set-tile", "invoke-tile-trigger", "destroy-decoratives" or "camera-effect".

Template:Prototype property type usage