Add post-game completion rule option
Add postGameCompletion toggle to nuzlocke rules so players can indicate whether a run ends after the Champion or continues into post-game. Adds a new "Completion" category section in rules configuration with a green badge color. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
---
|
||||
# nuzlocke-tracker-tyvc
|
||||
title: Add end-of-run condition rule
|
||||
status: todo
|
||||
status: completed
|
||||
type: feature
|
||||
priority: normal
|
||||
created_at: 2026-02-09T08:35:39Z
|
||||
updated_at: 2026-02-09T08:35:39Z
|
||||
updated_at: 2026-02-09T11:23:11Z
|
||||
---
|
||||
|
||||
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:
|
||||
@@ -15,7 +16,7 @@ Add a new nuzlocke rule: **End of Run Condition**. This is a toggle/switch that
|
||||
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
|
||||
- [ ] Add `postGameCompletion` (boolean, default false) to the `NuzlockeRules` TypeScript interface and `DEFAULT_RULES`
|
||||
- [ ] Add a rule definition to `RULE_DEFINITIONS` in `frontend/src/types/rules.ts`
|
||||
- [ ] Verify the rule appears in the `RulesConfiguration` component (should work automatically via RULE_DEFINITIONS)
|
||||
- [ ] Verify the rule is stored correctly via the existing run/genlocke creation flows (JSONB, no backend schema change needed)
|
||||
- [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)
|
||||
Reference in New Issue
Block a user