Prototype/Particle: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(added extensions)
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''particle'''
Extends [[Prototype/Entity]].
Extends [[Prototype/Entity]].



Revision as of 16:28, 21 January 2019

Basics

Prototype type: particle

Extends Prototype/Entity.

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

pictures

Type: Types/AnimationVariations

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

life_time

Type: Types/uint16

Optional properties

shadows

Type: Types/AnimationVariations

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

regular_trigger_effect

Type: Types/TriggerEffect

regular_trigger_effect_frequency

Type: Types/uint32

Default: 0

ended_in_water_trigger_effect

Type: Types/TriggerEffect

movement_modifier_when_on_ground

Type: Types/double

Default: 0.8

movement_modifier

Type: Types/double

Default: 1

mining_particle_frame_speed

Type: Types/float

Default: 0