Populate boss Pokemon teams in seed data
Add Pokemon teams (pokeapi_id, level, order) to all 327 boss entries across 21 seed files, sourced from Bulbapedia. Includes starter-dependent teams via condition_label, Mega Evolution, Dynamax/Gigantamax, Terastallize, and single-Pokemon entries for Totems/Nobles/Titans. Also fix _export_bosses to include condition_label in exported data. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -544,6 +544,11 @@ async def _export_bosses(session: AsyncSession, vg_data: dict):
|
||||
"pokemon_name": bp.pokemon.name,
|
||||
"level": bp.level,
|
||||
"order": bp.order,
|
||||
**(
|
||||
{"condition_label": bp.condition_label}
|
||||
if bp.condition_label
|
||||
else {}
|
||||
),
|
||||
}
|
||||
for bp in sorted(b.pokemon, key=lambda p: p.order)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user