Prototype/Gun: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.16)
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''gun'''
A gun. A weapon to deal damage to entities. Extends [[Prototype/Item]].
A gun. A weapon to deal damage to entities. Extends [[Prototype/Item]].



Revision as of 16:28, 21 January 2019

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.