Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
1.01 release | 34.57 KB | Oct 17, 2014 | 6.0.2 | 216 | ![]() |
1.0 release | 33.21 KB | Aug 5, 2014 | 5.4.8 | 63 | ![]() |
r6 alpha | 34.50 KB | Feb 25, 2015 | 6.1.0 | 26 | ![]() |
r4 alpha | 34.53 KB | Oct 17, 2014 | 6.0.2 | 40 | ![]() |
r2 alpha | 33.21 KB | Oct 6, 2013 | 5.4.0 | 40 | ![]() |
Description
LibCraftReagents is a library containing the list of reagents required to craft a given item.
If you wish to correct information about a given spell, edit the file manualFixes.lua, and follow the instructions.
Usage:
local LCR = LibStub("LibCraftReagents-1.0") local reagents = LCR:GetCraftReagents(spellID)
"reagents" will contain a value like = "1234,1|2345,2" meaning that 1 copy of item 1234 and 2 copies of 2345 are required to craft this item.
API
Get the reagents required for a specific craft
function lib:GetCraftReagents(spellID)
Sets the reagents required for a specific craft
function lib:SetCraftReagents(spellID, reagents)
Add a comment