Library using MM code to obtain the Recipe information of a crafted item. Provides information on Furniture, Glyphs, and Potions.
Requirements
LibAlchemy
LibCharacterKnowledge
API
LibRecipe:GetRecipeItemLink(itemLink)
- Returns nil or the Recipe for the Furniture ItemLink
- Exception: For Crafted Glyphs and Potions returns the original Item Link for use in other places in the library
LibRecipe:GetNumIngredients(itemLink)
- Returns 0 or the Number of Ingredients
LibRecipe:GetIngredientInfoByIndex(itemLink, index)
* Note *: Can not be greater than the number of ingredients
- Returns nil, nil, nil, nil or ingredientItemLink, ingredientName, displayQuality, amountRequired