Prototype/ArtilleryTurret

From Official Factorio Wiki
Revision as of 15:44, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/ArtilleryTurret


Basics

Prototype type: artillery-turret

An artillery turret. Extends Prototype/EntityWithHealth.

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

gun

Type: Types/string

Name of an item.

inventory_size

Type: Types/ItemStackIndex

Must be > 0.

ammo_stack_limit

Type: Types/ItemCountType

Must be > 0.

automated_ammo_count

Type: Types/ItemCountType

turret_rotation_speed

Type: Types/double

manual_range_modifier

Type: Types/double

Must be positive.

Optional properties

alert_when_attacking

Type: Types/bool

Default: true

disable_automatic_firing

Type: Types/bool

Default: false

base_picture_secondary_draw_order

Type: Types/uint8

Default: 0

base_picture_render_layer

Type: Types/RenderLayer

Default: "lower-object"

base_shift

Type: Types/vector

base_picture

Type: Types/Animation4Way

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/uint16

Default: 1

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.