feat: add batch size selector for hiring adventurers #12

Closed
opened 2026-03-07 11:17:25 -08:00 by hikari · 0 comments
Owner

Description

Currently players can only hire adventurers one at a time. Add a batch size selector so players can hire multiple adventurers in a single click.

UI / UX

  • Display a row of batch size buttons at the top of the adventurer list: x1, x5, x10, x25, x100, xMax
  • The active selection should be visually highlighted
  • Clicking a batch button sets the global batch size — every adventurer's hire button then uses that multiplier
  • This means there is no per-adventurer selector; the batch size applies to all tiers simultaneously

Acceptance Criteria

  • Batch size buttons render above the adventurer list with options: x1, x5, x10, x25, x100, xMax
  • Selecting a batch size updates all hire buttons to reflect the new quantity
  • The xMax option hires as many of the selected tier as the player can currently afford — however many that is, down to 1
  • Costs, adventurer counts, and gold deduction all scale correctly with the batch size
  • If the player cannot afford any of a given batch (except xMax), that tier's hire button should be disabled
  • The selected batch size persists whilst the player remains on the hire screen (no need to persist across sessions)

Notes

  • xMax should floor to the largest whole number the player can afford — never go into negative gold
  • Button styling should be consistent with existing UI patterns

This issue was created with help from Hikari~ 🌸

## Description Currently players can only hire adventurers one at a time. Add a batch size selector so players can hire multiple adventurers in a single click. ## UI / UX - Display a row of batch size buttons **at the top of the adventurer list**: `x1`, `x5`, `x10`, `x25`, `x100`, `xMax` - The active selection should be visually highlighted - Clicking a batch button sets the global batch size — every adventurer's hire button then uses that multiplier - This means there is **no per-adventurer selector**; the batch size applies to all tiers simultaneously ## Acceptance Criteria - Batch size buttons render above the adventurer list with options: **x1, x5, x10, x25, x100, xMax** - Selecting a batch size updates all hire buttons to reflect the new quantity - The **xMax** option hires as many of the selected tier as the player can currently afford — however many that is, down to 1 - Costs, adventurer counts, and gold deduction all scale correctly with the batch size - If the player cannot afford any of a given batch (except xMax), that tier's hire button should be disabled - The selected batch size persists whilst the player remains on the hire screen (no need to persist across sessions) ## Notes - xMax should floor to the largest whole number the player can afford — never go into negative gold - Button styling should be consistent with existing UI patterns ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-03-08 15:53:40 -07:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/elysium#12