# Eat Me 1.2.3

A lightweight World of Warcraft consumable helper by **Tarlac**.

## Automatic character macros

- **Eat Me Food** — best recovery food out of combat; best healing potion in combat.
- **Eat Me Drink** — best drink out of combat; best mana potion in combat.
- **Eat Me Buff** — best available Well Fed food for the current class/spec.
- **Eat Me Flask** — best available flask or phial.

Mage refreshments are preferred for both food and drink. Food or drink that grants a Well Fed/stat buff is reserved for **Eat Me Buff** and will not be consumed by the normal recovery macros. Characters that do not use mana receive an empty drink selection instead of water.

The older **Eat Me**, **Eat Me Health**, and **Eat Me Mana** macros are removed automatically.

## Minimap button

- **Left-click:** scan bags and update all macros.
- **Right-click:** show the current selections in chat.
- **Drag:** move the button around the minimap.

The addon never scans bags or edits macros during combat. The food and drink macros are prepared before combat with `[combat]` potion actions and `[nocombat]` food/drink actions.

## Commands

- `/eatme scan`
- `/eatme status`
- `/eatme debug` — prints how each consumable was classified and why

## Installation

Copy the `Eat-Me` folder into:

`World of Warcraft/_retail_/Interface/AddOns/`

Then restart the game or type `/reload`.

## Version 1.1.0

- Split the original recovery macro into separate food and drink macros.
- Food uses the best healing potion during combat.
- Drink uses the best mana potion during combat.
- Removed separate healing-potion and mana-potion macros.
- Kept buff-food and flask/phial macros.


## Automatic Updates

Eat Me rescans after bag changes, level changes, and player specialization changes. Updates requested during combat are applied after combat ends.

## Version 1.1.2

- Reserved all Well Fed/stat-buff food and drink for **Eat Me Buff**.
- Normal food and drink macros now select only non-buff recovery consumables.


## Version 1.1.3

- Added Blizzard Food & Drink subclass fallback for older expansion consumables such as Iron Horde Rations.
- Added `/eatme debug` to report each detected consumable, its classification, and the reason used.
- Kept buff food excluded from normal Food and Drink macros.


## Food Buff Reminder

When buff food is available but no Well Fed effect is active, Eat Me shows a small out-of-combat reminder using the addon icon. The reminder hides in combat and disappears when the food buff is active.


## 1.2.1

- Fixed a regression that could cause all food and drink to be missed.
- Uses the modern tooltip API with a legacy fallback.
- Broadens Well Fed detection to every primary and secondary stat.
- Keeps ordinary recovery food separate from buff food.


## Version 1.2.2

- Left-click the minimap button to rescan bags and rebuild macros.
- Right-click the minimap button to show or hide food buff reminders.
- The reminder preference is saved per character.


## Version 1.2.3

- Fixed a Midnight Lua error caused by protected/secret aura-name strings.
- Food-buff detection now checks whether aura and tooltip text is readable before using string functions.
