Prototype/Tool

From Official Factorio Wiki
Revision as of 15:26, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

Prototype definitions » PrototypeBase » Prototype/Item » Prototype/Tool


Basics

Prototype type: tool

Items with a "durability". Used for science packs. Extends Prototype/Item.

Extensions

Optional properties

This prototype inherits all the properties from Prototype/Item.

durability

Type: Types/double

Must be positive. Mandatory if infinite is false.

durability_description_key

Type: Types/string

Default: "description.durability-key"

durability_description_value

Type: Types/string

Default: "description.durability-value"

infinite

Type: Types/bool

Default: true