Factorio Prototype DocsVersion 2.0.18

ItemIngredientPrototype :: struct Example code

An item ingredient definition.

Properties

type :: "item"
name :: ItemID
amount :: uint16

Cannot be 0.

Cannot be 0.

ignored_by_stats optional :: uint16

Amount that should not be included in the consumption statistics, typically with a matching product having the same amount set as ignored_by_stats.

Amount that should not be included in the consumption statistics, typically with a matching product having the same amount set as ignored_by_stats.

Properties

type :: "item"

name :: ItemID

amount :: uint16

Cannot be 0.

ignored_by_stats :: uint16 optional

Default: 0

Amount that should not be included in the consumption statistics, typically with a matching product having the same amount set as ignored_by_stats.

Examples

{type="item", name="steel-plate", amount=8}
{type="item", name="iron-plate", amount=12}

Prototypes

Types

Defines