Add starter, gift, and fossil encounters to seed data

Define special encounter data (starters, gifts, fossils) in a new
special_encounters module and merge them into route seed JSON during
generation. Add new route locations to ROUTE_ORDER for cities that
previously had no wild encounters (Saffron City, Pewter City, etc.).
Show colored method badges in the EncounterModal UI for special
encounter types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 13:50:49 +01:00
parent 73d4a1831c
commit d488c252b8
21 changed files with 7430 additions and 5384 deletions

View File

@@ -1 +1,96 @@
[]
[
{
"name": "Route 101",
"order": 1,
"encounters": [
{
"national_dex": 252,
"pokemon_name": "treecko",
"method": "starter",
"encounter_rate": 100,
"min_level": 5,
"max_level": 5
},
{
"national_dex": 255,
"pokemon_name": "torchic",
"method": "starter",
"encounter_rate": 100,
"min_level": 5,
"max_level": 5
},
{
"national_dex": 258,
"pokemon_name": "mudkip",
"method": "starter",
"encounter_rate": 100,
"min_level": 5,
"max_level": 5
}
]
},
{
"name": "Rustboro City",
"order": 2,
"encounters": [
{
"national_dex": 345,
"pokemon_name": "lileep",
"method": "fossil",
"encounter_rate": 100,
"min_level": 20,
"max_level": 20
},
{
"national_dex": 347,
"pokemon_name": "anorith",
"method": "fossil",
"encounter_rate": 100,
"min_level": 20,
"max_level": 20
}
]
},
{
"name": "Lavaridge Town",
"order": 3,
"encounters": [
{
"national_dex": 360,
"pokemon_name": "wynaut",
"method": "gift",
"encounter_rate": 100,
"min_level": 5,
"max_level": 5
}
]
},
{
"name": "Route 119",
"order": 4,
"encounters": [
{
"national_dex": 351,
"pokemon_name": "castform",
"method": "gift",
"encounter_rate": 100,
"min_level": 25,
"max_level": 25
}
]
},
{
"name": "Mossdeep City",
"order": 5,
"encounters": [
{
"national_dex": 374,
"pokemon_name": "beldum",
"method": "gift",
"encounter_rate": 100,
"min_level": 5,
"max_level": 5
}
]
}
]