Prototype/Explosion: 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. === sound === '''Type''': Types...")
 
(added extensions)
Line 1: Line 1:
== Basics ==
== Basics ==
Extends [[Prototype/Entity]].
Extends [[Prototype/Entity]].
== Extensions ==
* [[Prototype/FlameThrowerExplosion]] '''flame-thrower-explosion'''


== 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.

sound

Type: Types/Sound

Optional properties

animations

Type: Types/AnimationVariations

Must have at least 1 animation frame.

rotate

Type: Types/bool

Default: false

beam

Type: Types/bool

Default: false

shift_by_projectile_height

Type: Types/bool

Default: true

correct_rotation

Type: Types/bool

Default: false

smoke

Type: Types/string

Name of a trivial-smoke prototype. Mandatory if smoke_count < 0.

smoke_count

Type: Types/uint16

Default: 0

smoke_slow_down_factor

Type: Types/float

Default: 0

light

Type: Types/LightDefinition