Prototype/FluidStream: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Removed old prototype docs)
 
(11 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 has to be greater than particle_horizontal_speed_deviation.
 
=== particle_horizontal_speed_deviation ===
'''Type''': [[Types/double]]
 
=== particle_vertical_acceleration ===
'''Type''': [[Types/double]]
 
== Optional properties ==
 
=== initial_action ===
'''Type''': [[Types/Trigger]]
 
=== action ===
'''Type''': [[Types/Trigger]]
 
=== special_neutral_target_damage ===
'''Type''': [[Types/DamagePrototype]]
 
=== 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_alpha_per_part ===
'''Type''': [[Types/float]]
 
'''Default''': 1
 
=== particle_scale_per_part ===
'''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/uint16]]
 
'''Default''': 1
 
Will be set to 1 by the game if less than 1.
 
=== particle_fade_out_duration ===
'''Type''': [[Types/uint16]]
 
'''Default''': max uint16 (65553)
 
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]]
 
=== progress_to_create_smoke ===
'''Type''': [[Types/float]]
 
'''Default''': 0.5
 
=== stream_light ===
'''Type''': [[Types/LightDefinition]]
 
=== ground_light ===
'''Type''': [[Types/LightDefinition]]
 
=== target_position_deviation ===
'''Type''': [[Types/double]]
 
'''Default''': 0
 
=== oriented_particle ===
'''Type''': [[Types/bool]]
 
'''Default''': false
 
=== shadow_scale_enabled ===
'''Type''': [[Types/bool]]
 
'''Default''': false

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.