LibGatheringNodes

Addons
840 Downloads Last Updated: Dec 19, 2020 Game Version: 9.0.2  

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

Comments

Posts Quoted: