GetStablePetFoodTypes

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns the food types the specified stabled pet can eat.

local PetFoodList = { GetStablePetFoodTypes(index) }

Arguments

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

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

Possible Food Type Names

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