Description
ConsumableMacro
Automatically creates and maintains macros for the best available consumables in your bags — no manual macro editing needed.
Author: Nightwalker559 Interface: 120100 (Patch 12.1.0, WoW Midnight)
Features
- Auto-managed macros for five categories: Flask, Potion, Heal Potion, Healthstone, Buff Food.
- Priority lists per category — add items by Item-ID or drag & drop, reorder with
+/-. - Auto-update on bag change (toggleable) — macros always use the best item currently in your bags.
- Reminder — shows missing/low consumables on login and after leaving a dungeon, raid, delve, or scenario. Configurable minimum-count thresholds per tab.
- AutoPotion — optional panic-button macro combining a known class/racial self-heal spell, your top Heal Potion, and your Healthstone in one
/castsequence. See below. - Import/Export — share your lists as a single string, per tab.
- Reset — clear selected tabs back to empty.
- ElvUI skin support — auto-detected and applied to all frames.
- Combat-safe — all mutating actions are blocked while in combat.
- Full English / German localization.
Usage
/cm— toggle the main window./cm update— force-update all macros immediately./cm reset— clear all lists and rebuild macros./cm help— show command list in chat.
Adding items
Type an Item-ID into the input box and press Enter/click Add, or drag an item from your bags onto the drop zone. The addon detects the correct tab automatically (by item subclass, or by name pattern as a fallback).
Options
Click the gear icon in the main window for:
- Auto-Update toggle, Reminder toggle
- Per-tab minimum count (post-instance/login warning threshold)
- Import/Export
- Reset Lists
- AutoPotion settings
AutoPotion
An optional extra macro (CM_AutoPotion) for emergency self-healing, separate from the five main tabs.
- Enable it in Options.
- Click Configure Priority to set the order the macro tries each category in: Class/Racial Spell, Heal Potion, Healthstone.
- Drag the macro onto your action bar.
Each button press advances one step in the sequence (/castsequence). It resets back to the first step on combat start, or after your configured Reset (sec.) delay — useful for talent-shortened cooldowns. Use the Sync button to read the exact cooldown from a spell that's currently on cooldown (or an approximate base value if it isn't).
If a category has nothing available (unknown spell, empty tab, no matching item in bags), it's simply skipped — the macro never errors out.
Disabling AutoPotion deletes the macro rather than leaving an empty one on your bars.
Import/Export format
CM:1:flask=191534,191533:potion=191338:healpotion=191380:bufffood=197784
Tabs with no items are omitted. Item order reflects priority (first = highest). Both Export and Import let you pick which tabs to include/apply via a selection frame.
Requirements
- WoW Midnight, Interface 120100 (Patch 12.1.0)
- ElvUI (optional) — auto-detected, skinning applied if present
File structure
| File | Purpose |
|---|---|
Core.lua |
Namespace, shared state, macro body generation |
Items.lua |
Item classification, add/remove, import/export |
Reminder.lua |
Login/post-instance reminder frame and logic |
AutoPotion.lua |
AutoPotion macro, spell detection, priority frame |
UI.lua |
Main window, Options, event handling, slash commands |
Locales/ConsumableMacro_EN.lua / _DE.lua |
Localization |
Changelog
See CHANGELOG.md for full version history.












