Prototype/FluidStream

From Official Factorio Wiki
Revision as of 16:28, 21 January 2019 by BilkaBot (talk | contribs) (Added prototype type to page)
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_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 * 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_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