Skip to content

Add consumable support to speedy buffing - #150

Open
meotify wants to merge 1 commit into
borgCode:masterfrom
meotify:speedy-buff-consumables
Open

meotify wants to merge 1 commit into
borgCode:masterfrom
meotify:speedy-buff-consumables

Conversation

@meotify

@meotify meotify commented Nov 26, 2026

Copy link
Copy Markdown

Extends Speedy Buffing to cover buff/utility consumables in addition to incantations and Ashes of War.

  • Consumable item-use animations live in the base a000 category (50000..50999, prefix 0), so the existing TimeActId / 1_000_000 prefix table skipped them.
  • Added ConsumableTimeActIds resource (50000, 50010, 50060, 50180, 50210, 50370, 50520, 50530, 50580, 50620, 50630, 50730) covering dried livers/boluses/pickled feet/raw meat dumplings, golden runes, weapon greases, exalted flesh/boiled prawn/boiled crab, Wondrous Physick, Baldachin's Blessings, Rune Arcs, Soft Cotton, shield grease, aromatics (Uplifting, Bloodboil, Ironjar), and Priestess Heart (including sub-variants id..id+9 such as 50731).
  • Added a 1000-byte lookup table at CodeCaveOffsets.ConsumableBuffTable (0x4900) and a bounds-checked lookup in SpeedBuff ASM for 50000..50999.
  • Intentionally excludes HP/FP flasks and offensive throwables (pots, knives, etc.), and requires no new game offsets.

Tested on 1.17.2 (2.7.2): verified all listed buff consumables (including Priestess Heart dragon-form reuse 50731 and walking variants) speed up and restore cleanly, while Crimson/Cerulean flasks, throwables, incantations, and Ashes of War behave as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant