Prototype/Particle: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.18.18: draw_shadow_when_on_ground)
(0.18.19: vertical_acceleration, fade_away_duration)
Line 36: Line 36:


{{Prototype property|movement_modifier|[[Types/double|double]]|1|optional=true}}
{{Prototype property|movement_modifier|[[Types/double|double]]|1|optional=true}}
{{Prototype property|vertical_acceleration|[[Types/float|float]]|-0.004|optional=true}}
Has to be >= -0.01 and <= 0.01.


{{Prototype property|mining_particle_frame_speed|[[Types/float|float]]|0|optional=true}}
{{Prototype property|mining_particle_frame_speed|[[Types/float|float]]|0|optional=true}}
{{Prototype property|fade_away_duration|[[Types/uint16|uint16]]|optional=true}}
Defaults to <code>life_time</code> / 5, but at most 60. If this is 0, it is silently changed to 1.

Revision as of 16:33, 22 April 2020

Template:Prototype parent An entity with a limited lifetime that can use trigger effects

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from PrototypeBase.

Template:Prototype property Picture variation count and individual frame count must be equal to shadow variation count.

Template:Prototype property Can't be 1.

Optional properties

Template:Prototype property Shadow variation variation count and individual frame count must be equal to picture variation count.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Can't be 1.

Template:Prototype property

Template:Prototype property

Template:Prototype property Has to be >= -0.01 and <= 0.01.

Template:Prototype property

Template:Prototype property Defaults to life_time / 5, but at most 60. If this is 0, it is silently changed to 1.