Types/AmmoType: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "==Basics== Definition of actual parameters used in attack. == Mandatory properties == === category === '''Type''': Prototype/AmmoCategory Defines whether the attack will...")
 
Line 10: Line 10:
== action ==
== action ==
'''Type''': [[Lua/Table]] of [[Prototype/Action]]
'''Type''': [[Lua/Table]] of [[Prototype/Action]]
Describes actions taken upon attack happening.
Describes actions taken upon attack happening.

Revision as of 12:54, 4 October 2015

Basics

Definition of actual parameters used in attack.

Mandatory properties

category

Type: Prototype/AmmoCategory Defines whether the attack will be affected by upgrades.

Optional properties

action

Type: Lua/Table of Prototype/Action

Describes actions taken upon attack happening.