Prototype/AmmoItem

From Official Factorio Wiki
Revision as of 11:55, 28 June 2019 by Cyberslas (talk | contribs) (Added AmmoItem prototype based off of observed values in base ammo.lua file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.