Prototype/Armor: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Armor to wear on your in-game character for defense, and buffs. == Properties == === type === '''Type''': Types/string Must be "armor". === name === '''Typ...")
 
(0.16)
Line 1: Line 1:
== Basics ==
== Basics ==
Armor to wear on your in-game character for defense, and buffs.
Armor to wear on your in-game character for defense, and buffs.Extends [[Prototype/Tool]].


== Properties ==
== Optional properties ==
=== type ===
This prototype inherits all the properties from [[Prototype/Tool]].
'''Type''': [[Types/string]]


Must be "armor".
=== equipment_grid ===
 
=== name ===
'''Type''': [[Types/string]]
'''Type''': [[Types/string]]


The unique name of this armor.
Name of the [[Prototype/EquipmentGrid]] that this armor has.
 
=== durability ===
'''type''': [[Types/double]]
 
The amount of durability the set of armor has, before it loses all of its health and breaks.


=== resistances ===
=== resistances ===
Line 22: Line 14:


What amount of damage the armor takes on what type of damage is incoming.
What amount of damage the armor takes on what type of damage is incoming.
=== inventory_size_bonus ===
'''Type''': [[Types/ItemStackIndex]]
By how many slots the inventory of the player is expanded when the armor is worn.

Revision as of 09:56, 22 May 2018

Basics

Armor to wear on your in-game character for defense, and buffs.Extends Prototype/Tool.

Optional properties

This prototype inherits all the properties from Prototype/Tool.

equipment_grid

Type: Types/string

Name of the Prototype/EquipmentGrid that this armor has.

resistances

Type: Types/Resistances

What amount of damage the armor takes on what type of damage is incoming.

inventory_size_bonus

Type: Types/ItemStackIndex

By how many slots the inventory of the player is expanded when the armor is worn.