Prototype/SmokeWithTrigger: Difference between revisions
(→Optional properties: 0.18.12) |
(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/prototypes/SmokeWithTriggerPrototype.html https://lua-api.factorio.com/latest/prototypes/SmokeWithTriggerPrototype.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]. | |||
{{Prototype parent|Prototype/Smoke}} | {{Prototype parent|Prototype/Smoke}} | ||
An entity with animation and a trigger. | An entity with animation and a trigger. |
Revision as of 17:53, 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/prototypes/SmokeWithTriggerPrototype.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.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/Smoke » Prototype/SmokeWithTrigger
An entity with animation and a trigger.
Optional properties
This prototype inherits all the properties from Prototype/Smoke.
action
Type: Trigger
action_cooldown
Type: uint32
Default: 0 (means never apply)
particle_count
Type: uint8
Default: 1
particle_distance_scale_factor
Type: float
Default: 0.0f
spread_duration_variation
Type: uint32
Default: 0
particle_duration_variation
Type: uint32
Default: 0
particle_spread
Type: vector
particle_scale_factor
Type: vector
wave_distance
Type: vector
wave_speed
Type: vector