Prototype/AmmoItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added AmmoItem prototype based off of observed values in base ammo.lua file)
(No difference)

Revision as of 11:55, 28 June 2019

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.