Prototype/ArtilleryWagon

From Official Factorio Wiki
Revision as of 16:38, 5 October 2018 by Bilka (talk | contribs) (Created page with "== Basics == An artillery wagon. Extends Prototype/RollingStock. == Mandatory properties == This prototype inherits all the properties from Prototype/RollingStock...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

An artillery wagon. Extends Prototype/RollingStock.

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

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 cannon_base_pictures 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 cannon_barrel_recoil_shiftings is loaded.

cannon_barrel_light_direction

Type: Types/Vector3D

Only loaded if cannon_barrel_recoil_shiftings is loaded.