Prototype/ArtilleryWagon: 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/RollingStock}}
{{Prototype parent|Prototype/RollingStock}}
An [[artillery wagon]].


== Basics ==
{{Prototype TOC|artillery-wagon}}
Prototype type: '''artillery-wagon'''
 
An [[artillery wagon]]. Extends [[Prototype/RollingStock]].


== Mandatory properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/RollingStock]].
This prototype inherits all the properties from [[Prototype/RollingStock]].


=== gun ===
{{Prototype property|gun|[[Types/string|string]]}}
'''Type''': [[Types/string]]
 
Name of a [[Prototype/Gun]].
Name of a [[Prototype/Gun]].


=== inventory_size ===
{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]]}}
'''Type''': [[Types/ItemStackIndex]]
 
Must be > 0.
Must be > 0.


=== ammo_stack_limit ===
{{Prototype property|ammo_stack_limit|[[Types/ItemCountType|ItemCountType]]}}
'''Type''': [[Types/ItemCountType]]
 
Must be > 0.
Must be > 0.


=== turret_rotation_speed ===
{{Prototype property|turret_rotation_speed|[[Types/double|double]]}}
'''Type''': [[Types/double]]
 
=== manual_range_modifier ===
'''Type''': [[Types/double]]


{{Prototype property|manual_range_modifier|[[Types/double|double]]}}
Must be > 0.
Must be > 0.


== Optional properties ==
== Optional properties ==


=== disable_automatic_firing ===
{{Prototype property|disable_automatic_firing|[[Types/bool|bool]]|false|optional=true}}
'''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 ===
{{Prototype property|cannon_base_pictures|[[Types/RotatedSprite|RotatedSprite]]|optional=true}}
'''Type''': [[Types/uint16]]


'''Default''': 0
{{Prototype property|cannon_barrel_pictures|[[Types/RotatedSprite|RotatedSprite]]|optional=true}}


=== cannon_parking_speed ===
{{Prototype property|turn_after_shooting_cooldown|[[Types/uint16|uint16]]|0|optional=true}}
'''Type''': [[Types/float]]


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


=== cannon_base_shiftings ===
{{Prototype property|cannon_parking_speed|[[Types/float|float]]|1|optional=true}}
'''Type''': [[Types/table]] of [[Types/vector]]


{{Prototype property|cannon_base_shiftings|[[Types/table|table]] of [[Types/vector|vector]]|optional=true}}
Must match <code>cannon_base_pictures</code> frame count.
Must match <code>cannon_base_pictures</code> frame count.


=== cannon_barrel_recoil_shiftings ===
{{Prototype property|cannon_barrel_recoil_shiftings|[[Types/table|table]] of [[Types/Vector3D|Vector3D]]|optional=true}}
'''Type''': [[Types/table]] of [[Types/Vector3D]]
 
=== cannon_barrel_recoil_shiftings_load_correction_matrix ===
'''Type''': [[Types/table]] of [[Types/Vector3D]]


{{Prototype property|cannon_barrel_recoil_shiftings_load_correction_matrix|[[Types/table|table]] of [[Types/Vector3D|Vector3D]]|optional=true}}
Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded.
Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded.


=== cannon_barrel_light_direction ===
{{Prototype property|cannon_barrel_light_direction|[[Types/Vector3D|Vector3D]]|optional=true}}
'''Type''': [[Types/Vector3D]]
 
Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded.
Only loaded if <code>cannon_barrel_recoil_shiftings</code> is loaded.

Revision as of 21:01, 5 August 2019