Add egglocke, wonderlocke, and randomizer variant rules
All checks were successful
CI / backend-lint (push) Successful in 9s
CI / actions-lint (push) Successful in 14s
CI / frontend-lint (push) Successful in 21s

When any variant rule is enabled, the encounter modal switches from
the game's regional dex to an all-Pokemon search (same debounced
API pattern as EggEncounterModal). A new "Run Variant" section in
rules configuration groups these rules, and badges render in amber.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-20 21:33:01 +01:00
parent e25d1cf24c
commit 2298c32691
7 changed files with 213 additions and 21 deletions

View File

@@ -125,7 +125,7 @@ RUN_DEFS = [
"name": "Unova Adventure",
"status": "active",
"progress": 0.35,
"rules": {},
"rules": {"randomizer": True},
"started_days_ago": 5,
"ended_days_ago": None,
},
@@ -148,6 +148,9 @@ DEFAULT_RULES = {
"levelCaps": False,
"hardcoreMode": False,
"setModeOnly": False,
"egglocke": False,
"wonderlocke": False,
"randomizer": False,
}