GetRecipeInfo
ESO Lua API function — used by 32 of the 3,030 addons we indexed (combined 20,598,570 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetRecipeInfo(luaindex recipeListIndex, luaindex recipeIndex)Returns: bool known, string name, integer numIngredients, integer provisionerLevelReq, integer qualityReq, specialIngredientType, requiredCraftingStationType, integer resultItemId
Real usage — from LibLazyCrafting
if autocraft==nil then autocraft = self.autocraft end
local _,_,_,_,_,_,station = GetRecipeInfo(recipeListIndex, recipeIndex)
if not (recipeListIndex and recipeIndex and station) thenShort excerpt from the shipping addon LibLazyCrafting — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| LibLazyCrafting | 6,538,592 |
| CraftStore | 5,176,147 |
| ESO Master Recipe List | 2,130,985 |
| Daily Provisioning | 1,544,059 |
| Furniture Catalogue | 1,213,662 |
| Dustman | 1,178,205 |