Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# ItemWithQualityID - Runtime Docs

## ItemWithQualityID :: union

An item prototype with optional quality specification. Can be specified in one of four ways.

#### Union members

LuaItemStack | The item stack. Both prototype and quality of the item stack will be used.
LuaItemPrototype | The item prototype. Normal quality will be used.
string | The prototype name. Normal quality will be used.
ItemIDAndQualityIDPair | A table of item prototype and quality.

Concept used in

- LuaBurner::currently_burning
- LuaControl::cursor_ghost
- LuaEntity::set_filter()
- LuaEntity::storage_filter
- LuaForce::create_space_platform()
- LuaInventory::get_item_count()
- LuaInventory::find_item_stack()
- LuaInventory::find_empty_stack()
- LuaInventory::get_insertable_count()
- LuaLogisticNetwork::get_item_count()
- LuaLogisticNetwork::select_pickup_point()
- LuaLogisticNetwork::can_satisfy_request()
- LuaLogisticNetwork::get_supply_counts()
- LuaLogisticNetwork::get_supply_points()
- LuaPlayer::set_quick_bar_slot()
- EntitySearchFilters
- FlowStatisticsID