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

# Factorio Runtime Docs Version 2.0.7

## EntityWithQualityID :: union

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

#### Union members

LuaEntity | The entity. Both prototype and quality of the entity will be used.
LuaEntityPrototype | The entity prototype. Normal quality will be used.
string | The prototype name. Normal quality will be used.
EntityIDAndQualityIDPair | A table of entity prototype and quality.