Prototype/Gun

From Official Factorio Wiki
Revision as of 05:28, 15 July 2017 by LazyFridge (talk | contribs)
Jump to navigation Jump to search

Basics

A gun. A weapon to deal damage to entities.

Properties

type

Type: Types/string

Must be "gun".

name

Type: Types/string

The unique name of this gun.

attack_parameters

Type: Types/AttackParameters

The information the item needs to know in order to know what ammo it requires, the sounds, and range. (See: Types/AttackParameters)