Commit graph

9 commits

Author SHA1 Message Date
Eevee (Alex Munroe) 56aca8e9c3 XY Pokémon, names, types. 2013-10-11 12:31:27 -07:00
Petr Viktorin a551feb785 Move English texts to language-specific tables
(See parent commit for rebasing instructions)
2011-03-13 15:41:22 -07:00
Lynn "Zhorken" Vaughan d6a96f5ee9 Support null pre-D/P damage class for ??? and Shadow.
Rather than marking them "non-damaging".
2011-02-10 21:02:01 -05:00
Brigit Lemanski 7886c8188e Renumbered ???, added Shadow type and moves
TODO: Shadow Rush version changes, move foreign names
2010-12-11 19:35:23 -05:00
Zhorken cb1a47242a Capitalize types' names. #259 2010-12-06 18:04:46 -05:00
Zhorken 558dfcf9ca Added types' generations and pre-gen-IV damage classes. 2009-12-20 01:41:40 -05:00
Eevee 40d57b2dcc Renamed ????? to ???, as the D/P text dump indicates is correct. 2009-11-11 22:11:44 -08:00
Eevee 634ef3ed1e Fixed a slew of foriegn key import problems. #29
Curse's type_id was 0, which is bogus; this has been fixed by creating a
real ????? type.
Fourth-gen moves all had zero as a contest effect id, which was also
bogus.
Pokémon 494 and 495 were junk and have been scrapped entirely.
pokemon_form_groups's description column was too short.

pokedex's connect() now takes kwargs passed to sessionmaker().

A more major change: some tables, like pokemon, are self-referential and
contain rows that refer to rows later in the table (for example, Pikachu
evolves from Pichu, which has a higher id).  At the moment such a row is
loaded, the foreign key is thus bogus.  I solved this by turning on
autocommit and wrapping add() in a try block, then attempting to readd
every failed row again after the rest of the table is finished.  Slows
the import down a bit, but makes it work perfectly with foreign key
checks on.
2009-07-03 23:12:13 -04:00
Eevee 77ee4eb8a0 Moved CSV sources into pokedex/.
This appears to be the only way to make data access in eggs actually
work, and is why the Platinum sprites are in pokedex/ too.
2009-02-22 23:44:40 -08:00
Renamed from data/csv/types.csv (Browse further)