Skip to content

Fix uninteractable duel arena bank chests - #1184

Merged
GregHib merged 1 commit into
GregHib:mainfrom
HarleyGilpin:bug/fix-bank-chests
Aug 18, 2026
Merged

Fix uninteractable duel arena bank chests#1184
GregHib merged 1 commit into
GregHib:mainfrom
HarleyGilpin:bug/fix-bank-chests

Conversation

@HarleyGilpin

Copy link
Copy Markdown
Contributor

Closes #1181

Problem

The Duel Arena bank chests are object id 27663 (Bank chest, options [Bank, Examine]). Void had no definition for that id, and Banker.kt only registered the Use option on bank_chest_*, so interacting fell through to "Nothing interesting happens".

Changes

  • Added bank_chest_duel_arena (id 27663) to a new data/area/kharidian_desert/al_kharid/duel_arena/duel_arena.objs.toml. The same id is used by the two arena chests (3381,3269 / 3382,3270) and the three tournament area chests (3216,5093 / 3233,5108 / 3249,5085), so one definition covers all five.
  • Registered objectOperate("Bank", "bank_chest_*") in Banker.kt. A separate registration is needed because the option string is a handler key and isn't comma-split.
  • Added DuelArenaBankTest covering the arena chest opening the bank interface.

Testing

./gradlew :game:test --tests "content.area.kharidian_desert.al_kharid.duel_arena.DuelArenaBankTest" passes.

Object 27663 had no definition and its "Bank" option was unhandled, so
interacting gave "Nothing interesting happens". Names the object
bank_chest_duel_arena and handles the "Bank" option on bank_chest_*.

The same id is also used by the three tournament area chests.

Closes GregHib#1181
@GregHib
GregHib merged commit 15baba3 into GregHib:main Aug 18, 2026
2 checks passed
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.

Bank Chests in Duel Arena are uninteractable

2 participants