Prototype/Gun: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == A gun. A weapon to deal damage to entities. == Properties == === type === '''Type''': Types/string Must be "gun". === name === '''Type''': Types/string...")
(No difference)

Revision as of 05:15, 15 July 2017

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/string

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