WoW LibCraftInfo addon Shadowlands/classic 2021
logo
wow addon LibCraftInfo

LibCraftInfo

Game Version: 6.0.2
Total Downloads: 642
Updated: Oct 17, 2014
Created: Oct 5, 2013
download LibCraftInfoDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
1.01 release 43.91 KB Oct 17, 2014 6.0.2 238 download LibCraftInfo 1.01 releaseDownload
1.0 release 41.74 KB Aug 5, 2014 5.4.8 49 download LibCraftInfo 1.0 releaseDownload
r12 alpha 47.17 KB Apr 26, 2015 6.1.0 44 download LibCraftInfo r12 alphaDownload
r10 alpha 43.95 KB Jan 12, 2015 6.0.3 52 download LibCraftInfo r10 alphaDownload
r8 alpha 43.87 KB Oct 17, 2014 6.0.2 50 download LibCraftInfo r8 alphaDownload
r6 alpha 41.89 KB Oct 7, 2013 5.4.0 57 download LibCraftInfo r6 alphaDownload
r5 alpha 41.86 KB Oct 7, 2013 5.4.0 26 download LibCraftInfo r5 alphaDownload
r4 alpha 41.86 KB Oct 7, 2013 5.4.0 24 download LibCraftInfo r4 alphaDownload
r3 alpha 41.83 KB Oct 6, 2013 5.4.0 61 download LibCraftInfo r3 alphaDownload
r2 alpha 41.79 KB Oct 6, 2013 5.4.0 41 download LibCraftInfo r2 alphaDownload

Description

Share this:

LibCraftInfo is a library containing a complete list of crafts existing in the game.

This library contains various information about crafts, namely:

– the item id that results from a craft
– the item id of the recipe that taught the craft (if any)
– the expansion pack to which that craft is related
– the profession to which a given spell/craft belongs

Encoding:

Information is encoded into a single lua number, and is extracted through bitwise operations.
If you wish to correct information about a given spell, edit the file manualFixes.lua, and follow the instructions.

Usage:

local LCI = LibStub("LibCraftInfo-1.0")
local itemID = LCI:GetCraftResultItem(spellID)

API

Get the localized name of the profession to which a given craft belongs

function lib:GetCraftProfession(spellID)

Get the expansion pack of a given craft

function lib:GetCraftXPack(spellID)

Get the itemID of the item created by a given spellID

function lib:GetCraftResultItem(spellID)

Get the itemID of the item/recipe that taught this spellID

function lib:GetCraftSourceItem(spellID)

Get the name of the profession that created the item

function lib:GetItemSource(searchedItemID)

Get the spellID taught by a given itemID (recipe item)

function lib:GetRecipeLearnedSpell(itemID)

Get a list of crafts (=spellID's) for a given profession, for a given expansion

function lib:GetProfessionCraftList(professionSpellID, expansionID)

Sets information about a given spellID

function lib:SetCraftInfo(professionId, spellID, xpack, itemID, recipeID)

Comments

Add a comment