Types/DamagePrototype: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "A property type, NOT a prototype. Used to specify what type of damage and how much damage something deals. == Mandatory properties == === amount === '''Type''': Types/floa...")
(No difference)

Revision as of 19:16, 27 May 2018

A property type, NOT a prototype. Used to specify what type of damage and how much damage something deals.

Mandatory properties

amount

Type: Types/float

type

Type: Types/string

The type of damage. See Data.raw#damage-type for a list of built-in types, and Prototype/DamageType for creating custom types.