Add Pokemon Legends: Z-A to the game list

Add version group entry with region_id 0 (no PokeAPI region) and region
"lumiose". The Go fetch tool now skips route fetching for region_id 0 so
manually provided data won't be overwritten by re-runs. Includes
placeholder data file and box art.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 21:56:50 +01:00
parent 3934167139
commit 1884a085f3
6 changed files with 39 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
---
# nuzlocke-tracker-ytzv
title: 'Add Legends: Z-A to game list'
status: completed
type: feature
priority: normal
created_at: 2026-02-07T20:54:07Z
updated_at: 2026-02-07T20:55:05Z
---
Add Pokemon Legends: Z-A as a game. Uses region 'lumiose', region_id 0 (no PokeAPI region). Go fetch tool skips route fetching for region_id 0. Manual data file for routes/encounters.
## Checklist
- [ ] Add to version_groups.json with region_id 0
- [ ] Modify Go fetch tool to skip route processing when region_id is 0
- [ ] Add to GAME_FILES in run.py
- [ ] Create placeholder data/legends-z-a.json
- [ ] Download box art
- [ ] Verify tsc --noEmit and Go build

View File

@@ -0,0 +1 @@
[]

View File

@@ -40,7 +40,7 @@ GAME_FILES = [
# Gen 8
"sword", "shield", "brilliant-diamond", "shining-pearl", "legends-arceus",
# Gen 9
"scarlet", "violet",
"scarlet", "violet", "legends-z-a",
]

View File

@@ -391,5 +391,19 @@
"color": "#A96EEC"
}
}
},
"legends-z-a": {
"versions": ["legends-z-a"],
"generation": 9,
"region": "lumiose",
"region_id": 0,
"games": {
"legends-z-a": {
"name": "Pokemon Legends: Z-A",
"slug": "legends-z-a",
"release_year": 2025,
"color": "#3A7BDB"
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -132,6 +132,10 @@ func main() {
pokeIDCollector := NewPokeIDCollector()
for vgKey, vgInfo := range *versionGroups {
if vgInfo.RegionID == 0 {
fmt.Printf("\nSkipping %s (no PokeAPI region, data managed manually)\n", vgKey)
continue
}
for _, verName := range vgInfo.Versions {
routes, err := processVersion(ctx, client, verName, vgInfo, vgKey, routeOrder, specialEnc, pokeIDCollector)
if err != nil {