Add entries in past abilities for access to new abilities#1231
Add entries in past abilities for access to new abilities#1231Naramsim merged 4 commits intoPokeAPI:masterfrom
Conversation
…ast ability' as blank for now
…d to a valid ability, however
|
Hi! Thanks! I understand the logic. We need to document it here: https://github.com/PokeAPI/pokeapi.co/blob/master/src/docs/pokemon.json |
|
A PokeAPI/api-data refresh has started. In ~45 minutes the staging branch of PokeAPI/api-data will be pushed with the new generated data. |
|
The updater script has finished its job and has now opened a Pull Request towards PokeAPI/api-data with the updated data. |
Ah, I had forgotten that this change would need to be documented! Since this PR has already been closed, I should make this change in a separate PR then? |
Added entries in
pokemon_abilities_past.csvfor all pokemon that gained additional abilities. This was previously mentioned in PR #1230. (For example, in Gen. 4, Pidgey gained a secondary ability 'Tangled Feet'. In Gen. 3, Pidgey's ability slot 2 was empty.) The only pokemon omitted were pokemon from Unova that gained a hidden ability in Pokemon Black 2/White 2, as this was within the same generation they were introduced.The information on the abilities was gathered from the following Bulbapedia resources:
Two files were modified:
data/v2/csv/pokemon_abilities_past.csv: Modified to include these entries for pokemon gaining access to new abilities.data/v2/build.py: Modified to allow for "null" option for the previous ability. A "null" option will just mean that this pokemon did not previously have an ability in this slot.