Prototype/AmmoItem

From Official Factorio Wiki
Revision as of 22:41, 28 June 2019 by Cyberslas (talk | contribs) (Copied over from reload_time LuaItemPrototype description)
Jump to navigation Jump to search

Basics

Prototype type: ammo

Ammo used for a gun.

Mandatory properties

Inherits all properties from Prototype/Item.

ammo_type

Type: Types/AmmoType

Optional properties

magazine_size

Type: Types/uint32

Default: 1

Number of shots before ammo item is consumed.

reload_time

Type: Types/float

Default: 0

Amount of extra time (in ticks) it takes to reload the weapon after depleting the magazine.