Fandom

WoWWiki

API GetStablePetFoodTypes

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

Also on Fandom

Random Wiki