- Derive image_path from card ID instead of raw data image_file field - Use simplified CDN paths: /<set>/<card>.webp (e.g., a1/033-charmander.webp) - Energy cards use basic/<type>.webp paths - Fix undefined variable bug in transform_trainer_card - Update tests to match new path format - Regenerate all 382 card definitions with correct image_url fields
13 lines
346 B
JSON
13 lines
346 B
JSON
{
|
|
"id": "energy-basic-lightning",
|
|
"name": "Lightning Energy",
|
|
"card_type": "energy",
|
|
"energy_type": "lightning",
|
|
"energy_provides": [
|
|
"lightning"
|
|
],
|
|
"rarity": "common",
|
|
"set_id": "basic",
|
|
"image_path": "basic/lightning.webp",
|
|
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/basic/lightning.webp"
|
|
} |