Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## ItemIngredientPrototype :: struct Example code

An item ingredient definition.

## Properties

- default
- sorted

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.

amount | :: uint16 | Cannot be `0`.
Cannot be `0`.
name | :: ItemID |
type | :: `"item"` |
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}

Type used in

- IngredientPrototype