Prototype/ArtilleryFlare: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.18)
(Removed old prototype docs)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/ArtilleryFlarePrototype.html https://lua-api.factorio.com/latest/prototypes/ArtilleryFlarePrototype.html]
The entity spawned by the [[artillery targeting remote]].


{{Prototype TOC|artillery-flare}}
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/Entity]].
 
{{Prototype property|pictures|[[Types/AnimationVariations|AnimationVariations]]}}
Picture variation count and individual frame count must be equal to shadow variation count.
 
{{Prototype property|life_time|[[Types/uint16|uint16]]}}
 
== Optional properties ==
 
{{Prototype property|shadows|[[Types/AnimationVariations|AnimationVariations]]|optional=true}}
Shadow variation variation count and individual frame count must be equal to picture variation count.
 
{{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"object"}}
 
{{Prototype property|render_layer_when_on_ground|[[Types/RenderLayer|RenderLayer]]|"lower-object"}}
 
{{Prototype property|regular_trigger_effect|[[Types/TriggerEffect|TriggerEffect]]|optional=true}}
 
{{Prototype property|regular_trigger_effect_frequency|[[Types/uint32|uint32]]|0|optional=true}}
 
{{Prototype property|ended_in_water_trigger_effect|[[Types/TriggerEffect|TriggerEffect]]|optional=true}}
 
{{Prototype property|movement_modifier_when_on_ground|[[Types/double|double]]|0.8|optional=true}}
 
{{Prototype property|movement_modifier|[[Types/double|double]]|1|optional=true}}
 
{{Prototype property|creation_shift|[[Types/vector|vector]]|optional=true}}
 
{{Prototype property|initial_speed|[[Types/vector|vector]]|optional=true}}
 
{{Prototype property|initial_height|[[Types/float|float]]|0|optional=true}}
 
{{Prototype property|initial_vertical_speed|[[Types/float|float]]|0|optional=true}}
 
{{Prototype property|initial_frame_speed|[[Types/float|float]]|1|optional=true}}
 
{{Prototype property|shots_per_flare|[[Types/uint32|uint32]]|1|optional=true}}
How many artillery shots should be fired at the position of this flare.
 
{{Prototype property|early_death_ticks|[[Types/uint32|uint32]]|3 * 60|optional=true}}
How long this flare stays alive after <code>shots_per_flare</code> amount of shots have been shot at it.
 
{{Prototype property|shot_category|[[Types/string|string]]|optional=true}}
Name of a [[Prototype/AmmoCategory]].
 
== Differing defaults ==
<code>map_color</code> is mandatory.
 
<code>selection_priority</code> defaults to 48 instead of 50.

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/ArtilleryFlarePrototype.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.