Skip to content

Conversation

@vanja-ivancevic
Copy link
Contributor

@vanja-ivancevic vanja-ivancevic commented Jan 22, 2026

  • Equipment loadouts are now tied to each deck
  • Switching decks automatically saves current equipment and restores the new deck's loadout
  • Backward compatible with existing saves (loadouts start empty, get populated on first deck switch)

Works well so far in testing.

Equipment is now automatically saved/restored when switching decks.
Each deck remembers its own equipment configuration.

- Add deckLoadouts HashMap to store per-deck equipment
- Save/restore loadouts on deck switch in setSelectedDeckSlot()
- Persist loadouts in save/load methods
- Backward compatible with existing saves
@vanja-ivancevic vanja-ivancevic force-pushed the feature/deck-equipment-loadouts branch from f0b8cad to e2e7781 Compare January 22, 2026 18:20
@Jetz72 Jetz72 added Enhancement New feature or request Adventure For the Adventure Module labels Jan 22, 2026
@Jetz72
Copy link
Contributor

Jetz72 commented Jan 22, 2026

Seems like the kind of feature that should have to be enabled by a setting. There are users who keep 10+ decks, and if one of those people gets a better set of boots, it'll be a bit annoying having to go through and update the loadout for each of them. Having it default to off would also ensure the user understands that equipment is now tied to their active deck. Otherwise I suspect we'd encounter plenty of users that load up a game, switch decks, wander into battle without realizing all their equipment fell off, then file a bug report because they don't understand why it happened.

@vanja-ivancevic
Copy link
Contributor Author

vanja-ivancevic commented Jan 22, 2026

Great point! I will update it as a setting, default "off".

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

Labels

Adventure For the Adventure Module Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants