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:
@@ -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
|
||||
1
backend/src/app/seeds/data/legends-z-a.json
Normal file
1
backend/src/app/seeds/data/legends-z-a.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -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",
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
frontend/public/boxart/legends-z-a.png
Normal file
BIN
frontend/public/boxart/legends-z-a.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user