Prototype/FluidStream

From Official Factorio Wiki
Revision as of 13:34, 13 April 2019 by Bilka (talk | contribs) (0.17)
Jump to navigation Jump to search

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