Wikia

WoWWiki

API GetStablePetFoodTypes

Talk0
101,536pages on
this wiki
Revision as of 14:06, June 6, 2007 by Ravas (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetStablePetFoodTypes


Returns a list of the food types a pet in the stable can eat.

local PetFoodList = { GetStablePetFoodTypes(index) };


Arguments Edit

index 
Number - The stable slot index of the pet: 0 for the current pet, 1 for the pet in the left slot, and 2 for the pet in the right slot.


Returns Edit

A list of the pet food type names, see GetPetFoodTypes().


Possible Food Type Names Edit

  • Meat
  • Fish
  • Fruit
  • Fungus
  • Bread
  • Cheese

Around Wikia's network

Random Wiki