Add egglocke, wonderlocke, and randomizer variant rules
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:
@@ -1,22 +1,10 @@
|
||||
---
|
||||
# nuzlocke-tracker-fitk
|
||||
title: Add egglocke, wonderlocke, and randomizer rules
|
||||
status: todo
|
||||
status: completed
|
||||
type: feature
|
||||
priority: normal
|
||||
created_at: 2026-02-20T19:56:05Z
|
||||
updated_at: 2026-02-20T19:56:05Z
|
||||
updated_at: 2026-02-20T20:31:29Z
|
||||
parent: nuzlocke-tracker-49xj
|
||||
---
|
||||
|
||||
Add three new boolean rules that all share the same tracker logic: when enabled, the encounter Pokemon selector allows picking from ALL Pokemon (not just the game's regional dex).
|
||||
|
||||
- `egglocke` — all caught Pokemon are replaced with traded eggs
|
||||
- `wonderlocke` — all caught Pokemon are Wonder Traded away
|
||||
- `randomizer` — the run uses a randomized ROM
|
||||
|
||||
## Checklist
|
||||
|
||||
- [ ] Add `egglocke`, `wonderlocke`, `randomizer` to `NuzlockeRules` interface and `DEFAULT_RULES` (default: false)
|
||||
- [ ] Add `RuleDefinition` entries with appropriate categories
|
||||
- [ ] When any of these is enabled, encounter Pokemon selector should allow picking from ALL Pokemon
|
||||
- [ ] Reuse the existing "all Pokemon" selector pattern used in admin panel encounter creation and boss team creation
|
||||
Reference in New Issue
Block a user