Prototype/Gun: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/Item}}
== Basics ==
== Basics ==
Prototype type: '''gun'''
Prototype type: '''gun'''

Revision as of 15:26, 24 July 2019

Template:Prototype parent

Basics

Prototype type: gun

A gun. A weapon to deal damage to entities. Extends Prototype/Item.

Mandatory properties

This prototype inherits all the properties from Prototype/Item.

attack_parameters

Type: Types/AttackParameters

The information the item needs to know in order to know what ammo it requires, the sounds, and range.