In other languages:

Prototype/DamageType: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page.)
 
No edit summary
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 16:01, 26 August 2016

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.