Prototype/Explosion: Difference between revisions
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}} | ||
Used to play an animation and a sound. | |||
{{Prototype TOC|explosion}} | |||
Prototype | |||
== Extensions == | == Extensions == | ||
Line 12: | Line 10: | ||
This prototype inherits all the properties from [[Prototype/Entity]]. | This prototype inherits all the properties from [[Prototype/Entity]]. | ||
{{Prototype property|animations|[[Types/AnimationVariations|AnimationVariations]]}} | |||
Must have at least 1 animation frame. | Must have at least 1 animation frame. | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property|sound|[[Types/Sound|Sound]]|optional=true}} | |||
{{Prototype property|rotate|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|beam|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|height|[[Types/float|float]]|1|optional=true}} | |||
{{Prototype property|correct_rotation|[[Types/bool|bool]]|false|optional=true}} | |||
{{Prototype property|smoke|[[Types/string|string]]|optional=true}} | |||
Name of a trivial-smoke prototype. Mandatory if <code>smoke_count</code> > 0. | Name of a trivial-smoke prototype. Mandatory if <code>smoke_count</code> > 0. | ||
{{Prototype property|smoke_count|[[Types/uint16|uint16]]|0|optional=true}} | |||
{{Prototype property|smoke_slow_down_factor|[[Types/float|float]]|0|optional=true}} | |||
{{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}} | |||
Revision as of 21:05, 5 August 2019
Template:Prototype parent Used to play an animation and a sound.
Extensions
- Prototype/FlameThrowerExplosion flame-thrower-explosion
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
Template:Prototype property Must have at least 1 animation frame.
Optional properties
Template:Prototype property
Name of a trivial-smoke prototype. Mandatory if smoke_count
> 0.