Prototype/ParticleSource: Difference between revisions
Jump to navigation
Jump to search
m (→Mandatory properties: particles aren't entities) |
(1.0.0: particle is now optional, added smoke property) |
||
Line 6: | Line 6: | ||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Entity]]. | This prototype inherits all the properties from [[Prototype/Entity]]. | ||
{{Prototype property|time_to_live|[[Types/float|float]]}} | {{Prototype property|time_to_live|[[Types/float|float]]}} | ||
Line 21: | Line 18: | ||
== Optional properties == | == Optional properties == | ||
{{Prototype property|particle|[[Types/string|string]]|optional=true}} | |||
Name of a [[Prototype/Particle]]. Either this or <code>smoke</code> must be defined. | |||
{{Prototype property|smoke|[[Types/table|table]] of [[Types/SmokeSource|SmokeSource]]|optional=true}} | |||
Array of 1 or more smoke sources. Either this or <code>particle</code> must be defined. | |||
{{Prototype property|time_to_live_deviation|[[Types/float|float]]|0|optional=true}} | {{Prototype property|time_to_live_deviation|[[Types/float|float]]|0|optional=true}} |
Revision as of 11:31, 8 September 2020
Template:Prototype parent Creates particles.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
Optional properties
Template:Prototype property
Name of a Prototype/Particle. Either this or smoke
must be defined.
Template:Prototype property
Array of 1 or more smoke sources. Either this or particle
must be defined.