Prototype/ArtilleryWagon: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Removed old prototype docs)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Basics ==
<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/ArtilleryWagonPrototype.html https://lua-api.factorio.com/latest/prototypes/ArtilleryWagonPrototype.html]
Prototype type: '''artillery-wagon'''


An [[artillery wagon]]. Extends [[Prototype/RollingStock]].
</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/RollingStock]].
 
=== gun ===
'''Type''': [[Types/string]]
 
Name of a [[Prototype/Gun]].
 
=== inventory_size ===
'''Type''': [[Types/ItemStackIndex]]
 
Must be > 0.
 
=== ammo_stack_limit ===
'''Type''': [[Types/ItemCountType]]
 
Must be > 0.
 
=== turret_rotation_speed ===
'''Type''': [[Types/double]]
 
=== manual_range_modifier ===
'''Type''': [[Types/double]]
 
Must be > 0.
 
== Optional properties ==
 
=== disable_automatic_firing ===
'''Type''': [[Types/bool]]
 
'''Default''': false
 
=== cannon_base_pictures ===
'''Type''': [[Types/RotatedSprite]]
 
=== cannon_barrel_pictures ===
'''Type''': [[Types/RotatedSprite]]
 
=== turn_after_shooting_cooldown ===
'''Type''': [[Types/uint16]]
 
'''Default''': 0
 
=== cannon_parking_frame_count ===
'''Type''': [[Types/uint16]]
 
'''Default''': 0
 
=== cannon_parking_speed ===
'''Type''': [[Types/float]]
 
'''Default''': 1
 
=== cannon_base_shiftings ===
'''Type''': [[Types/table]] of [[Types/vector]]
 
Must match <code>cannon_base_pictures</code> frame count.
 
=== cannon_barrel_recoil_shiftings ===
'''Type''': [[Types/table]] of [[Types/Vector3D]]
 
=== cannon_barrel_recoil_shiftings_load_correction_matrix ===
'''Type''': [[Types/table]] of [[Types/Vector3D]]
 
Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded.
 
=== cannon_barrel_light_direction ===
'''Type''': [[Types/Vector3D]]
 
Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded.

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/ArtilleryWagonPrototype.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.