View Single Post
08-11-15, 04:00 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Actually, if you just want to know that a pet is available from a vendor, as opposed to knowing which specific vendor it's available from, that would be pretty easy, since you can get information about pet sources through the pet journal API. Just scan the journal, find a name match, and check if the source text includes the word "vendor".

For items that teach pets, that have different names than the pets they teach, feel free to use the item->species table I've compiled for BetterBattlePetTooltip.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote