promotional bannermobile promotional banner
header
logo

LibGatheringNodes

Install

This library is now abandoned and will not be updated. You may update, use it, and re-share it yourself provided you follow the GPL terms it was licensed under.

 

Contains a database of local names of mining and herbalism gathering nodes, with the item IDs of all the ores/stones/herbs gathered from it.

 

Embed LibGatheringNodes.xml in your .toc file or from another .xml file, then a typical way to use it is when mousing over a gathering node, call it like:

local drops = {LibStub("LibGatheringNodes-1.0").getItemID( _G["GameTooltipTextLeft1"]:GetText())}

 

Then you can loop them like:

for _, itemID in pairs(drops) do