ItemStackIdentification :: union
Union members
| string | The name of the item, which represents a full stack of that item. |
| ItemStackDefinition | The detailed definition of an item stack. |
| LuaItemStack |
Examples
-- All of these lines specify an item stack of one iron plate
{name="iron-plate"}
{name="iron-plate", count=1}
{name="iron-plate", count=1, quality="normal"}
-- 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}
Concept used in
- LuaControl::can_insert()
- LuaControl::insert()
- LuaControl::remove_item()
- LuaInventory::can_insert()
- LuaInventory::insert()
- LuaInventory::remove()
- LuaItemStack::can_set_stack()
- LuaItemStack::set_stack()
- LuaItemStack::transfer_stack()
- LuaLogisticNetwork::remove_item()
- LuaLogisticNetwork::insert()
- LuaLogisticNetwork::select_drop_point()
- LuaSpacePlatform::eject_item()
- LuaSurface::spill_item_stack()
- LuaTrain::remove_item()
- LuaTrain::insert()
- LuaTransportLine::remove_item()
- LuaTransportLine::insert_at()
- LuaTransportLine::insert_at_back()
- LuaTransportLine::force_insert_at()

