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 edit summary
Line 14: Line 14:


=== attack_parameters ===
=== attack_parameters ===
'''Type''': [[Types/string]]
'''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]])
The information the item needs to know in order to know what ammo it requires, the sounds, and range. (See: [[Types/AttackParameters]])

Revision as of 05:28, 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/AttackParameters

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