Prototype/ParticleSource
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/ParticleSourcePrototype.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/ParticleSource
Creates particles.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
time_to_live
Type: float
time_before_start
Type: float
height
Type: float
vertical_speed
Type: float
horizontal_speed
Type: float
Optional properties
particle
Type: string
Name of a Prototype/Particle. Either this or smoke
must be defined.
smoke
Type: table of SmokeSource
Array of 1 or more smoke sources. Either this or particle
must be defined.
time_to_live_deviation
Type: float
Default: 0
time_before_start_deviation
Type: float
Default: 0
height_deviation
Type: float
Default: 0
vertical_speed_deviation
Type: float
Default: 0
horizontal_speed_deviation
Type: float
Default: 0