Prototype/AmmoItem

From Official Factorio Wiki
Revision as of 15:16, 26 July 2019 by Bilka (talk | contribs) (Converted to SMW format)
Jump to navigation Jump to search

Template:Prototype parent Ammo used for a gun.

Template:Prototype TOC

Mandatory properties

Inherits all properties from Prototype/Item.

Template:Prototype property When using a vector of AmmoType, the AmmoType has an extra property:

  • source_type - AmmoSourceType - Mandatory. - Defines for which kind of entity this ammo type applies. Each entity kind can only be used once per array.

When using a plain AmmoType, the ammo type applies to everything ("default").

Optional properties

Template:Prototype property Number of shots before ammo item is consumed. Must be >= 1.

Template:Prototype property Amount of extra time (in ticks) it takes to reload the weapon after depleting the magazine. Must be >= 0.