Prototype/DamageType: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (removed lang template)
(overhaul to include Prototype)
Line 5: Line 5:


== Properties ==
== Properties ==
=== type ===
Inherits all properties from [[Prototype]].
'''Type''': [[Types/string]]
 
Must be "damage-type".
 
=== name ===
'''Type''': [[Types/string]]
 
The unique name of this damage type.

Revision as of 12:53, 23 January 2018

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

Inherits all properties from Prototype.