A modern, lightweight embeddable database library for crafting professions in Vanilla WoW (1.12.1) and Turtle WoW. Designed as an replacement (not a drop-in) for ReagentData, TradeSkillsData and TradeSkillsData-turtle.
- Lightweight ID-based database architecture
- Complete crafting system mapping (spells, recipes, reagents, results, sources etc)
- Developer-friendly database structure
- Vanilla WoW and Turtle WoW compatibility
- Localization support
local LibCrafts = LibStub("LibCrafts-1.0")
-- Query crafts using reagent ID
local reagentId = 2318 -- Light Leather, see https://www.wowhead.com/classic/item=2318/light-leather
local crafts = LibCrafts:GetCraftsByReagentId(reagentId) -- Light Leather
--- Query crafts using english or localized profession name
local crafts = LibCrafts:GetCraftsByProfession("Leatherworking")
local crafts = LibCrafts:GetCraftsByProfession("制皮")
See CHANGES for the full list of changes.
If you have suggestions for improvements or have found a bug, please create an issue or submit a pull request.
LibCrafts is distributed under the MIT License. For details, see the LICENSE file.