promotional bannermobile promotional banner

Automated-Consumables

Automatically updates macros for food and drinks (Classic Era).
Bildschirmfoto 2026-01-22 um 22.23.14.png

Bildschirmfoto 2026-01-22 um 22.23.14.png

Description

# Automated-Consumables
Automatically updates macros for food and drinks (Classic Era).

Creates/updates three macros (strongest available in your bags):
- `ACbutton1`: simple food (health-only, no Well Fed)
- `ACbutton2`: drink (mana-only)
- `ACbutton3`: buff food (Well Fed)

Notes:
- This addon only manages `ACbutton1`, `ACbutton2`, and `ACbutton3`.
- Optional database: you can add known itemIDs in `FoodDrinkDB.lua` to force-categorize items (drink/food/bufffood).
- Food/drink items are detected via item IDs + item class info; on Classic Era some Food/Drink items report as generic Consumable, so the addon also uses the built-in localized “must remain seated” tooltip string to identify food/drink (and avoid misclassifying potions).
- “Best” is determined by scanning your bags and reading restore amounts from tooltips using localized HEALTH/MANA strings; if amounts can’t be determined, it falls back to “any usable Food & Drink” so macros still get populated.
- Items must be usable; unusable items are ignored.

Debug:
- Run `/acdebug` in-game to toggle debug prints (shows what item IDs were detected for each macro update).
- Run `/acupdate` to force a rebuild/update, and `/acshow` to print the current macro bodies.

The Automated-Consumables Team

profile avatar
  • 1
    Followers
  • 7
    Projects
  • 26.3K
    Downloads
Donate

More from HerrHaseGermanyView all

  • RestedXP TomTom project image

    RestedXP TomTom

    • 24.3K
    • Addons

    Disables the built-in RestedXP Guides waypoint arrow and uses TomTom’s Crazy Arrow instead.

    • 24.3K
    • March 5, 2026
    • Addons
  • Spellbook Pro project image

    Spellbook Pro

    • 254
    • Addons

    Classic Era / SoD / Hardcore/TBC Addon that provides a separate Spellbook window with buttons that always cast your highest known rank.

    • 254
    • February 15, 2026
    • Addons
  • NotchBar project image

    NotchBar

    • 32
    • Addons

    AddOn for macOS “notched” MacBooks that aligns UIParent to WorldFrame.

    • 32
    • February 7, 2026
    • Addons
  • RestedXP AnchorFix project image

    RestedXP AnchorFix

    • 1.3K
    • Addons

    RestedXP AnchorFixApplies the Current Step Frame anchor setting on login.

    • 1.3K
    • February 4, 2026
    • Addons
  • RestedXP TomTom project image

    RestedXP TomTom

    • 24.3K
    • Addons

    Disables the built-in RestedXP Guides waypoint arrow and uses TomTom’s Crazy Arrow instead.

    • 24.3K
    • March 5, 2026
    • Addons
  • Spellbook Pro project image

    Spellbook Pro

    • 254
    • Addons

    Classic Era / SoD / Hardcore/TBC Addon that provides a separate Spellbook window with buttons that always cast your highest known rank.

    • 254
    • February 15, 2026
    • Addons
  • NotchBar project image

    NotchBar

    • 32
    • Addons

    AddOn for macOS “notched” MacBooks that aligns UIParent to WorldFrame.

    • 32
    • February 7, 2026
    • Addons
  • RestedXP AnchorFix project image

    RestedXP AnchorFix

    • 1.3K
    • Addons

    RestedXP AnchorFixApplies the Current Step Frame anchor setting on login.

    • 1.3K
    • February 4, 2026
    • Addons