Prototype/Particle: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
== Basics ==
== Basics ==
Prototype type: '''particle'''
Prototype type: '''particle'''

Revision as of 15:20, 24 July 2019

Prototype definitions » PrototypeBase » Prototype/Particle


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