diff --git a/pokedex/data/csv/abilities.csv b/pokedex/data/csv/abilities.csv index b82a3b1..178b94e 100644 --- a/pokedex/data/csv/abilities.csv +++ b/pokedex/data/csv/abilities.csv @@ -163,3 +163,63 @@ id,identifier,generation_id 162,victory-star,5 163,turboblaze,5 164,teravolt,5 +10001,mountaineer,5 +10002,wave-rider,5 +10003,skater,5 +10004,thrust,5 +10005,perception,5 +10006,parry,5 +10007,instinct,5 +10008,dodge,5 +10009,jagged-edge,5 +10010,frostbite,5 +10011,tenacity,5 +10012,pride,5 +10013,deep-sleep,5 +10014,power-nap,5 +10015,spirit,5 +10016,warm-blanket,5 +10017,gulp,5 +10018,herbivore,5 +10019,sandpit,5 +10020,hot-blooded,5 +10021,medic,5 +10022,life-force,5 +10023,lunchbox,5 +10024,nurse,5 +10025,melee,5 +10026,sponge,5 +10027,bodyguard,5 +10028,hero,5 +10029,last-bastion,5 +10030,stealth,5 +10031,vanguard,5 +10032,nomad,5 +10033,sequence,5 +10034,grass-cloak,5 +10035,celebrate,5 +10036,lullaby,5 +10037,calming,5 +10038,daze,5 +10039,frighten,5 +10040,interference,5 +10041,mood-maker,5 +10042,confidence,5 +10043,fortune,5 +10044,bonanza,5 +10045,explode,5 +10046,omnipotent,5 +10047,share,5 +10048,black-hole,5 +10049,shadow-dash,5 +10050,sprint,5 +10051,disgust,5 +10052,high-rise,5 +10053,climber,5 +10054,flame-boost,5 +10055,aqua-boost,5 +10056,run-up,5 +10057,conqueror,5 +10058,shackle,5 +10059,decoy,5 +10060,shield,5 diff --git a/pokedex/data/csv/ability_names.csv b/pokedex/data/csv/ability_names.csv index cc6b089..eb24456 100644 --- a/pokedex/data/csv/ability_names.csv +++ b/pokedex/data/csv/ability_names.csv @@ -983,3 +983,63 @@ ability_id,local_language_id,name 164,7,Terravoltaje 164,8,Teravolt 164,9,Teravolt +10001,9,Mountaineer +10002,9,Wave Rider +10003,9,Skater +10004,9,Thrust +10005,9,Perception +10006,9,Parry +10007,9,Instinct +10008,9,Dodge +10009,9,Jagged Edge +10010,9,Frostbite +10011,9,Tenacity +10012,9,Pride +10013,9,Deep Sleep +10014,9,Power Nap +10015,9,Spirit +10016,9,Warm Blanket +10017,9,Gulp +10018,9,Herbivore +10019,9,Sandpit +10020,9,Hot Blooded +10021,9,Medic +10022,9,Life Force +10023,9,Lunchbox +10024,9,Nurse +10025,9,Melee +10026,9,Sponge +10027,9,Bodyguard +10028,9,Hero +10029,9,Last Bastion +10030,9,Stealth +10031,9,Vanguard +10032,9,Nomad +10033,9,Sequence +10034,9,Grass Cloak +10035,9,Celebrate +10036,9,Lullaby +10037,9,Calming +10038,9,Daze +10039,9,Frighten +10040,9,Interference +10041,9,Mood Maker +10042,9,Confidence +10043,9,Fortune +10044,9,Bonanza +10045,9,Explode +10046,9,Omnipotent +10047,9,Share +10048,9,Black Hole +10049,9,Shadow Dash +10050,9,Sprint +10051,9,Disgust +10052,9,High-rise +10053,9,Climber +10054,9,Flame Boost +10055,9,Aqua Boost +10056,9,Run Up +10057,9,Conqueror +10058,9,Shackle +10059,9,Decoy +10060,9,Shield diff --git a/pokedex/data/csv/conquest_pokemon_abilities.csv b/pokedex/data/csv/conquest_pokemon_abilities.csv new file mode 100644 index 0000000..d5cd058 --- /dev/null +++ b/pokedex/data/csv/conquest_pokemon_abilities.csv @@ -0,0 +1,561 @@ +pokemon_species_id,slot,ability_id +4,1,66 +4,2,10016 +4,3,10028 +5,1,66 +5,2,10016 +5,3,10028 +6,1,66 +6,2,10028 +6,3,10029 +15,1,10031 +15,2,10001 +15,3,68 +23,1,22 +23,2,61 +23,3,10039 +24,1,22 +24,2,61 +24,3,10039 +25,1,9 +25,2,10035 +25,3,31 +26,1,9 +26,2,10007 +26,3,31 +39,1,10036 +39,2,10041 +39,3,10042 +40,1,10036 +40,2,10041 +40,3,10042 +41,1,10025 +41,2,39 +41,3,10026 +42,1,10040 +42,2,39 +42,3,10026 +52,1,10001 +52,2,10043 +52,3,10044 +53,1,10001 +53,2,7 +53,3,10052 +63,1,10007 +63,2,10022 +63,3,10047 +64,1,10007 +64,2,10022 +64,3,10005 +65,1,10007 +65,2,10022 +65,3,39 +66,1,62 +66,2,10004 +66,3,10027 +67,1,62 +67,2,10004 +67,3,10027 +68,1,62 +68,2,10057 +68,3,10027 +92,1,26 +93,1,26 +94,1,26 +95,1,5 +95,2,10009 +95,3,10039 +111,1,31 +111,2,10027 +111,3,10009 +112,1,31 +112,2,10027 +112,3,10009 +123,1,68 +123,2,10006 +123,3,10031 +129,1,10017 +129,2,10041 +129,3,10059 +130,1,22 +130,2,10039 +130,3,10011 +131,1,75 +131,2,10002 +131,3,11 +133,1,10050 +133,2,10005 +133,3,10035 +134,1,10002 +134,2,10055 +134,3,11 +135,1,10050 +135,2,10031 +135,3,10 +136,1,10015 +136,2,10054 +136,3,18 +143,1,10013 +143,2,17 +143,3,47 +144,1,10010 +147,1,61 +147,2,10007 +147,3,10041 +148,1,61 +148,2,10007 +148,3,10001 +149,1,39 +149,2,10042 +149,3,10029 +150,1,10022 +169,1,10049 +169,2,39 +169,3,10026 +172,1,9 +172,2,10041 +172,3,10033 +174,1,10036 +174,2,10041 +174,3,10042 +179,1,9 +179,2,10040 +179,3,10037 +180,1,9 +180,2,10040 +180,3,10037 +181,1,9 +181,2,10040 +181,3,10042 +194,1,10017 +194,2,10013 +194,3,11 +195,1,10058 +195,2,10013 +195,3,11 +196,1,10001 +196,2,10007 +196,3,10047 +197,1,10058 +197,2,10025 +197,3,10008 +200,1,26 +204,1,5 +204,2,10009 +204,3,10045 +205,1,5 +205,2,10009 +205,3,10045 +208,1,5 +208,2,10009 +208,3,10039 +212,1,68 +212,2,10006 +212,3,10012 +215,1,39 +215,2,10052 +215,3,10025 +246,1,10019 +246,2,62 +246,3,10030 +247,1,61 +247,2,10009 +247,3,10060 +248,1,10039 +248,2,10011 +248,3,10029 +252,1,65 +252,2,10001 +252,3,10007 +253,1,65 +253,2,10001 +253,3,10006 +254,1,65 +254,2,10001 +254,3,10050 +280,1,10007 +280,2,10005 +280,3,10047 +281,1,10007 +281,2,10005 +281,3,10047 +282,1,10007 +282,2,10005 +282,3,10042 +304,1,5 +304,2,10027 +304,3,10056 +305,1,5 +305,2,10027 +305,3,10056 +306,1,5 +306,2,10027 +306,3,10056 +347,1,4 +347,2,10009 +347,3,10007 +348,1,4 +348,2,10009 +348,3,10006 +355,1,26 +356,1,10039 +356,2,10040 +356,3,10048 +358,1,26 +361,1,39 +361,2,10003 +361,3,10030 +362,1,39 +362,2,10039 +362,3,10010 +363,1,10013 +363,2,10003 +363,3,47 +364,1,10013 +364,2,10003 +364,3,47 +365,1,10011 +365,2,10003 +365,3,47 +374,1,29 +374,2,10027 +374,3,10056 +375,1,29 +375,2,10027 +375,3,10060 +376,1,29 +376,2,10027 +376,3,10004 +379,1,29 +383,1,10020 +384,1,10032 +390,1,66 +390,2,10001 +390,3,10015 +391,1,66 +391,2,10053 +391,3,10015 +392,1,66 +392,2,10053 +392,3,10057 +393,1,67 +393,2,10002 +393,3,10012 +394,1,67 +394,2,10002 +394,3,10012 +395,1,67 +395,2,10002 +395,3,10012 +396,1,51 +396,2,10028 +396,3,10035 +397,1,22 +397,2,10028 +397,3,10035 +398,1,22 +398,2,10028 +398,3,10031 +399,1,86 +399,2,10013 +399,3,109 +400,1,86 +400,2,10013 +400,3,109 +403,1,22 +403,2,10033 +403,3,10035 +404,1,22 +404,2,10033 +404,3,10056 +405,1,22 +405,2,10033 +405,3,10050 +410,1,10060 +410,2,10029 +410,3,5 +411,1,10060 +411,2,10029 +411,3,5 +425,1,10008 +425,2,10045 +425,3,10059 +426,1,10008 +426,2,10045 +426,3,10059 +429,1,26 +433,1,26 +442,1,10040 +442,2,10039 +442,3,10048 +443,1,10019 +443,2,10007 +443,3,10025 +444,1,10019 +444,2,10006 +444,3,10035 +445,1,10030 +445,2,10006 +445,3,10011 +446,1,10023 +446,2,10014 +446,3,47 +447,1,39 +447,2,10006 +447,3,10050 +448,1,39 +448,2,10006 +448,3,10050 +451,1,4 +451,2,97 +451,3,10058 +452,1,4 +452,2,97 +452,3,10031 +453,1,10008 +453,2,10025 +453,3,10051 +454,1,10008 +454,2,10025 +454,3,10028 +455,1,26 +461,1,10008 +461,2,10052 +461,3,10049 +464,1,31 +464,2,10027 +464,3,116 +470,1,10056 +470,2,10007 +470,3,10022 +471,1,10003 +471,2,10030 +471,3,10010 +475,1,10006 +475,2,10057 +475,3,154 +477,1,10039 +477,2,10040 +477,3,10048 +478,1,10001 +478,2,10008 +478,3,10010 +483,1,10011 +493,1,10046 +495,1,65 +495,2,10034 +495,3,10007 +496,1,65 +496,2,10034 +496,3,10007 +497,1,65 +497,2,10034 +497,3,10024 +498,1,66 +498,2,10015 +498,3,10035 +499,1,66 +499,2,10015 +499,3,10035 +500,1,66 +500,2,10015 +500,3,10054 +501,1,67 +501,2,10002 +501,3,10006 +502,1,67 +502,2,10002 +502,3,10006 +503,1,67 +503,2,10002 +503,3,10057 +511,1,10025 +511,2,10024 +511,3,10035 +512,1,10025 +512,2,10028 +512,3,10007 +513,1,10025 +513,2,10001 +513,3,10035 +514,1,10025 +514,2,10007 +514,3,10054 +515,1,10025 +515,2,10001 +515,3,10008 +516,1,10025 +516,2,10007 +516,3,10055 +517,1,10013 +517,2,10005 +517,3,10007 +518,1,10037 +518,2,10037 +518,3,10038 +522,1,31 +522,2,78 +522,3,10056 +523,1,31 +523,2,78 +523,3,10050 +524,1,5 +524,2,10027 +524,3,10045 +525,1,5 +525,2,10027 +525,3,10045 +526,1,5 +526,2,10027 +526,3,10045 +529,1,10019 +529,2,10030 +529,3,10006 +530,1,10019 +530,2,10030 +530,3,10056 +531,1,10022 +531,2,131 +531,3,10021 +532,1,10004 +532,2,62 +532,3,10015 +533,1,10004 +533,2,62 +533,3,10015 +534,1,10004 +534,2,62 +534,3,10015 +540,1,10034 +540,2,10030 +540,3,10018 +541,1,10034 +541,2,10030 +541,3,10058 +542,1,10024 +542,2,68 +542,3,10042 +543,1,38 +543,2,10009 +543,3,10018 +544,1,38 +544,2,10009 +544,3,10028 +545,1,38 +545,2,10009 +545,3,10031 +546,1,10025 +546,2,10001 +546,3,10008 +547,1,10025 +547,2,10001 +547,3,10008 +548,1,20 +548,2,10024 +548,3,10022 +549,1,20 +549,2,10024 +549,3,10022 +551,1,22 +551,2,153 +551,3,10035 +552,1,22 +552,2,153 +552,3,10051 +553,1,22 +553,2,153 +553,3,10051 +554,1,10056 +554,2,10015 +554,3,10035 +555,1,10028 +555,2,10015 +555,3,10057 +559,1,61 +559,2,153 +559,3,10051 +560,1,61 +560,2,153 +560,3,10015 +570,1,149 +570,2,10025 +570,3,10051 +571,1,149 +571,2,10012 +571,3,10049 +572,1,10041 +572,2,10005 +572,3,10042 +573,1,10008 +573,2,10005 +573,3,10042 +574,1,10007 +574,2,10005 +574,3,10008 +575,1,10007 +575,2,10005 +575,3,10037 +576,1,10007 +576,2,10005 +576,3,10037 +587,1,9 +587,2,10007 +587,3,10035 +595,1,14 +595,2,10033 +595,3,10026 +596,1,14 +596,2,10033 +596,3,10026 +607,1,49 +607,2,18 +607,3,10016 +608,1,49 +608,2,18 +608,3,10016 +609,1,49 +609,2,18 +609,3,10016 +610,1,104 +610,2,10007 +610,3,10039 +611,1,104 +611,2,10006 +611,3,10039 +612,1,104 +612,2,10012 +612,3,10011 +613,1,10030 +613,2,10003 +613,3,10041 +614,1,10030 +614,2,10011 +614,3,10039 +624,1,10006 +624,2,10058 +624,3,39 +625,1,10006 +625,2,10058 +625,3,39 +627,1,51 +627,2,10012 +627,3,10035 +628,1,51 +628,2,10012 +628,3,10028 +633,1,10028 +633,2,10012 +633,3,10025 +634,1,10028 +634,2,10012 +634,3,10035 +635,1,26 +636,1,49 +636,2,10056 +636,3,10026 +637,1,49 +637,2,10039 +637,3,10026 +639,1,154 +643,1,163 +644,1,164 diff --git a/pokedex/data/csv/conquest_pokemon_moves.csv b/pokedex/data/csv/conquest_pokemon_moves.csv new file mode 100644 index 0000000..7537103 --- /dev/null +++ b/pokedex/data/csv/conquest_pokemon_moves.csv @@ -0,0 +1,201 @@ +pokemon_species_id,move_id +4,52 +5,424 +6,53 +15,41 +23,40 +24,474 +25,85 +26,344 +39,3 +40,304 +41,17 +42,305 +52,154 +53,163 +63,100 +64,60 +65,94 +66,2 +67,358 +68,238 +92,122 +93,506 +94,247 +95,317 +111,523 +112,529 +123,210 +129,150 +130,401 +131,58 +133,98 +134,56 +135,85 +136,424 +143,34 +144,59 +147,82 +148,525 +149,407 +150,540 +169,440 +172,84 +174,1 +179,84 +180,435 +181,87 +194,55 +195,426 +196,60 +197,372 +200,310 +204,450 +205,360 +208,231 +212,404 +215,185 +246,317 +247,157 +248,444 +252,71 +253,348 +254,437 +280,93 +281,473 +282,94 +304,232 +305,442 +306,231 +347,210 +348,404 +355,310 +356,425 +358,473 +361,181 +362,58 +363,181 +364,301 +365,59 +374,442 +375,418 +376,309 +379,430 +383,414 +384,406 +390,52 +391,172 +392,83 +393,145 +394,61 +395,56 +396,98 +397,17 +398,413 +399,29 +400,158 +403,209 +404,435 +405,87 +410,442 +411,157 +425,310 +426,247 +429,247 +433,93 +442,425 +443,82 +444,337 +445,407 +446,33 +447,395 +448,396 +451,398 +452,440 +453,398 +454,188 +455,22 +461,400 +464,439 +470,348 +471,196 +475,427 +477,247 +478,196 +483,459 +493,449 +495,22 +496,348 +497,437 +498,52 +499,535 +500,126 +501,55 +502,352 +503,401 +511,22 +512,437 +513,481 +514,510 +515,55 +516,362 +517,95 +518,138 +522,209 +523,435 +524,350 +525,157 +526,444 +529,91 +530,529 +531,1 +532,67 +533,358 +534,276 +540,450 +541,75 +542,404 +543,40 +544,342 +545,474 +546,71 +547,75 +548,72 +549,80 +551,189 +552,44 +553,242 +554,172 +555,126 +559,185 +560,136 +570,492 +571,539 +572,3 +573,541 +574,93 +575,60 +576,248 +587,521 +595,486 +596,435 +607,52 +608,481 +609,83 +610,82 +611,337 +612,200 +613,181 +614,556 +624,372 +625,400 +627,17 +628,507 +633,82 +634,242 +635,406 +636,172 +637,552 +639,533 +643,551 +644,550 diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index f6120bf..99e64da 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -247,6 +247,17 @@ class ConquestMaxLink(TableBase): max_link = Column(Integer, nullable=False, info=dict(description='The maximum link percentage this warrior rank and Pokémon can reach.')) +class ConquestPokemonAbility(TableBase): + u"""An ability a Pokémon species has in Pokémon Conquest. + """ + __tablename__ = 'conquest_pokemon_abilities' + pokemon_species_id = Column(Integer, ForeignKey('pokemon_species.id'), primary_key=True, nullable=False, autoincrement=False, + info=dict(description=u'The ID of the Pokémon species with this ability.')) + slot = Column(Integer, primary_key=True, nullable=False, autoincrement=False, + info=dict(description=u"The order abilities are listed in. Upon evolution, if a Pokémon's abilities change, it will receive the one in the same slot.")) + ability_id = Column(Integer, ForeignKey('abilities.id'), nullable=False, + info=dict(description=u'The ID of the ability.')) + class ConquestPokemonEvolution(TableBase): u"""The conditions under which a Pokémon must successfully complete an action to evolve in Pokémon Conquest. @@ -271,6 +282,17 @@ class ConquestPokemonEvolution(TableBase): recruiting_ko_required = Column(Boolean, nullable=False, server_default='False', info=dict(description=u"If true, the Pokémon must KO a Pokémon under the right conditions to recruit that Pokémon's warrior.")) +class ConquestPokemonMove(TableBase): + u"""A Pokémon's move in Pokémon Conquest. + + Yes, "move"; each Pokémon has exactly one. + """ + __tablename__ = 'conquest_pokemon_moves' + pokemon_species_id = Column(Integer, ForeignKey('pokemon_species.id'), primary_key=True, autoincrement=False, + info=dict(description=u'The ID of the Pokémon species.')) + move_id = Column(Integer, ForeignKey('moves.id'), nullable=False, + info=dict(description=u'The ID of the move.')) + class ConquestPokemonStat(TableBase): u"""A Pokémon's base stat in Pokémon Conquest.