2026-02-09 09:36:03 +01:00
|
|
|
---
|
|
|
|
|
# nuzlocke-tracker-tyvc
|
|
|
|
|
title: Add end-of-run condition rule
|
2026-02-09 12:24:06 +01:00
|
|
|
status: completed
|
2026-02-09 09:36:03 +01:00
|
|
|
type: feature
|
2026-02-09 12:24:06 +01:00
|
|
|
priority: normal
|
2026-02-09 09:36:03 +01:00
|
|
|
created_at: 2026-02-09T08:35:39Z
|
2026-02-09 12:24:06 +01:00
|
|
|
updated_at: 2026-02-09T11:23:11Z
|
2026-02-09 09:36:03 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
Add a new nuzlocke rule: **End of Run Condition**. This is a toggle/switch that lets the player decide when a run is considered complete:
|
|
|
|
|
|
|
|
|
|
- **Main Story** (default) — The run ends after beating the Champion / completing the main storyline
|
|
|
|
|
- **Post Game** — The run continues into the post-game content (Battle Frontier, rematches, etc.)
|
|
|
|
|
|
|
|
|
|
This affects when the player is expected to mark a run as "completed" and could influence level caps and boss tracking in the future.
|
|
|
|
|
|
|
|
|
|
## Checklist
|
2026-02-09 12:24:06 +01:00
|
|
|
- [x] Add `postGameCompletion` (boolean, default false) to the `NuzlockeRules` TypeScript interface and `DEFAULT_RULES`
|
|
|
|
|
- [x] Add a rule definition to `RULE_DEFINITIONS` in `frontend/src/types/rules.ts`
|
|
|
|
|
- [x] Verify the rule appears in the `RulesConfiguration` component (added new "Completion" section)
|
|
|
|
|
- [x] Verify the rule is stored correctly via the existing run/genlocke creation flows (JSONB, no backend schema change needed)
|