Add static clause rule for encounter selector filtering
All checks were successful
CI / backend-lint (push) Successful in 10s
CI / actions-lint (push) Successful in 15s
CI / frontend-lint (push) Successful in 23s

When disabled, static encounters (legendaries, scripted Pokémon) are
grayed out and unselectable in the encounter selector. Enabled by default.
Adds 'static' to METHOD_CONFIG/METHOD_ORDER with a teal badge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-21 12:04:39 +01:00
parent aea5d1d84d
commit 85fef68dae
6 changed files with 68 additions and 28 deletions

View File

@@ -3,6 +3,7 @@ export interface NuzlockeRules {
duplicatesClause: boolean
shinyClause: boolean
giftClause: boolean
staticClause: boolean
pinwheelClause: boolean
levelCaps: boolean
@@ -22,6 +23,7 @@ export const DEFAULT_RULES: NuzlockeRules = {
duplicatesClause: true,
shinyClause: true,
giftClause: false,
staticClause: true,
pinwheelClause: true,
levelCaps: false,
@@ -66,6 +68,13 @@ export const RULE_DEFINITIONS: RuleDefinition[] = [
"In-game gift Pokémon (starters, trades, fossils) do not count against a location's encounter limit.",
category: 'core',
},
{
key: 'staticClause',
name: 'Static Clause',
description:
'Static encounters (legendaries, scripted Pokémon) are available in the encounter selector. Disable to skip them and treat the next wild encounter as your pick.',
category: 'core',
},
{
key: 'pinwheelClause',
name: 'Pinwheel Clause',