Skip to content

Conversation

@vanja-ivancevic
Copy link
Contributor

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

  1. Filter Chaos mode precons by allowed editions:
    When an adventure world defines allowedEditions, Chaos mode now only picks from preconstructed decks matching those editions (instead of all 400+ precons).

  2. Edition-specific starter decks for Standard mode:
    New starterDecksByEdition config field lets adventure worlds define specific .dck files per edition/color. When a player selects an edition and color, the game loads that exact deck instead of generating one from JSON templates.

"starterDecksByEdition": {
  "TMP": { "W": "decks/starter/TMP - White.dck", ... }
}

Falls back to existing JSON generation if no match found.

Add optional allowedEditions parameter to getRandomOrPreconOrThemeDeck()
in DeckgenUtil. When provided, filters precon decks to only those whose
Set= metadata matches one of the allowed edition codes.

Adventure mode's Chaos starter deck selection now passes the world's
allowedEditions config, enabling adventure worlds to restrict Chaos mode
to era-appropriate preconstructed decks.
Add starterDecksByEdition field to ConfigData, allowing adventure worlds
to define specific .dck files per edition and color combination.

Standard mode now checks starterDecksByEdition first. If a matching
edition/color deck is found, it loads that .dck file directly. Otherwise,
falls back to existing JSON generation with edition filtering.

Config format:
  "starterDecksByEdition": {
    "TMP": { "W": "decks/starter/TMP - White.dck", ... },
    "USG": { "W": "decks/starter/USG - White.dck", ... }
  }
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