Types/ItemIngredientPrototype

From Official Factorio Wiki
Revision as of 12:18, 13 April 2019 by Bilka (talk | contribs) (0.17)
Jump to navigation Jump to search

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

Optional properties

catalyst_amount

Type: Types/uint16

Default: 0

Only loaded if the table is using named keys.

See also