Types/ItemIngredientPrototype: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__An item ingredient definition for a Prototype/Recipe. Its loading is triggered by the <code>type</code> of a Prototype/IngredientPrototype being "item". It ca...")
 
(link typos)
Line 12: Line 12:


== See also ==
== See also ==
* [[Prototype/IngredientPrototype]]
* [[Types/IngredientPrototype]]
* [[Prototype/FluidIngredientPrototype]]
* [[Types/FluidIngredientPrototype]]

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 Prototype/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

See also