Prototype/Tool: Difference between revisions
Jump to navigation
Jump to search
(added extensions) |
(Added prototype type to page) |
||
Line 1: | Line 1: | ||
== Basics == | == Basics == | ||
Prototype type: '''tool''' | |||
Items with a "durability". Used for [[science pack]]s. Extends [[Prototype/Item]]. | Items with a "durability". Used for [[science pack]]s. Extends [[Prototype/Item]]. | ||
Revision as of 16:28, 21 January 2019
Basics
Prototype type: tool
Items with a "durability". Used for science packs. Extends Prototype/Item.
Extensions
- Prototype/Armor armor
- Prototype/MiningTool mining-tool
- Prototype/RepairTool repair-tool
Mandatory properties
This prototype inherits all the properties from Prototype/Item.
durability
Type: Types/double
Must be positive.
Optional properties
durability_description_key
Type: Types/string
Default: "description.durability-key"
durability_description_value
Type: Types/string
Default: "description.durability-value"