Skip to content

Add sprites for type name icons#139

Merged
Naramsim merged 3 commits intoPokeAPI:masterfrom
gabeklavans:type-name-icons
Mar 27, 2024
Merged

Add sprites for type name icons#139
Naramsim merged 3 commits intoPokeAPI:masterfrom
gabeklavans:type-name-icons

Conversation

@gabeklavans
Copy link
Contributor

@gabeklavans gabeklavans commented Mar 24, 2024

All the files need for #137

Ripped from https://bulbapedia.bulbagarden.net/wiki/Type#Name_icons

Organized with subfolders named after the game of origin. Using the acronyms that the bulbapedia article uses.

@Naramsim
Copy link
Member

Hi! Thanks! Instead of using short-names for the folder, like FRGL, it would be better to use the name of the generation followed by another folder with the full name of the set as it's in our API.

Such as: generation-i/red-blue/1.png

We could also rename the images to use our internal IDs https://pokeapi.co/api/v2/type

Remove type sprites that don't have a corresponding
verison-group/version in
Pokeapi
@gabeklavans
Copy link
Contributor Author

@Naramsim I've reorganized them as you've suggested.

For version-groups that have the same type icons, I decided to just copy the sprites so each one would have a folder. Let me know if you have a preference to avoid this.

I also just removed the folders that didn't have any associated version or version-groups in the API, such as Pokemon Stadium(2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants