Prototype/FluidStream

From Official Factorio Wiki
Revision as of 17:52, 16 August 2023 by BilkaBot (talk | contribs) (Migrated prototype doc to separate website)
Jump to navigation Jump to search

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/FluidStreamPrototype.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.


Template:Prototype parent Used for example for the handheld flamethrower.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

Template:Prototype property The stream will spawn one particle every particle_spawn_interval ticks until the particle_spawn_timeout is reached. The first particle will trigger an initial_action upon landing. Each particle triggers an action upon landing. Particles spawned within a single particle_spawn_timeout interval will be connected by a stretched spine_animation.

Template:Prototype property Must be larger than 0. particle_horizontal_speed has to be greater than particle_horizontal_speed_deviation.

Template:Prototype property

Template:Prototype property

Optional properties

Template:Prototype property Action that is triggered when the first particle lands.

Template:Prototype property Action that is triggered every time a particle lands. Not triggered for the first particle if initial_action is non-empty.

Template:Prototype property

Template:Prototype property

Template:Prototype property Number of spawned child particles of the stream. Must be greater than 0 and less than 256.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Value between 0 and 1.

Template:Prototype property Value between 0 and 1.

Template:Prototype property Will be set to 1 by the game if less than 1.

Template:Prototype property Will be set to 1 by the game if less than 1.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Smoke spawning is controlled by progress_to_create_smoke.

Template:Prototype property The point in the particles projectile arc to start spawning smoke. 0.5 (the default) starts spawning smoke at the halfway point between the source and target.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property