Factorio Runtime DocsVersion 2.0.14

SimpleItemStack :: union

An item stack may be specified in one of two ways.

Union members

string

The name of the item, which represents a full stack of that item.

ItemStackDefinition

The detailed definition of an item stack.

Examples

-- Both of these lines specify an item stack of one iron plate
{name="iron-plate"}
{name="iron-plate", count=1}
-- This is a stack of 47 copper plates
{name="copper-plate", count=47}
These are both full stacks of iron plates (for iron-plate, a full stack is 100 plates)
"iron-plate"
{name="iron-plate", count=100}

Classes

Concepts

Events

Defines