Quantcast WoWInterface - View Single Post - [Classic] Convert recipe item name to spellID
View Single Post
09-07-19, 06:50 PM   #6
A Cyclonian
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 45
Originally Posted by LudiusMaximus View Post
I do not quite understand.

In the title you are asking about recipes, but in the post you are also asking about "Smelt Bronze" and "Heavy Linen Bandage" which are *not* taught by recipes.

If you want to get the spellID from a recipe that teaches it, you can use this lib: LibRecipes-2.0
a) LibRecipes does not appear to have a version for Classic, so it's out.

b) Its API takes an ID. An ID I don't have, because the entire point of this post is me asking how do I take the TEXTUAL NAME returned by GetTradeSkillInfo and get it CONVERTED into an ID.
  Reply With Quote