Types/CreateStickerTriggerEffectItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Extends Types/TriggerEffectItem. == Mandatory properties == Inherits all properties from Types/TriggerEffectItem. === sticker === '''Type''': Types/string Name...")
 
(0.18.18: show_in_tooltip)
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:


Name of the [[Prototype/Sticker]] that should be created.
Name of the [[Prototype/Sticker]] that should be created.
== Optional properties ==
=== show_in_tooltip ===
'''Type''': [[Types/bool]]
'''Default''': false
=== trigger_created_entity ===
'''Type''': [[Types/bool]]
'''Default''': false
If this is true, [https://lua-api.factorio.com/latest/events.html#on_trigger_created_entity on_trigger_created_entity] is raised when the entity is created.

Revision as of 12:22, 9 April 2020

Extends Types/TriggerEffectItem.

Mandatory properties

Inherits all properties from Types/TriggerEffectItem.

sticker

Type: Types/string

Name of the Prototype/Sticker that should be created.

Optional properties

show_in_tooltip

Type: Types/bool

Default: false

trigger_created_entity

Type: Types/bool

Default: false

If this is true, on_trigger_created_entity is raised when the entity is created.