Originally Posted by zachwlewis
Interesting. That returns something different than IsUsableItem(item); however, it will still return true if the recipe is already known.
Any suggestions there?
|
That is what the UI uses to deterrmine whether to color items red in the vendor frame. I was going to quote just before you editted your post (not that it matters, I guess), but I don't think there's another solution than scanning the tooltip. You can only get a generic "Learning" spell from GetItemSpell, unfortunately. You could try to parse the created item from the recipe name/tooltip and compare to your trade skills, but that's not really reliable.