From 16c1d2c278705f3adb4af77fddae65b55f0b1ebf Mon Sep 17 00:00:00 2001 From: Andrew Ekstedt Date: Thu, 3 Jul 2014 17:25:26 -0700 Subject: [PATCH] Fix natures.game_index --- pokedex/data/csv/natures.csv | 50 ++++++++++++++++++------------------ pokedex/db/tables.py | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/pokedex/data/csv/natures.csv b/pokedex/data/csv/natures.csv index 06a4d14..81a27fe 100644 --- a/pokedex/data/csv/natures.csv +++ b/pokedex/data/csv/natures.csv @@ -1,26 +1,26 @@ id,identifier,decreased_stat_id,increased_stat_id,hates_flavor_id,likes_flavor_id,game_index -1,hardy,2,2,1,1,1 -2,bold,2,3,1,5,6 -3,modest,2,4,1,2,16 -4,calm,2,5,1,4,21 -5,timid,2,6,1,3,11 -6,lonely,3,2,5,1,2 -7,docile,3,3,5,5,7 -8,mild,3,4,5,2,17 -9,gentle,3,5,5,4,22 -10,hasty,3,6,5,3,12 -11,adamant,4,2,2,1,4 -12,impish,4,3,2,5,9 -13,bashful,4,4,2,2,19 -14,careful,4,5,2,4,24 -15,rash,5,4,4,2,20 -16,jolly,4,6,2,3,14 -17,naughty,5,2,4,1,5 -18,lax,5,3,4,5,10 -19,quirky,5,5,4,4,25 -20,naive,5,6,4,3,15 -21,brave,6,2,3,1,3 -22,relaxed,6,3,3,5,8 -23,quiet,6,4,3,2,18 -24,sassy,6,5,3,4,23 -25,serious,6,6,3,3,13 +1,hardy,2,2,1,1,0 +2,bold,2,3,1,5,5 +3,modest,2,4,1,2,15 +4,calm,2,5,1,4,20 +5,timid,2,6,1,3,10 +6,lonely,3,2,5,1,1 +7,docile,3,3,5,5,6 +8,mild,3,4,5,2,16 +9,gentle,3,5,5,4,21 +10,hasty,3,6,5,3,11 +11,adamant,4,2,2,1,3 +12,impish,4,3,2,5,8 +13,bashful,4,4,2,2,18 +14,careful,4,5,2,4,23 +15,rash,5,4,4,2,19 +16,jolly,4,6,2,3,13 +17,naughty,5,2,4,1,4 +18,lax,5,3,4,5,9 +19,quirky,5,5,4,4,24 +20,naive,5,6,4,3,14 +21,brave,6,2,3,1,2 +22,relaxed,6,3,3,5,7 +23,quiet,6,4,3,2,17 +24,sassy,6,5,3,4,22 +25,serious,6,6,3,3,12 diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index fad89d8..6f97a49 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -1393,7 +1393,7 @@ class Nature(TableBase): likes_flavor_id = Column(Integer, ForeignKey('contest_types.id'), nullable=False, info=dict(description=u"ID of the Berry flavor the Pokémon likes (if hates_flavor_id is the same, the effects cancel out)")) game_index = Column(Integer, unique=True, nullable=False, - info=dict(description=u"This nature's internal order in the games (starting from 1, not 0).")) + info=dict(description=u"This nature's internal ID in the games")) @property def is_neutral(self):