View Single Post
09-10-19, 08:10 AM   #11
kernighan
A Cyclonian
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 45
Originally Posted by LudiusMaximus View Post
It does not have an explicit version for classic. But as far as I could tell the recipe IDs of the vanilla recipes are still the same as they are today. So you can simply use libRecipes in classic with the only disadvantage that the database also contains all the recipes that do yet exist in classic. But that is nothing the user would notice anyway.
Originally Posted by wildcard25 View Post
Code:
spellID = select(7, GetSpellInfo(spellName))
Can return nil if not cached yet.

edit: Whoops, pretty sure this doesn't work with Tradeskills. It's been a few years, but I think we had to build our own lookup table in Gnomeworks for recipeIDs.
Yeah, that's what I've done so far for my addon (build a table by hand). Which really ... sucks. But it "works" :P Maybe we should all band together and create a common library for this data?

What I have so far can be found at https://bitbucket.org/yunohu/reciper...ic/src/master/

Specifically the RecipeData.lua file and the RegionData.lua file.
  Reply With Quote