Prototype/FluidStream: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(Removed old prototype docs)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Basics ==
<div class="stub"><p>'''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 https://lua-api.factorio.com/latest/prototypes/FluidStreamPrototype.html]
Prototype type: '''stream'''


Extends [[Prototype/Entity]].
</p><p>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].</p></div>
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/Entity]].
 
=== particle_spawn_interval ===
'''Type''': [[Types/uint16]]
 
=== particle_horizontal_speed ===
'''Type''': [[Types/double]]
 
Must be larger than 0.
 
=== particle_horizontal_speed_deviation ===
'''Type''': [[Types/double]]
 
=== particle_vertical_acceleration ===
'''Type''': [[Types/double]]
 
== Optional properties ==
 
=== action ===
'''Type''': [[Types/Trigger]]
 
=== width ===
'''Type''': [[Types/float]]
 
'''Default''': 0.5
 
=== particle_buffer_size ===
'''Type''': [[Types/uint32]]
 
'''Default''': 20
 
Has to be less than 256.
 
=== particle_spawn_timeout ===
'''Type''': [[Types/uint16]]
 
'''Default''': 4 * <code>particle_spawn_interval</code>
 
=== particle_start_alpha ===
'''Type''': [[Types/float]]
 
'''Default''': 1
 
=== particle_end_alpha ===
'''Type''': [[Types/float]]
 
'''Default''': 1
 
=== particle_start_scale ===
'''Type''': [[Types/float]]
 
'''Default''': 1
 
=== particle_fade_out_threshold ===
'''Type''': [[Types/float]]
 
'''Default''': 1
 
Value between 0 and 1.
 
=== particle_loop_exit_threshold ===
'''Type''': [[Types/float]]
 
'''Default''': 0
 
Value between 0 and 1.
 
=== particle_loop_frame_count ===
'''Type''': [[Types/uint32]]
 
'''Default''': 1
 
Will be set to 1 by the game if less than 1.
 
=== spine_animation ===
'''Type''': [[Types/Animation]]
 
=== particle ===
'''Type''': [[Types/Animation]]
 
=== shadow ===
'''Type''': [[Types/Animation]]
 
=== smoke_sources ===
'''Type''': [[Types/table]] of [[Types/SmokeSource]]
 
=== stream_light ===
'''Type''': [[Types/LightDefinition]]
 
=== ground_light ===
'''Type''': [[Types/LightDefinition]]

Latest revision as of 14:32, 25 October 2024

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.