Prototype/Particle: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Extends Prototype/Entity. == Mandatory properties == This prototype inherits all the properties from Prototype/Entity. === pictures === '''Type''': Ty...")
 
(added extensions)
Line 1: Line 1:
== Basics ==
== Basics ==
Extends [[Prototype/Entity]].
Extends [[Prototype/Entity]].
== Extensions ==
* [[Prototype/ArtilleryFlare]] '''artillery-flare'''
* [[Prototype/LeafParticle]] '''leaf-particle'''


== Mandatory properties ==
== Mandatory properties ==

Revision as of 15:16, 21 January 2019

Basics

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