Factorio Prototype DocsVersion 2.0.19

CreateParticleTriggerEffectItem :: struct

Inherits from TriggerEffectItem
Children

Properties

type :: "create-particle"
particle_name :: ParticleID
initial_height :: float
offset_deviation optional :: SimpleBoundingBox
tile_collision_mask optional :: CollisionMaskConnector
offsets optional :: array[Vector]
initial_height_deviation optional :: float
initial_vertical_speed optional :: float
initial_vertical_speed_deviation optional :: float
speed_from_center optional :: float
speed_from_center_deviation optional :: float
frame_speed optional :: float
frame_speed_deviation optional :: float
movement_multiplier optional :: float
tail_length optional :: uint8

Silently capped to a maximum of 100.

Silently capped to a maximum of 100.

tail_length_deviation optional :: uint8

Silently capped to a maximum of 100.

Silently capped to a maximum of 100.

tail_width optional :: float
rotate_offsets optional :: bool
only_when_visible optional :: bool

Create particles only when they are in 200 tiles range of any connected player.

Create particles only when they are in 200 tiles range of any connected player.

apply_tile_tint optional :: "primary" or "secondary"
tint optional :: Color

Only loaded if apply_tile_tint is not defined.

Only loaded if apply_tile_tint is not defined.

Inherited from TriggerEffectItem
repeat_count optional :: uint16
repeat_count_deviation optional :: uint16
probability optional :: float

Must be greater than 0 and less than or equal to 1.

Must be greater than 0 and less than or equal to 1.

affects_target optional :: bool
show_in_tooltip[overridden] optional :: bool
damage_type_filters optional :: DamageTypeFilters

Properties

type :: "create-particle"

particle_name :: ParticleID

initial_height :: float

offset_deviation :: SimpleBoundingBox optional

tile_collision_mask :: CollisionMaskConnector optional

offsets :: array[Vector] optional

initial_height_deviation :: float optional

Default: 0

initial_vertical_speed :: float optional

Default: 0

initial_vertical_speed_deviation :: float optional

Default: 0

speed_from_center :: float optional

Default: 0

speed_from_center_deviation :: float optional

Default: 0

frame_speed :: float optional

Default: 1

frame_speed_deviation :: float optional

Default: 0

movement_multiplier :: float optional

Default: 0

tail_length :: uint8 optional

Default: 0

Silently capped to a maximum of 100.

tail_length_deviation :: uint8 optional

Default: 0

Silently capped to a maximum of 100.

tail_width :: float optional

Default: 1

rotate_offsets :: bool optional

Default: false

only_when_visible :: bool optional

Default: false

Create particles only when they are in 200 tiles range of any connected player.

apply_tile_tint :: "primary" or "secondary" optional

tint :: Color optional

Default: {1, 1, 1, 1} (white)

Only loaded if apply_tile_tint is not defined.

Overridden Properties

show_in_tooltip :: bool optional

Default: false

Prototypes

Types

Defines