Prototype/Particle

From Official Factorio Wiki
Revision as of 13:16, 20 February 2020 by Bilka (talk | contribs) (0.18)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Prototype definitions » PrototypeBase » Prototype/Particle


An entity with a limited lifetime that can use trigger effects


Prototype/Particle — optimized-particle
life_time::uint16
pictures::AnimationVariations
render_layer::RenderLayer
render_layer_when_on_ground::RenderLayer
ended_in_water_trigger_effect::TriggerEffect (optional)
ended_on_ground_trigger_effect::TriggerEffect (optional)
mining_particle_frame_speed::float (optional)
movement_modifier::double (optional)
movement_modifier_when_on_ground::double (optional)
regular_trigger_effect::TriggerEffect (optional)
regular_trigger_effect_frequency::uint32 (optional)
shadows::AnimationVariations (optional)
Inherited from PrototypeBase
name::string
type::string
localised_description::LocalisedString (optional)
localised_name::LocalisedString (optional)
order::Order (optional)

Mandatory properties

This prototype inherits all the properties from PrototypeBase.

pictures

Type: AnimationVariations
Picture variation count and individual frame count must be equal to shadow variation count.

life_time

Type: uint16
Can't be 1.

Optional properties

shadows

Type: AnimationVariations
Shadow variation variation count and individual frame count must be equal to picture variation count.

regular_trigger_effect

Type: TriggerEffect

ended_in_water_trigger_effect

Type: TriggerEffect

ended_on_ground_trigger_effect

Type: TriggerEffect

render_layer

Type: RenderLayer
Default: "object"

render_layer_when_on_ground

Type: RenderLayer
Default: "lower-object"

regular_trigger_effect_frequency

Type: uint32
Default: 0
Can't be 1.

movement_modifier_when_on_ground

Type: double
Default: 0.8

movement_modifier

Type: double
Default: 1

mining_particle_frame_speed

Type: float
Default: 0