Prototype/FluidStream: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(0.17)
Line 13: Line 13:
'''Type''': [[Types/double]]
'''Type''': [[Types/double]]


Must be larger than 0.
Must be larger than 0. particle_horizontal_speed has to be greater than particle_horizontal_speed_deviation.


=== particle_horizontal_speed_deviation ===
=== particle_horizontal_speed_deviation ===
Line 22: Line 22:


== Optional properties ==
== Optional properties ==
=== initial_action ===
'''Type''': [[Types/Trigger]]


=== action ===
=== action ===
'''Type''': [[Types/Trigger]]
'''Type''': [[Types/Trigger]]
=== special_neutral_target_damage ===
'''Type''': [[Types/DamagePrototype]]


=== width ===
=== width ===
Line 54: Line 60:


=== particle_start_scale ===
=== particle_start_scale ===
'''Type''': [[Types/float]]
'''Default''': 1
=== particle_alpha_per_part ===
'''Type''': [[Types/float]]
'''Default''': 1
=== particle_scale_per_part ===
'''Type''': [[Types/float]]
'''Type''': [[Types/float]]


Line 73: Line 89:


=== particle_loop_frame_count ===
=== particle_loop_frame_count ===
'''Type''': [[Types/uint32]]
'''Type''': [[Types/uint16]]


'''Default''': 1
'''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.
Will be set to 1 by the game if less than 1.
Line 90: Line 113:
=== smoke_sources ===
=== smoke_sources ===
'''Type''': [[Types/table]] of [[Types/SmokeSource]]
'''Type''': [[Types/table]] of [[Types/SmokeSource]]
=== progress_to_create_smoke ===
'''Type''': [[Types/float]]
'''Default''': 0.5


=== stream_light ===
=== stream_light ===
Line 96: Line 124:
=== ground_light ===
=== ground_light ===
'''Type''': [[Types/LightDefinition]]
'''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

Revision as of 13:34, 13 April 2019

Basics

Prototype type: stream

Extends Prototype/Entity.

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 * particle_spawn_interval

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