Skip to content

Vanilla WoW 1.12.1 addon library designed to provide an embeddable database of crafting spells, recipes, reagents, results, sources etc

License

Notifications You must be signed in to change notification settings

Chad90b/LibCrafts-1.0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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 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.

About

Vanilla WoW 1.12.1 addon library designed to provide an embeddable database of crafting spells, recipes, reagents, results, sources etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%