Skip to content

Remove Chaos mode option from Realm of Legends#10224

Open
MostCromulent wants to merge 1 commit intoCard-Forge:masterfrom
MostCromulent:rolchaosfix
Open

Remove Chaos mode option from Realm of Legends#10224
MostCromulent wants to merge 1 commit intoCard-Forge:masterfrom
MostCromulent:rolchaosfix

Conversation

@MostCromulent
Copy link
Copy Markdown
Contributor

@MostCromulent MostCromulent commented Mar 31, 2026

Summary

Closes #10214

Addresses @VigilantSera request in #10214 — Chaos mode generates random 60-card preconstructed decks, incompatible with Realm of Legends' 98-card minimum deck size.

  • Adds allowChaos config flag to ConfigData (default true), consistent with the existing enableGeneticAI flag pattern
  • Gates the Chaos mode in NewGameScene behind this flag, matching how Precon/CommanderPrecon modes are conditionally added
  • Sets allowChaos: false in Realm of Legends' config.json

Notes

  • Backwards compatible: The flag defaults to true, so all other adventures are unaffected. Existing Realm of Legends saves are also unaffected — the flag only controls the new game screen mode picker, not gameplay or save loading.
  • Consistent with existing config options: allowChaos follows the same pattern as enableGeneticAI — a public boolean on ConfigData with a default value, read directly in NewGameScene.

🤖 Generated with Claude Code

Chaos mode generates random 60-card preconstructed decks, which is
incompatible with Realm of Legends' 98-card minimum deck size
requirement. Add an allowChaos config flag (default true) so
individual adventures can opt out. Set it to false for Realm of
Legends.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Hanmac Hanmac requested a review from Simisays March 31, 2026 09:03
@Hanmac Hanmac added the Adventure For the Adventure Module label Mar 31, 2026
@Agetian
Copy link
Copy Markdown
Contributor

Agetian commented Mar 31, 2026

Looks good to me

@Agetian Agetian self-requested a review March 31, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Adventure For the Adventure Module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Realm of Legends: Remove Chaos Option

3 participants