Skip to content

fix(combat-trainer): tie gem pouch at 70 gems instead of swapping#7356

Merged
MahtraDR merged 3 commits intoelanthia-online:mainfrom
MahtraDR:fix/gem-pouch-tie-vs-full
Mar 26, 2026
Merged

fix(combat-trainer): tie gem pouch at 70 gems instead of swapping#7356
MahtraDR merged 3 commits intoelanthia-online:mainfrom
MahtraDR:fix/gem-pouch-tie-vs-full

Conversation

@MahtraDR
Copy link
Copy Markdown
Collaborator

Summary

  • The game message "You'd better tie it up before putting" fires at 70 gems, meaning the pouch just needs tying to keep filling (up to 500 gems). Previously this was grouped into the pouch-full flag, triggering a full pouch swap -- drop gem, remove pouch, stow it, get spare, wear spare, fail to tie the empty one.
  • Split into a separate pouch-needs-tie flag that simply ties the current pouch and re-stows the gem.

Test plan

  • Verify pouch tie at 70 gems: stow gem triggers tie + re-stow, no swap
  • Verify pouch full at 500 gems: swap behavior unchanged
  • Verify pouch-needs-tie flag cleanup on script exit

🤖 Generated with Claude Code

MahtraDR and others added 3 commits March 26, 2026 06:48
The "tie it up before putting" message fires at 70 gems, meaning the
pouch just needs tying to continue filling (up to 500). Previously this
was lumped into the pouch-full flag, which triggered a full pouch swap --
dropping the gem, removing/stowing the pouch, getting a spare, then
failing to tie the empty replacement.

Split into a separate pouch-needs-tie flag that simply ties the current
pouch and re-stows the gem.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The hard-coded 'stow gem' didn't match actual gem nouns like
'sunstone' or 'opal', causing the game to try picking up from the
ground instead of stowing from hand. Check GameObj hands for the
item noun and prepend 'my' to disambiguate.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@MahtraDR MahtraDR merged commit 2cb165b into elanthia-online:main Mar 26, 2026
3 checks passed
@MahtraDR MahtraDR deleted the fix/gem-pouch-tie-vs-full branch March 26, 2026 22:32
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