Files
2026-08-07 15:43:47 -06:00
..
2026-08-07 15:43:47 -06:00
2026-08-07 15:43:47 -06:00
2026-08-07 15:43:47 -06:00
2026-08-07 15:43:47 -06:00
2026-08-07 15:43:47 -06:00
2026-08-07 15:43:47 -06:00
2026-08-07 15:43:47 -06:00
2026-08-07 15:43:47 -06:00

LibCrafts

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.

Notice to players: This is NOT a standalone addon and provides no functionality on its own. Do not install this library directly. This is a developer resource meant to be embedded inside other addons. If you're looking for a crafting addon, this is not it. You might be looking for MasterTradeSkills or MissingCrafts instead.

Features

  • 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

Usage

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 recipe ID
local recipeId = 4408 -- Mechanical Squirrel, see https://www.wowhead.com/classic/item=4408/schematic-mechanical-squirrel
local crafts = LibCrafts:GetCraftsByRecipeId(recipeId) -- Mechanical Squirrel

--- Query crafts using english or localized profession name
local crafts = LibCrafts:GetCraftsByProfession("Leatherworking")
local crafts = LibCrafts:GetCraftsByProfession("制皮")

Changes

See CHANGES for the full list of changes.

Contributing

If you have suggestions for improvements or have found a bug, please create an issue or submit a pull request.

License

LibCrafts is distributed under the MIT License. For details, see the LICENSE file.