Fizzwidget Feed-O-Matic

As my Hunter friends can readily attest, keeping a wild pet can be a full-time job. Why, just feeding the critter when he gets hungry can throw off your routine -- you've got to rummage around in your bags, find a piece of food, make sure it's appropriate for his diet, and check your aim before tossing it to him (lest you accidentally destroy a tasty morsel). So inconvenient! Not to mention potentially dangerous... you don't want to spend so long digging through your bags that you or your pet become someone else's snack.

Never fear, Gazmik Fizzwidget is here with a new gadget to automate all your pet-food-management tasks! My incredible Feed-O-Matic features state-of-the-art nutritional analyzers to make sure your pet's hunger is satisfied with a minimum of fuss, advanced selective logic to make your pet doesn't eat anything you have another use for, and a weight optimizer to make sure the food in your bags stays well organized! You can have it automatically feed your pet when needed -- or, if you're worried about running out of food while you take a nap, you can opt to manually press the "Feed Now" button and it'll intelligently choose a food and accurately toss it to your pet. This is actually one of the first gizmos I started work on... but because I'm a perfectionist I haven't considered it ready for release until now.

Features:

Makes feeding your pet quick, easy, and fun:

Bind a key to "Feed Pet", and Feed-O-Matic will automatically choose an appropriate food and give it to the pet whenever you press it.

Alternately, Feed-O-Matic creates a button next to the default UI's pet frame -- click this button to feed the pet.

Can use an emote to notify you when it's feeding your pet, with custom randomized messages. See FeedOMatic_Emotes.lua to customize them to your characters!

Helps you manage all the pet food in your inventory:

Keeps track of which foods your pet likes more, and prioritizes "better" foods when choosing what to feed the pet. Also makes sure not to use foods your pet has "outgrown" or foods not appropriate to your species of pet.

If you're on a quest to collect several of a certain item which also happens to be something your pet likes to eat, Feed-O-Matic can avoid consuming it. (Unless you're carrying more than is needed for the quest or there's nothing else for your pet to eat.)

Manages four major categories of foods: Conjured food (free if you befriend a mage), Basic food (just restores health; found at many vendors), "Well Fed" food (has bonus effects when you eat it; often comes from cooking), and Raw food (things that aren't edible for you, but are for your pet; often used as cooking ingredients). Feed-O-Matic looks for food in this order (Conjured, Basic, Well Fed, then Raw), to prioritize the food that's cheapest (both in terms of cost to you and potential usefulness). You can use the Feed-O-Matic Options panel to avoid feeding your pet entire categories of food, or to avoid just specific foods.

Feed-O-Matic keeps track of what foods are used by Cooking recipes. The Feed-O-Matic Options panel shows which foods are ingredients for which recipes, so you can choose to avoid feeding things to your pet that you'd rather cook for yourself.

All other things being equal, Feed-O-Matic will try to pick foods from smaller stacks, making sure your food supply doesn't take up all your bag space. When your bags get close to full, Feed-O-Matic will start ignoring other criteria and always choosing the smallest stack so that you won't run out of inventory sooner.

Caveats, etc.:

Feed-O-Matic uses a database of many known foods, but it's not guaranteed to be comprehensive. (Please drop me a line if you find a food that should be on there, or discover that something on the list shouldn't be there or is listed as the wrong food type.)

Feed-O-Matic gets its list of Cooking recipes the first time you open your Cooking window. Until then, the Feed-O-Matic Options panel won't show whether foods are used in Cooking.

Feed-O-Matic's feed button is attached to the default UI's pet frame. Other addons can remove its functionality by removing that frame -- however, many such alternate UIs offer the ability to set custom macro actions for their frames. If your UI allows such, setting a button's action to `/click FOM_FeedButton` will allow clicking it to invoke Feed-O-Matic's pet-feeding action.

v. 7.0.1 - 2016/08/29
- Added support for Mechanical pets in 7.0/Legion. The "mechanical bits" food list is partly guesswork -- please send feedback if you see any issues.
- Updated locale support: You can now add custom emotes in FeedOMatic_Emotes.lua for Mists, Warlords, and Legion beasts, and in all WoW languages including Chinese, Korean, and Italian.

v. 7.0 - 2016/08/27 - Dedicated to Mania of www.wow-petopia.com
- Updated to support WoW Patch 7.0 and Legion.
- Added Legion foods. Many of these are untested guesses for food category -- please send feedback if you see any issues.
- Added Warlords of Draenor foods. Better late than never?
- Redesigned to no longer use LibPeriodicTable. (Outsourcing list maintenance to a third-party library only meant I had to be the one updating the library... which is more complicated than keeping my own list.)
- The option to avoid foods used as Cooking ingredients is disabled; it may return in a future version.
- The Feed Pet button now shows the number remaining in your inventory for the selected food.

v. 6.0 - 2014/10/14
- Updated for WoW Patch 6.0.
- Does not yet include Warlords of Draenor food information. This will be added in a forthcoming release.

v. 5.0 - 2012/08/28
- Updated TOC to indicate compatibility with WoW Patch 5.0.
- Note: does not include new Mists of Pandaria foods; as of the current beta, such foods cannot be fed to pets (so there's little point in having Feed-O-Matic attempt to use them).

v. 4.3.1 - 2012/01/04
- Now supports the Brazilian Portuguese localization of the WoW client thanks to data from pt.wowhead.com. (Only the client-specific strings needed for functionality under Portuguese are translated; if you'd like to help provide a translation for Feed-O-Matic's own UI text, see the localization.lua file.)

v. 4.2 - 2011/06/28
- Updated TOC to indicate compatibility with WoW Patch 4.2.
- WoW Patch 4.2 makes the Interface Options window much bigger -- now there's room for all of Feed-O-Matic's options (including the food preferences table) on one pane.
- Fixed an issue where the Feed Pet button would show for pets that aren't hunter-tamed beasts -- e.g. quest pets, vehicles, etc.
- The Feed-O-Matic options panel no longer appears if Feed-O-Matic is loaded on a non-hunter character.
- Options now default to being shared across all characters; see the Options Profile panel if you'd prefer per-character, per-server, or per-class settings. (This change may not take effect if you already have saved options; choose the Default options profile if you'd prefer this behavior)

v. 4.1.3 - 2011/05/15
- Added an option to hide the button Feed-O-Matic adds to the default UI's pet frame -- when the button is hidden, the Feed-O-Matic Feed Pet key binding or macro command `/click FOM_FeedButton` still can be used to feed the pet. (You might find this option useful if using a UI that changes/hides the default pet frame.)
- Feed-O-Matic's key binding now shows the name of the Feed Pet spell (or whatever it's called in your WoW localization) instead of "FOM_FEED".

v. 4.1.2 - 2011/05/02
- The Feed Pet button (added by Feed-O-Matic to the default UI's pet frame) now indicates when Feed Pet is unusable or on cooldown.
- Improvements to the tooltip shown when mousing over the Feet Pet button:
- Now shows more information about what food Feed-O-Matic will use next.
- Text in the tooltip is smaller and a bit more terse.
- Tooltip can be hidden entirely via an advanced user preference: type `/fom notooltip` to disable the tooltip (or enable it again).

v. 4.1.1 - 2011/04/28
- Further changes to support WoW Patch 4.1: Since the Pet Happiness icon in the default UI is no more, Feed-O-Matic puts a new button in its former place next to the pet frame. This button supports all the behaviors we previously added to the pet happiness icon -- click to feed, right-click for options. In addition, the button shows the icon of the food we'll next use for feeding the pet (and as before, can be moused over to identify the food by name).
- When no pet is currently summoned, food quality in the Food Preferences options panel is calculated assuming a pet of level equal to the hunter's (matching a Patch 4.1 change in which pets are always kept at their master's level).
- Adjusted detail and tooltip text in Feed-O-Matic's options panel to reflect the elimination of the happiness mechanic and new behavior of Feed Pet.

v. 4.1 - 2011/04/26
- WoW Patch 4.1 removes the Pet Happiness mechanic; Feed Pet now works only as a large out-of-combat heal. As such, features related to tracking pet happiness and warning when the pet needs feeding have been removed from Feed-O-Matic (which still works great for simplifying the process of feeding a pet).
- New pet families introduced with Patch 4.0 & Cataclysm are now localized for Spanish, German, French, and Russian. (Localized pet family names are used for providing pet-specific feeding emotes; see FeedOMatic_Emotes.lua.)

v. 4.0.4 - 2011/01/07
- Includes an update to the PeriodicTable library fixing an issue where recently added foods were't actually showing up.
- Some of the options in Feed-O-Matic's options panel now provide detailed explanations in tooltips.
- Improvements to the list in Food Preferences (under Feed-O-Matic's options panel):
- The color of a food's name now reflects its quality (how quickly it restores your pet's happiness).
- Foods of the same quality are sorted by name.
- When no pet is currently summoned, food quality is calculated assuming a pet of three levels below yours (previously we assumed five; this matches a change from patch 4.0 in which pets are always kept within three levels of their masters).

v. 4.0.3 - 2011/01/01
- Includes an update to the PeriodicTable library with more foods (Murglesnout, Pygmy Suckerfish, Shimmering Minnow).

v. 4.0.2 - 2010/12/17
- Includes an update to the PeriodicTable library with more Cataclysm foods (including a number of fish and meat items edible by pets but not by players).
- Fixes an issue where FOM wouldn't notice when the pet reached full happiness after feeding (or using Glyph of Mend Pet).

v. 4.0.1 - 2010/12/07
- Includes an update to the PeriodicTable library:
- now includes most Cataclysm foods.
- removed some foods pets don't eat.
- added some pre-Cataclysm foods which weren't included before.
- Fixes an issue where we wouldn't warn that the pet needs feeding immediately after taming.
- Known issue: we don't yet have family-specific hungry sounds for the new pet families introduced with patch 4.0.3a (the Shattering) and Cataclysm. Please send email if there's a sound your new pet makes that you'd like him to make when he's hungry (and know the WoW-internal filename/path for it).

v. 4.0 - 2010/10/11
- Updated for compatibility with WoW Patch 4.0.1 (and Cataclysm Beta).
- NOTE: Cataclysm foods are not yet in the database; they will be provided in a future update.

v. 3.2 - 2009/08/04
- Updated TOC to indicate compatibility with WoW Patch 3.2.
- Updated French localization by oXid_FoX.
- Includes an update to the PeriodicTable library and its food lists.

v. 3.1 - 2009/04/18
- Updated TOC to indicate compatibility with WoW Patch 3.1.
- Now uses Ace3 library for saved settings and options UI (any previously saved preferences will be reset to default).
- Includes an update to the PeriodicTable library and its food lists.
- Fixes an issue where a "Can't find Feed Pet spell" message could appear upon login. (The message now only appears if FOM still can't find the spell when you try to feed your pet.)
- Includes possible fix for a blocked/tainted action error I've not been able to reproduce.

v. 3.0.5 - 2009/02/08
- Fixes an error message when attempting to produce a random emote.
- Updated Korean localization by "kelvin Joe".
- Added Russian localization by StingerSoft from WoWInterface.com.
- Updated basic locale support for French, German, and Spanish from Wowhead's databases.
- Includes an update to the PeriodicTable library and its food lists.

v. 3.0.4 - 2008/10/24
- Includes an update to the PeriodicTable library, fixing an issue in which older versions of the library's datasets would override newer versions... which could cause FOM to ignore certain foods.

v. 3.0.3 - 2008/10/18
- Includes an update to the PeriodicTable library and its food lists:
- Fixes subcategory/supercategory linkage issues that caused FOM to ignore certain foods (such as Conjured Mana Biscuit and Naaru Ration).
- Includes all (currently known to Wowhead) new foods from Wrath of the Lich King content.
- Reorganized the Food Preferences panel slightly to account for Wrath of the Lich King foods having more possible cooking products. (Don't like mammoth? Try cooking it differently!)
- Fixed an error that could occur when FOM chooses the next food to use.
- Fixed an issue where FOM wouldn't choose a food (and thus feeding would be unavailable) after reloading the UI.
- Fixed an issue where category headers would inconsistently appear grayed out in the Food Preferences list.
- Items that aren't in the PeriodicTable categories corresponding to the six possible pet diets (i.e. not edible by pets) will no longer show in the Food Preferences list.
- Added more random feeding emotes thanks to the commenters at maniasarcania.com. Feeding emotes can now be made specific to categories of foods (specified by PeriodicTable sets).

v. 3.0.2 - 2008/10/15
- Fixed an bug causing us to ignore diets beyond the first for pets with multiple diets.
- Fixed an error when attempting to play pet hungry sounds.
- Added French random emotes by Laumac from WoWInterface.com.

v. 3.0.1 - 2008/10/14
- Fixed a bug where clicking foods in the new Food Preferences panel (see 3.0 release notes below) wouldn't show them as excluded/unchecked.
- When a category is excluded/unchecked in said panel, the foods within it appear grayed out.

v. 3.0 - 2008/10/14
- Updated for compatibility with WoW Patch 3.0 and Wrath of the Lich King.
- Rebuilt FOM's system for choosing foods to feed your pet:
- Our database of valid pet foods now comes from the PeriodicTable library.
- Priority order for choosing foods is based (in part) on PeriodicTable sets (conjured, basic, or bonus foods, etc.)
- There's now a Food Preferences sub-panel under GFW Feed-O-Matic in the Interface Options window.
- In it, all valid pet foods your WoW client has seen are listed by category.
- The order of categories and foods in the list reflects the priority order for choosing foods: those nearer the top of the list will be picked before those below.
- Individual foods can be unchecked in the list to prevent FOM from feeding them to your pet.
- Entire categories can also be unchecked, which will prevent FOM from using any food of that category (even ones you haven't seen yet). By default, only the "Well Fed" foods are disabled, so be sure to visit the list if you want to exclude other foods.
- The list can be filtered to show only relevant foods for your pet (or for a pet of about your level, if you don't have a pet summoned at the moment) or only foods you're currently carrying.
- If a food can be cooked, the list shows information about each of the the Cooking recipe(s) that use it: whether you know the recipe, its difficulty (i.e. orange, yellow, green or gray in the Cooking window), and the food produced.
- This list replaces the "avoid bonus foods" and "avoid cooking foods" options in previous releases.
- The "keep bag space open" option from previous releases has been removed: given multiple stacks of the same food, FOM will now always consume the smaller stack first so as to free up bag space more quickly.
- Fixed several issues which caused the "Avoid foods needed for quests" option to fail.
- Added numerous random feeding emotes -- thanks to Mania and the creative commenters at http://maniasarcania.com!
- Locale issues:
- The random text added to feeding emotes (e.g. "Yum!", "Good boy!", etc) is now localizable. See the FeedOMatic_Emotes.lua file for details. (Thanks Virshan for a few Spanish.)
- Added Korean localization by Boddalhee of Deathwing (KR).
- Added Spanish localization by Javier Melo.
- Added basic locale support for Russian, and updated basic locale support for French and German, based on Wowhead's multilingual database. (That is, enough translations for all features to work the same as in English, but no localized UI text.)
- Translations are missing for the new and renamed beast families (in WoW 3.0 / WotLK), so the family-specific hungry sounds don't currently work in locales other than English.

Originally posted by Zidomo Very nice to see this updated for 4.x/Cata. One major problem experienced so far, though: two of the three "hungry pet" alerts are completely non-functional and/or not working correctly.

In addition to all the alerts selected as noted, have them set to occur when the pet falls to "Content" from Happy. Problems:

1) Most importantly, the text alert never occurs when the pet falls to Content. Strangely, the only time the alert text appears is when you actually feed the pet at the set alert level.

Feed the pet at Content (via the Feed-O-Matic keybind, manually or otherwise) and chat feeds back: "(Pet name) is hungry". Have tested this many times and that's the only time the alert text appears...improperly immediately after giving the pet some food at below-Happy status.

2) The sound never occurs at all. Whether set or not the "ding" is checkmarked (the other sounds are particular to pet type), any time the happiness falls to the set level (Content), no sound ever occurs. As with the above problem, have tested this several times and been on the watch for the second the pet happiness falls; there is never any sound.

3) The only alert that actually works is the default Blizzard pet happiness icon flashing. Any time the pet happiness falls to the Content alert level, the icon starts blinking.

I don't quite understand, which "Icon" it is supposed to "Flash".
I just logged in, fully expecting my pet to be a bit hungry (Honestly, I haven't fed him for a week already, what else you'd expect?)
I can see a text alert, if I pick that option in interface, but I don't see anything particularly "flashy" at all.

As I was sitting here reading and reflecting on Feed-O-Matic, it came to me that Data Broker support would seem to be a natural.

It could show the pet status icon and allow for one click feeding of pet food as well as display the name of the food (or text of the pet's happiness) that will be fed upon left click (with optional confirmation dialog) and right click for settings etc. Perhaps even a modifier key to allow us to select a specific pet food currently in inventory from a pop-up list (no confirmation since we have to actively press a key AND click).

In addition to all the alerts selected as noted, have them set to occur when the pet falls to "Content" from Happy. Problems:

1) Most importantly, the text alert never occurs when the pet falls to Content. Strangely, the only time the alert text appears is when you actually feed the pet at the set alert level.

Feed the pet at Content (via the Feed-O-Matic keybind, manually or otherwise) and chat feeds back: "(Pet name) is hungry". Have tested this many times and that's the only time the alert text appears...improperly immediately after giving the pet some food at below-Happy status.

2) The sound never occurs at all. Whether set or not the "ding" is checkmarked (the other sounds are particular to pet type), any time the happiness falls to the set level (Content), no sound ever occurs. As with the above problem, have tested this several times and been on the watch for the second the pet happiness falls; there is never any sound.

3) The only alert that actually works is the default Blizzard pet happiness icon flashing. Any time the pet happiness falls to the Content alert level, the icon starts blinking.

Originally posted by ricks322 Is there a way to remove a food from the “pets” diet? I have found that the Scopion will not eat “frog leg stew”.

You can go into settings and just uncheck that specific food from its diet. You have an option to list all foods your pet will eat, scroll down that list and uncheck the ones you know your pet does not like or you wish for him/her not to eat.

After many hours of troubleshooting i have it figured. This addon and Perl Classic Unit Frames do not play nice together - http://wow.curse.com/downloads/wow-a...it-frames.aspx
You know how you are able to mouse over the happiness icon on the pet portrait see a tip to click to feed it a preconfigured food OR right click to have other opitons.
Perl somehow removes this.
Can this be fixed?, I have also posted on curse in hopes of a fix.
Thanks