Prototype/DamageType: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
m (removed lang template)
Line 1: Line 1:
{{Languages}}
== Basics ==
== Basics ==
A damage type. This is used in the [[Damage|damage system]]. [[Damage#Damage_Types|A list of built-in damage types can be found here]].
A damage type. This is used in the [[Damage|damage system]]. [[Damage#Damage_Types|A list of built-in damage types can be found here]].

Revision as of 14:13, 2 September 2017

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.