Prototype/Particle: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
{{Prototype parent|Prototype/Entity}}
An entity with a limited lifetime that can use trigger effects


== Basics ==
{{Prototype TOC|particle}}
Prototype type: '''particle'''
 
Extends [[Prototype/Entity]].


== Extensions ==
== Extensions ==
Line 13: Line 11:
This prototype inherits all the properties from [[Prototype/Entity]].
This prototype inherits all the properties from [[Prototype/Entity]].


=== pictures ===
{{Prototype property|pictures|[[Types/AnimationVariations|AnimationVariations]]}}
'''Type''': [[Types/AnimationVariations]]
 
Picture variation count and individual frame count must be equal to shadow variation count.
Picture variation count and individual frame count must be equal to shadow variation count.


=== life_time ===
{{Prototype property|life_time|[[Types/uint16|uint16]]}}
'''Type''': [[Types/uint16]]


== Optional properties ==
== Optional properties ==


=== shadows ===
{{Prototype property|shadows|[[Types/AnimationVariations|AnimationVariations]]|optional=true}}
'''Type''': [[Types/AnimationVariations]]
 
Shadow variation variation count and individual frame count must be equal to picture variation count.
Shadow variation variation count and individual frame count must be equal to picture variation count.


=== regular_trigger_effect ===
{{Prototype property|regular_trigger_effect|[[Types/TriggerEffect|TriggerEffect]]|optional=true}}
'''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
{{Prototype property|regular_trigger_effect_frequency|[[Types/uint32|uint32]]|0|optional=true}}


=== movement_modifier ===
{{Prototype property|ended_in_water_trigger_effect|[[Types/TriggerEffect|TriggerEffect]]|optional=true}}
'''Type''': [[Types/double]]


'''Default''': 1
{{Prototype property|movement_modifier_when_on_ground|[[Types/double|double]]|0.8|optional=true}}


=== mining_particle_frame_speed ===
{{Prototype property|movement_modifier|[[Types/double|double]]|1|optional=true}}
'''Type''': [[Types/float]]


'''Default''': 0
{{Prototype property|mining_particle_frame_speed|[[Types/float|float]]|0|optional=true}}

Revision as of 21:13, 5 August 2019

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

Template:Prototype TOC

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

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

Template:Prototype property

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