Types/ItemIngredientPrototype: Difference between revisions
Jump to navigation
Jump to search
(link typos) |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__An item ingredient definition for a [[Prototype/Recipe]]. Its loading is triggered by the <code>type</code> of a [[ | __NOTOC__An item ingredient definition for a [[Prototype/Recipe]]. Its loading is triggered by the <code>type</code> of a [[Types/IngredientPrototype]] being "item". It can be specified as a table with named or numbered keys, but not a mix of both. | ||
== Mandatory properties == | == Mandatory properties == |
Revision as of 17:40, 26 July 2018
An item ingredient definition for a Prototype/Recipe. Its loading is triggered by the type
of a Types/IngredientPrototype being "item". It can be specified as a table with named or numbered keys, but not a mix of both.
Mandatory properties
name or 1
Type: Types/string
The name of a Prototype/Item.
amount or 2
Type: Types/uint16