Types/DamagePrototype

From Official Factorio Wiki
Jump to navigation Jump to search

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.