Files
nuzlocke-tracker/.beans/nuzlocke-tracker-fv7w--add-team-size-limit-rule.md
Julian Tabel e25d1cf24c
All checks were successful
CI / backend-lint (push) Successful in 9s
CI / actions-lint (push) Successful in 15s
CI / frontend-lint (push) Successful in 21s
Remove unused nuzlocke rules, reorganize into core and playstyle
Remove firstEncounterOnly, permadeath, nicknameRequired, and
postGameCompletion from the rules system — they are either implicit
(it's a nuzlocke tracker) or not enforced. Move levelCaps to core
(it's displayed in the sticky bar). Create a new "playstyle" category
for hardcoreMode and setModeOnly — informational rules useful for
stats but not enforced by the tracker. Remove the completion category
entirely. Add sub-task beans for the rules overhaul epic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 21:20:23 +01:00

1.6 KiB

title, status, type, priority, created_at, updated_at, parent
title status type priority created_at updated_at parent
Add team size limit rule todo feature normal 2026-02-20T19:56:22Z 2026-02-20T20:01:53Z nuzlocke-tracker-49xj

Cap the active party size with warnings when the limit is exceeded.

Design Decisions

Configurable limit: Add teamSizeLimit: number | null to NuzlockeRules. null means no limit (disabled). Default Pokemon party size is 6, but variants like "trio-locke" use 3.

What counts: "Active team" = encounters with status caught and not fainted. The tracker already tracks this — alive Pokemon are shown in the team section on RunEncounters.

No PC box tracking: The tracker doesn't model a PC box. Excess catches beyond the team limit are still logged normally. The tracker just warns that the team is over capacity.

Enforcement: Soft enforcement. Show a warning banner on the encounters page when alive count exceeds the limit. Highlight the count in the team section header. Don't block new catches.

UI: Add a numeric input to RulesConfiguration (shown when team size toggle is on, min 1, max 6). Display the limit in the sticky bar alongside level caps if enabled.

Checklist

  • Add teamSizeLimit: number | null to NuzlockeRules interface (default: null)
  • Add RuleDefinition entry under 'difficulty' category
  • Add numeric input to RulesConfiguration (shown when enabled, min 1, max 6)
  • Show warning banner on RunEncounters when alive team count exceeds limit
  • Display team size limit in sticky bar alongside level caps
  • Show count in team section header (e.g., "Team (4/3)" in red when over)