Skip to content

feat(LeaguesToolkit): add Toci's Gem Cutter#398

Merged
chsami merged 1 commit intochsami:developmentfrom
mdp18:feat/leagues-toolkit-gem-cutter
Apr 17, 2026
Merged

feat(LeaguesToolkit): add Toci's Gem Cutter#398
chsami merged 1 commit intochsami:developmentfrom
mdp18:feat/leagues-toolkit-gem-cutter

Conversation

@mdp18
Copy link
Copy Markdown
Contributor

@mdp18 mdp18 commented Apr 16, 2026

Summary

Adds a Toci's Gem Cutter section to the Leagues Toolkit plugin.

What it does:

  • Walks to Toci in Aldarin (Varlamore)
  • Opens the shop and mass-clicks "Buy 1" on the selected uncut gem at 100-250ms random intervals until the inventory is full or the shop runs out (breaks on 2 consecutive misses)
  • Closes the shop, uses chisel on an uncut gem, presses SPACE to select "All" in the "how many to cut?" dialog, waits until cutting finishes (via `!isGainingExp || !hasItem(uncut)`)
  • Reopens the shop and rapid-sells each cut gem from the bottom inventory slot at 100-250ms intervals
  • Shop stays open across sell→buy transitions to eliminate wasted UI cycles
  • Auto-banks for coins when below a configurable minimum (supports Bank Heist briefcase for Leagues)

Config (new "Toci's Gem Cutter" section, collapsed by default):

  • Enable toggle
  • Gem dropdown: Sapphire (20 Crafting), Emerald (27), Ruby (34)
  • Min coins to keep (default 10,000) — auto-banks below this
  • Use Bank Heist briefcase toggle

Plugin version bumped to 1.1.0.

Test plan

  • Stand next to Toci with chisel + coins, enable gem cutter, verify buy → cut → sell loop runs smoothly
  • Verify buying stops when inventory fills without trying extra clicks
  • Verify cutting waits for all gems to finish before moving to sell
  • Verify shop stays open when transitioning from selling back to buying
  • Deplete coins below min, verify it walks to bank (or uses briefcase) and withdraws
  • Verify stop conditions: low Crafting, no chisel, no coins in bank

Adds a new Gem Cutter section to Leagues Toolkit. Walks to Toci in
Aldarin, opens the shop, mass-clicks "Buy 1" on uncut gems until
inventory is full or shop runs out, closes the shop, uses chisel on
uncut gems with SPACE for the "how many" dialog, waits for cutting
to finish, then reopens the shop and rapid-sells each cut gem from
the bottom inventory slot. Loops indefinitely.

Config:
- Enable gem cutter (toggle)
- Gem dropdown: Sapphire, Emerald, Ruby
- Min coins to keep (auto-banks when below)
- Use Bank Heist briefcase (Leagues relic instant banking)

Shop stays open across sell→buy transitions to save time.

Bump version to 1.1.0.
@chsami chsami merged commit cb4cdaa into chsami:development Apr 17, 2026
1 check passed
chsami added a commit that referenced this pull request Apr 17, 2026
feat(LeaguesToolkit): add Toci's Gem Cutter (#398)
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.

2 participants