Prototype/DamageType

From Official Factorio Wiki
Revision as of 07:57, 12 February 2014 by Immibis (talk | contribs) (Created page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

A damage type. This is used in the damage system. A list of built-in damage types can be found here.

Damage types have no special properties by themselves, but must still be registered if you want to use them.

Properties

type

Type: Types/string

Must be "damage-type".

name

Type: Types/string

The unique name of this damage type.