diff --git a/data/v2/build.py b/data/v2/build.py index 67ccdde3..f2820fe3 100644 --- a/data/v2/build.py +++ b/data/v2/build.py @@ -1362,6 +1362,7 @@ def _build_pokemons(): gen_v = "versions/generation-v/{0}" gen_vi = "versions/generation-vi/{0}" gen_vii = "versions/generation-vii/{0}" + gen_viii = "versions/generation-viii/{0}" sprites = { "front_default": file_path_or_none(poke_sprites.format(file_name_png)), "front_female": file_path_or_none( @@ -1923,6 +1924,32 @@ def _build_pokemons(): ) ) ), + }, + "icons": { + "front_default": file_path_or_none( + poke_sprites.format( + gen_vii.format("icons/" + file_name_png) + ) + ), + "front_female": file_path_or_none( + poke_sprites.format( + gen_vii.format("icons/female/" + file_name_png) + ) + ), + }, + }, + "generation-viii": { + "icons": { + "front_default": file_path_or_none( + poke_sprites.format( + gen_viii.format("icons/" + file_name_png) + ) + ), + "front_female": file_path_or_none( + poke_sprites.format( + gen_viii.format("icons/female/" + file_name_png) + ) + ), } }, },