Prototype/ArtilleryFlare: 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/Particle}}
{{Prototype parent|Prototype/Particle}}
The entity spawned by the [[artillery targeting remote]].


== Basics ==
{{Prototype TOC|artillery-flare}}
Prototype type: '''artillery-flare'''


The entity spawned by the [[artillery targeting remote]]. Extends [[Prototype/Particle]].
== Optional properties ==
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/Particle]].
This prototype inherits all the properties from [[Prototype/Particle]].


== Optional properties ==
{{Prototype property|creation_shift|[[Types/vector|vector]]|optional=true}}
 
=== creation_shift ===
'''Type''': [[Types/vector]]
 
=== initial_speed ===
'''Type''': [[Types/vector]]
 
=== initial_height ===
'''Type''': [[Types/float]]
 
'''Default''': 0
 
=== initial_vertical_speed ===
'''Type''': [[Types/float]]
 
'''Default''': 0
 
=== initial_frame_speed ===
'''Type''': [[Types/float]]


'''Default''': 1
{{Prototype property|initial_speed|[[Types/vector|vector]]|optional=true}}


=== shots_per_flare ===
{{Prototype property|initial_height|[[Types/float|float]]|0|optional=true}}
'''Type''': [[Types/uint32]]


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


=== early_death_ticks ===
{{Prototype property|initial_frame_speed|[[Types/float|float]]|1|optional=true}}
'''Type''': [[Types/uint32]]


'''Default''': 3 * 60
{{Prototype property|shots_per_flare|[[Types/uint32|uint32]]|1|optional=true}}


=== shot_category ===
{{Prototype property|early_death_ticks|[[Types/uint32|uint32]]|3 * 60|optional=true}}
'''Type''': [[Types/string]]


{{Prototype property|shot_category|[[Types/string|string]]|optional=true}}
Name of a [[Prototype/AmmoCategory]].
Name of a [[Prototype/AmmoCategory]].


== Differing defaults ==
== Differing defaults ==
<code>map_color</code> is mandatory.
<code>map_color</code> is mandatory.

Revision as of 21:15, 5 August 2019