diff --git a/_sources/main-tables.txt b/_sources/main-tables.txt index bd1d3be..ce76481 100644 --- a/_sources/main-tables.txt +++ b/_sources/main-tables.txt @@ -104,6 +104,7 @@ Enum tables .. dex-table:: ContestType .. dex-table:: EggGroup .. dex-table:: EvolutionTrigger +.. dex-table:: Gender .. dex-table:: GrowthRate .. dex-table:: ItemCategory .. dex-table:: ItemFlingEffect @@ -177,3 +178,29 @@ Mics tables .. dex-table:: PalPark .. dex-table:: StatHint +Conquest tables +--------------- + +.. dex-table:: ConquestEpisode +.. dex-table:: ConquestEpisodeWarrior +.. dex-table:: ConquestKingdom +.. dex-table:: ConquestMaxLink +.. dex-table:: ConquestMoveData +.. dex-table:: ConquestMoveDisplacement +.. dex-table:: ConquestMoveEffect +.. dex-table:: ConquestMoveRange +.. dex-table:: ConquestPokemonAbility +.. dex-table:: ConquestPokemonEvolution +.. dex-table:: ConquestPokemonMove +.. dex-table:: ConquestPokemonStat +.. dex-table:: ConquestStat +.. dex-table:: ConquestTransformationPokemon +.. dex-table:: ConquestTransformationWarrior +.. dex-table:: ConquestWarrior +.. dex-table:: ConquestWarriorArchetype +.. dex-table:: ConquestWarriorRank +.. dex-table:: ConquestWarriorRankStatMap +.. dex-table:: ConquestWarriorSkill +.. dex-table:: ConquestWarriorSpecialty +.. dex-table:: ConquestWarriorStat +.. dex-table:: ConquestWarriorTransformation diff --git a/_sources/usage.txt b/_sources/usage.txt index b4a6ef5..2d3c08b 100644 --- a/_sources/usage.txt +++ b/_sources/usage.txt @@ -10,7 +10,7 @@ Here is a small example of using pokedex: from pokedex.db import connect, tables, util session = connect() - pokemon = util.get(session, tables.PokemonSpecies, 'bulbasaur') + pokemon = util.get(session, tables.PokemonSpecies, u'bulbasaur') print u'{0.name}, the {0.genus} Pokemon'.format(pokemon) Running this will give you some Bulbasaur info: @@ -25,8 +25,8 @@ Connecting To get information out of the Pokédex, you will need to create a :class:`Session `. To do that, use :func:`pokedex.db.connect`. For simple uses, you don't need to give it any -arguments: it the database that ``pokedex load`` fills up by default. If you -need to select another database, give its URI as the first argument. +arguments: it uses the database that ``pokedex load`` fills up by default. If +you need to select another database, give its URI as the first argument. The object :func:`~pokedex.db.connect` gives you is actually a :class:`SQLAlchemy session `, giving you the @@ -57,15 +57,15 @@ its identifier, name, or ID, and returns it. def print_pokemon(pokemon): print u'{0.name}, the {0.genus} Pokemon'.format(pokemon) - print_pokemon(util.get(session, tables.PokemonSpecies, identifier='eevee')) + print_pokemon(util.get(session, tables.PokemonSpecies, identifier=u'eevee')) print_pokemon(util.get(session, tables.PokemonSpecies, name=u'Ho-Oh')) print_pokemon(util.get(session, tables.PokemonSpecies, id=50)) def print_item(item): print u'{0.name}: ${0.cost}'.format(item) - print_item(util.get(session, tables.Item, identifier='great-ball')) - print_item(util.get(session, tables.Item, name='Potion')) + print_item(util.get(session, tables.Item, identifier=u'great-ball')) + print_item(util.get(session, tables.Item, name=u'Potion')) print_item(util.get(session, tables.Item, id=30)) .. testoutput:: @@ -154,7 +154,7 @@ example: query = session.query(tables.Move) query = query.join(tables.Move.type) - query = query.filter(tables.Type.identifier == 'grass') + query = query.filter(tables.Type.identifier == u'grass') query = query.filter(tables.Move.power >= 100) query = query.order_by(tables.Move.power) query = query.order_by(tables.Move.name) diff --git a/genindex.html b/genindex.html index aba2b22..127c550 100644 --- a/genindex.html +++ b/genindex.html @@ -124,12 +124,104 @@ -
ContestCombo (mapped class) +
ConquestEpisode (mapped class) +
+ + +
ConquestEpisodeWarrior (mapped class) +
+ + +
ConquestKingdom (mapped class) +
+ + +
ConquestMaxLink (mapped class) +
+ + +
ConquestMoveData (mapped class) +
+ + +
ConquestMoveDisplacement (mapped class) +
+ + +
ConquestMoveEffect (mapped class) +
+ + +
ConquestMoveRange (mapped class) +
+ + +
ConquestPokemonAbility (mapped class) +
+ + +
ConquestPokemonEvolution (mapped class) +
+ + +
ConquestPokemonMove (mapped class) +
+ + +
ConquestPokemonStat (mapped class) +
+ + +
ConquestStat (mapped class)
+
ConquestTransformationPokemon (mapped class) +
+ + +
ConquestTransformationWarrior (mapped class) +
+ + +
ConquestWarrior (mapped class) +
+ + +
ConquestWarriorArchetype (mapped class) +
+ + +
ConquestWarriorRank (mapped class) +
+ + +
ConquestWarriorRankStatMap (mapped class) +
+ + +
ConquestWarriorSkill (mapped class) +
+ + +
ConquestWarriorSpecialty (mapped class) +
+ + +
ConquestWarriorStat (mapped class) +
+ + +
ConquestWarriorTransformation (mapped class) +
+ + +
ContestCombo (mapped class) +
+ +
ContestEffect (mapped class)
@@ -192,16 +284,20 @@
-
Generation (mapped class) +
Gender (mapped class)
-
get() (in module pokedex.db.util) +
Generation (mapped class)
+
get() (in module pokedex.db.util) +
+ +
GrowthRate (mapped class)
@@ -508,6 +604,10 @@ + -
+
star_rating (pokedex.db.tables.ConquestMoveData attribute) +
+ +
Stat (mapped class)
@@ -515,12 +615,12 @@
stat() (pokedex.db.tables.Pokemon method)
+
StatHint (mapped class)
-
SuperContestCombo (mapped class)
diff --git a/main-tables.html b/main-tables.html index ddeff0e..15e84d9 100644 --- a/main-tables.html +++ b/main-tables.html @@ -138,6 +138,12 @@ access individual items.

PokemonSpecies.forms_switchable (bool):

True iff a particular individual of this species can switch beween its different forms.
+

PokemonSpecies.order (int):

+
+
The order in which species should be sorted. Based on National Dex order, except families are grouped together and sorted by stage.
+

PokemonSpecies.conquest_order (int):

+
+
The order in which species should be sorted for Pokémon Conquest-related tables. Matches gallery order.

Internationalized strings:

PokemonSpecies.genus (unicode – plaintext) via pokemon_species_names

@@ -153,6 +159,24 @@ access individual items. (→ [PokemonSpecies])

The species to which this one evolves
+

PokemonSpecies.conquest_abilities +(→ [Ability])

+
+

Association table: conquest_pokemon_abilities

+

Ordered by: conquest_pokemon_abilities.slot

+
+

PokemonSpecies.conquest_evolution +(→ ConquestPokemonEvolution)

+

PokemonSpecies.conquest_max_links +(→ [ConquestMaxLink])

+
+
Ordered by: conquest_max_links.warrior_rank_id
+

PokemonSpecies.conquest_move +(→ Move)

+
+
Association table: conquest_pokemon_moves
+

PokemonSpecies.conquest_stats +(→ [ConquestPokemonStat])

PokemonSpecies.default_form (→ PokemonForm)

@@ -264,7 +288,9 @@ but only one for Unown.

Pokemon.items (→ [PokemonItem])

-
Info about items this pokémon holds in the wild
+

Info about items this pokémon holds in the wild

+

Ordered by: pokemon_items.rarity DESC

+

Pokemon.pokemon_moves (→ [PokemonMove])

Pokemon.stats @@ -334,9 +360,12 @@ represent their lone “normal” form.

PokemonForm.is_battle_only (bool):

Set iff the form can only appear in battle.
+

PokemonForm.form_order (int):

+
+
The order in which forms should be sorted within a species’ forms. Multiple forms may have equal order, in which case they should fall back on sorting by name. Used in generating pokemon_forms.order and pokemon.order.

PokemonForm.order (int):

-
The order in which forms should be sorted. Multiple forms may have equal order, in which case they should fall back on sorting by name.
+
The order in which forms should be sorted within all forms. Multiple forms may have equal order, in which case they should fall back on sorting by name.

Internationalized strings:

PokemonForm.form_name (unicode – plaintext) via pokemon_form_names

@@ -414,9 +443,9 @@ must occur to cause a Pokémon to evolve.

PokemonEvolution.minimum_level (int):

The minimum level for the Pokémon.
-

PokemonEvolution.gender (enum: [male, female]):

+

PokemonEvolution.gender (gender_id → Gender.id)

-
The Pokémon’s required gender, or None if gender doesn’t matter
+
The ID of the Pokémon’s required gender, or None if gender doesn’t matter

PokemonEvolution.location (location_id → Location.id)

The ID of the location the evolution must be triggered at.
@@ -513,6 +542,14 @@ must occur to cause a Pokémon to evolve.

(→ [MoveChangelog])

Ordered by: move_changelog.changed_in_version_group_id DESC
+

Move.conquest_data +(→ ConquestMoveData)

+

Move.conquest_pokemon +(→ [PokemonSpecies])

+
+

Association table: conquest_pokemon_moves

+

Ordered by: pokemon_species.conquest_order

+

Move.contest_combo_first (→ [ContestCombo])

Move.contest_combo_second @@ -683,6 +720,8 @@ must occur to cause a Pokémon to evolve.


Relationships:

Item.berry (→ Berry)

+

Item.conquest_evolutions +(→ [ConquestPokemonEvolution])

Item.evolution_chains (→ [EvolutionChain])

Item.flags @@ -788,6 +827,12 @@ must occur to cause a Pokémon to evolve.

The ID of the damage class this type’s moves had before Generation IV, null if not applicable (e.g. ???).

Relationships:

+

Type.conquest_kingdom +(→ ConquestKingdom)

+

Type.conquest_warriors +(→ [ConquestWarrior])

+
+
Association table: conquest_warrior_specialties

Type.damage_efficacies (→ [TypeEfficacy])

Type.move_changelog @@ -841,6 +886,12 @@ must occur to cause a Pokémon to evolve.

(→ [AbilityChangelog])

Ordered by: ability_changelog.changed_in_version_group_id DESC
+

Ability.conquest_pokemon +(→ [PokemonSpecies])

+
+

Association table: conquest_pokemon_abilities

+

Ordered by: pokemon_species.conquest_order

+

Ability.dream_pokemon (→ [Pokemon])

@@ -1024,6 +1075,9 @@ and Blue) or a single game (such as Yellow.)

Pokedex.region (region_id → Region.id)

ID of the region this Pokédex is used in, or None if it’s global
+

Pokedex.is_main_series (bool):

+
+
True if this Pokédex appears in the main series.

Internationalized strings:

Pokedex.description (unicode – plaintext) via pokedex_prose

@@ -1467,7 +1521,7 @@ up to 50.

(→ [PokemonSpecies])

Association table: pokemon_egg_groups

-

Ordered by: pokemon."order" ASC

+

Ordered by: pokemon_species."order" ASC

@@ -1488,6 +1542,25 @@ up to 50.

(→ [PokemonEvolution])

+ +
+

Gender

+
+
+pokedex.db.tables.Gender
+

A gender.

+

Table name: genders +(single: gender)

+

Primary key: id.

+

Has +id and identifier.

+

Relationships:

+

Gender.conquest_evolutions +(→ [ConquestPokemonEvolution])

+

Gender.required_for_evolutions +(→ [PokemonEvolution])

+
+

GrowthRate

@@ -1730,7 +1803,7 @@ bestow taste preferences, etc.

pokedex.db.tables.PalParkArea
-

Pal Park areas enum

+

A distinct area of Pal Park in which Pokémon appear.

Table name: pal_park_areas (single: pal_park_area)

Primary key: id.

@@ -2674,20 +2747,20 @@ For example, Breeding didn’t exist in Gen.I, so it’s not in this tab
pokedex.db.tables.PalPark
-

Pal Park encounter info

+

Data for the Pal Park mini-game in Generation IV

Table name: pal_park (single: pal_park)

Primary key: species_id.


Columns:

PalPark.species (species_id → PokemonSpecies.id)

-
ID of the Pokémon species this data pertains to
+
The Pokémon species this data pertains to

PalPark.area (area_id → PalParkArea.id)

-
The area in which this Pokémon can be found
+
The area in which this Pokémon is found

PalPark.base_score (int):

-
Value used in calculating the player’s score in a Pal Park run
+
Used in calculating the player’s score at the end of a Pal Park run

PalPark.rate (int):

Base rate for encountering this Pokémon
@@ -2719,6 +2792,646 @@ called “characteristics”.

The text displayed
+
+ +
+

Conquest tables

+
+

ConquestEpisode

+
+
+pokedex.db.tables.ConquestEpisode
+

An episode from Pokémon Conquest: one of a bunch of mini-stories +featuring a particular warrior.

+

The main story, “The Legend of Ransei”, also counts, even though it’s not +in the episode select menu and there’s no way to replay it.

+

Table name: conquest_episodes +(single: episode)

+

Primary key: id.

+

Has +id, identifier, and name via conquest_episode_names.

+

Relationships:

+

ConquestEpisode.warriors +(→ [ConquestWarrior])

+
+
Association table: conquest_episode_warriors
+
+ +
+
+

ConquestEpisodeWarrior

+
+
+pokedex.db.tables.ConquestEpisodeWarrior
+

A warrior featured in an episode in Pokémon Conquest.

+

This needs its own table because of the player having two episodes and +there being two players.

+

Table name: conquest_episode_warriors

+

Primary key: episode_id, warrior_id.

+

Columns:

+

ConquestEpisodeWarrior.episode_id (→ ConquestEpisode.id):

+
+
The ID of the episode.
+

ConquestEpisodeWarrior.warrior_id (→ ConquestWarrior.id):

+
+
The ID of the warrior.
+
+ +
+
+

ConquestKingdom

+
+
+pokedex.db.tables.ConquestKingdom
+

A kingdom in Pokémon Conquest.

+

Table name: conquest_kingdoms +(single: kingdom)

+

Primary key: id.

+

Has +id, identifier, and name via conquest_kingdom_names.

+

Columns:

+

ConquestKingdom.type (type_id → Type.id)

+
+
The type associated with this kingdom in-game.
+

Relationships:

+

ConquestKingdom.evolutions +(→ [ConquestPokemonEvolution])

+
+ +
+ +
+

ConquestMoveData

+
+
+pokedex.db.tables.ConquestMoveData
+

Data about a move in Pokémon Conquest.

+

Table name: conquest_move_data

+

Primary key: move_id.

+

Columns:

+

ConquestMoveData.move (move_id → Move.id)

+
+
The ID of the move.
+

ConquestMoveData.power (int):

+
+
The move’s power, null if it does no damage.
+

ConquestMoveData.accuracy (int):

+
+
The move’s base accuracy, null if it is self-targetted or never misses.
+

ConquestMoveData.effect_chance (int):

+
+
The chance as a percentage that the move’s secondary effect will trigger.
+

ConquestMoveData.effect (effect_id → ConquestMoveEffect.id)

+
+
The ID of the move’s effect.
+

ConquestMoveData.range (range_id → ConquestMoveRange.id)

+
+
The ID of the move’s range.
+

ConquestMoveData.displacement (displacement_id → ConquestMoveDisplacement.id)

+
+
The ID of the move’s displacement.
+

Relationships:

+

ConquestMoveData.move_displacement +(→ ConquestMoveDisplacement)

+

ConquestMoveData.move_effect +(→ ConquestMoveEffect)

+

Undocumented:

+

ConquestMoveData.effect_map

+

ConquestMoveData.short_effect

+

ConquestMoveData.short_effect_map

+
+
+star_rating
+

Return the move’s in-game power rating as a number of stars.

+
+ +
+ +
+
+

ConquestMoveDisplacement

+
+
+pokedex.db.tables.ConquestMoveDisplacement
+

A way in which a move can cause the user or target to move to a +different tile.

+

If a move displaces its user, the move’s range is relative to the user’s +original position.

+

Table name: conquest_move_displacements +(single: move_displacement)

+

Primary key: id.

+

Has +id, identifier, and name via conquest_move_displacement_prose.

+

Columns:

+

ConquestMoveDisplacement.affects_target (bool):

+
+
True iff the move displaces its target(s) and not its user.
+

Internationalized strings:

+

ConquestMoveDisplacement.short_effect (unicode – markdown) via conquest_move_displacement_prose

+
+
A short summary of how the displacement works, to be used in the move’s short effect.
+

ConquestMoveDisplacement.effect (unicode – markdown) via conquest_move_displacement_prose

+
+
A detailed description of how the displacement works, to be used alongside the move’s long effect.
+

Relationships:

+

ConquestMoveDisplacement.move_data +(→ [ConquestMoveData])

+
+ +
+
+

ConquestMoveEffect

+
+
+pokedex.db.tables.ConquestMoveEffect
+

An effect moves can have in Pokémon Conquest.

+

Table name: conquest_move_effects +(single: conquest_move_effect)

+

Primary key: id.

+

Has +id.

+

Internationalized strings:

+

ConquestMoveEffect.short_effect (unicode – markdown) via conquest_move_effect_prose

+
+
A short summary of the effect
+

ConquestMoveEffect.effect (unicode – markdown) via conquest_move_effect_prose

+
+
A detailed description of the effect
+

Relationships:

+

ConquestMoveEffect.move_data +(→ [ConquestMoveData])

+
+ +
+
+

ConquestMoveRange

+
+
+pokedex.db.tables.ConquestMoveRange
+

A set of tiles moves can target in Pokémon Conquest.

+

Table name: conquest_move_ranges +(single: conquest_move_range)

+

Primary key: id.

+

Has +id, identifier, and name via conquest_move_range_prose.

+

Columns:

+

ConquestMoveRange.targets (int):

+
+
The number of tiles this range targets.
+

Internationalized strings:

+

ConquestMoveRange.description (unicode – plaintext) via conquest_move_range_prose

+
+
A detailed description of the range
+

Relationships:

+

ConquestMoveRange.move_data +(→ [ConquestMoveData])

+
+ +
+
+

ConquestPokemonAbility

+
+
+pokedex.db.tables.ConquestPokemonAbility
+

An ability a Pokémon species has in Pokémon Conquest.

+

Table name: conquest_pokemon_abilities

+

Primary key: pokemon_species_id, slot.

+

Columns:

+

ConquestPokemonAbility.pokemon_species_id (→ PokemonSpecies.id):

+
+
The ID of the Pokémon species with this ability.
+

ConquestPokemonAbility.slot (int):

+
+
The order abilities are listed in. Upon evolution, if a Pokémon’s abilities change, it will receive the one in the same slot.
+

ConquestPokemonAbility.ability_id (→ Ability.id):

+
+
The ID of the ability.
+
+ +
+
+

ConquestPokemonEvolution

+
+
+pokedex.db.tables.ConquestPokemonEvolution
+

The conditions under which a Pokémon must successfully complete an +action to evolve in Pokémon Conquest.

+

Any condition may be null if it does not apply for a particular Pokémon.

+

Table name: conquest_pokemon_evolution

+

Primary key: evolved_species_id.

+

Columns:

+

ConquestPokemonEvolution.evolved_species (evolved_species_id → PokemonSpecies.id)

+
+
The ID of the post-evolution species.
+

ConquestPokemonEvolution.required_stat_id (→ ConquestStat.id):

+
+
The ID of the stat which minimum_stat applies to.
+

ConquestPokemonEvolution.minimum_stat (int):

+
+
The minimum value the Pokémon must have in a particular stat.
+

ConquestPokemonEvolution.minimum_link (int):

+
+
The minimum link percentage the Pokémon must have with its warrior.
+

ConquestPokemonEvolution.kingdom (kingdom_id → ConquestKingdom.id)

+
+
The ID of the kingdom in which this Pokémon must complete an action after meeting all other requirements.
+

ConquestPokemonEvolution.warrior_gender_id (→ Gender.id):

+
+
The ID of the gender the Pokémon’s warrior must be.
+

ConquestPokemonEvolution.item (item_id → Item.id)

+
+
The ID of the item the Pokémon’s warrior must have equipped.
+

ConquestPokemonEvolution.recruiting_ko_required (bool):

+
+
If true, the Pokémon must KO a Pokémon under the right conditions to recruit that Pokémon’s warrior.
+

Relationships:

+

ConquestPokemonEvolution.gender +(→ Gender)

+

ConquestPokemonEvolution.stat +(→ ConquestStat)

+
+ +
+
+

ConquestPokemonMove

+
+
+pokedex.db.tables.ConquestPokemonMove
+

A Pokémon’s move in Pokémon Conquest.

+

Yes, “move”; each Pokémon has exactly one.

+

Table name: conquest_pokemon_moves

+

Primary key: pokemon_species_id.

+

Columns:

+

ConquestPokemonMove.pokemon_species_id (→ PokemonSpecies.id):

+
+
The ID of the Pokémon species.
+

ConquestPokemonMove.move_id (→ Move.id):

+
+
The ID of the move.
+
+ +
+
+

ConquestPokemonStat

+
+
+pokedex.db.tables.ConquestPokemonStat
+

A Pokémon’s base stat in Pokémon Conquest.

+

The main four base stats in Conquest are derived from level 100 stats in +the main series (ignoring effort, genes, and natures). Attack matches +either Attack or Special Attack, and Defense matches the average of Defense +and Special Defense. HP and Speed are the same.

+

Table name: conquest_pokemon_stats

+

Primary key: pokemon_species_id, conquest_stat_id.

+

Columns:

+

ConquestPokemonStat.pokemon_species_id (→ PokemonSpecies.id):

+
+
The ID of the Pokémon species.
+

ConquestPokemonStat.conquest_stat_id (→ ConquestStat.id):

+
+
The ID of the stat.
+

ConquestPokemonStat.base_stat (int):

+
+
The base stat.
+

Relationships:

+

ConquestPokemonStat.pokemon +(→ PokemonSpecies)

+

ConquestPokemonStat.stat +(→ ConquestStat)

+
+ +
+
+

ConquestStat

+
+
+pokedex.db.tables.ConquestStat
+

A stat Pokémon have in Pokémon Conquest.

+

Table name: conquest_stats +(single: conquest_stat)

+

Primary key: id.

+

Has +id, identifier, and name via conquest_stat_names.

+

Columns:

+

ConquestStat.is_base (bool):

+
+
True iff this is one of the main stats, calculated for individual Pokémon.
+

Relationships:

+

ConquestStat.evolutions +(→ [ConquestPokemonEvolution])

+

ConquestStat.pokemon_stats +(→ [ConquestPokemonStat])

+
+ +
+
+

ConquestTransformationPokemon

+
+
+pokedex.db.tables.ConquestTransformationPokemon
+

A Pokémon that satisfies a warrior transformation’s link condition.

+

If a warrior has one or more Pokémon listed here, they only need to raise +one of them to the required link.

+

Table name: conquest_transformation_pokemon

+

Primary key: transformation_id, pokemon_species_id.

+

Columns:

+

ConquestTransformationPokemon.transformation_id (→ ConquestWarriorTransformation.transformed_warrior_rank_id):

+
+
The ID of the corresponding transformation, in turn a warrior rank ID.
+

ConquestTransformationPokemon.pokemon_species_id (→ PokemonSpecies.id):

+
+
The ID of the Pokémon species.
+
+ +
+
+

ConquestTransformationWarrior

+
+
+pokedex.db.tables.ConquestTransformationWarrior
+

A warrior who must be present in the same nation as another warrior for +the latter to transform into their next rank.

+

If a warrior has one or more other warriors listed here, they all need to +gather in the same nation for the transformation to take place.

+

Table name: conquest_transformation_warriors

+

Primary key: transformation_id, present_warrior_id.

+

Columns:

+

ConquestTransformationWarrior.transformation_id (→ ConquestWarriorTransformation.transformed_warrior_rank_id):

+
+
The ID of the corresponding transformation, in turn a warrior rank ID.
+

ConquestTransformationWarrior.present_warrior_id (→ ConquestWarrior.id):

+
+
The ID of the other warrior who must be present.
+
+ +
+
+

ConquestWarrior

+
+
+pokedex.db.tables.ConquestWarrior
+

A warrior in Pokémon Conquest.

+

Table name: conquest_warriors +(single: warrior)

+

Primary key: id.

+

Has +id, identifier, and name via conquest_warrior_names.

+

Columns:

+

ConquestWarrior.gender_id (→ Gender.id):

+
+
The ID of the warrior’s gender.
+

ConquestWarrior.archetype (archetype_id → ConquestWarriorArchetype.id)

+
+
The ID of this warrior’s archetype. Null for unique warriors.
+

Relationships:

+

ConquestWarrior.episodes +(→ [ConquestEpisode])

+
+
Association table: conquest_episode_warriors
+

ConquestWarrior.ranks +(→ [ConquestWarriorRank])

+
+
Ordered by: conquest_warrior_ranks.rank
+

ConquestWarrior.types +(→ [Type])

+
+

Association table: conquest_warrior_specialties

+

Ordered by: conquest_warrior_specialties.slot

+
+
+ +
+
+

ConquestWarriorArchetype

+
+
+pokedex.db.tables.ConquestWarriorArchetype
+

An archetype that generic warriors in Pokémon Conquest can have. All +warriors of a particular archetype share sprites and dialogue.

+

Some of these are unused as warriors because they exist only as NPCs. They +should still be kept because we have their sprites and may eventually get +their dialogue.

+

Table name: conquest_warrior_archetypes +(single: archetype)

+

Primary key: id.

+

Has +id and identifier.

+

Relationships:

+

ConquestWarriorArchetype.warriors +(→ [ConquestWarrior])

+
+ +
+
+

ConquestWarriorRank

+
+
+pokedex.db.tables.ConquestWarriorRank
+

A warrior at a particular rank in Pokémon Conquest.

+

These are used for whatever changes between ranks, much like Pokémon forms. +Generic warriors who have only one rank are also represented here, with a +single row.

+

To clarify, each warrior’s ranks are individually called “warrior ranks” +here; for example, “Rank 2 Nobunaga” is an example of a warrior rank, not +just “Rank 2”.

+

Table name: conquest_warrior_ranks +(single: warrior_rank)

+

Primary key: id.

+

Has +id.

+

Columns:

+

ConquestWarriorRank.warrior (warrior_id → ConquestWarrior.id)

+
+
The ID of the warrior.
+

ConquestWarriorRank.rank (int):

+
+
The rank number.
+

ConquestWarriorRank.skill (skill_id → ConquestWarriorSkill.id)

+
+
The ID of this warrior rank’s warrior skill.
+

Relationships:

+

ConquestWarriorRank.max_links +(→ [ConquestMaxLink])

+

ConquestWarriorRank.stats +(→ [ConquestWarriorRankStatMap])

+
+
Ordered by: conquest_warrior_rank_stat_map.warrior_stat_id
+

ConquestWarriorRank.transformation +(→ ConquestWarriorTransformation)

+
+ +
+
+

ConquestWarriorRankStatMap

+
+
+pokedex.db.tables.ConquestWarriorRankStatMap
+

Any of a warrior rank’s warrior stats in Pokémon Conquest.

+

Table name: conquest_warrior_rank_stat_map

+

Primary key: warrior_rank_id, warrior_stat_id.

+

Columns:

+

ConquestWarriorRankStatMap.warrior_rank (warrior_rank_id → ConquestWarriorRank.id)

+
+
The ID of the warrior rank.
+

ConquestWarriorRankStatMap.warrior_stat_id (→ ConquestWarriorStat.id):

+
+
The ID of the warrior stat.
+

ConquestWarriorRankStatMap.base_stat (int):

+
+
The stat.
+

Relationships:

+

ConquestWarriorRankStatMap.stat +(→ ConquestWarriorStat)

+
+ +
+
+

ConquestWarriorSkill

+
+
+pokedex.db.tables.ConquestWarriorSkill
+

A warrior skill in Pokémon Conquest.

+

Table name: conquest_warrior_skills +(single: skill)

+

Primary key: id.

+

Has +id, identifier, and name via conquest_warrior_skill_names.

+

Relationships:

+

ConquestWarriorSkill.warrior_ranks +(→ [ConquestWarriorRank])

+
+
Ordered by: conquest_warrior_ranks.id
+
+ +
+
+

ConquestWarriorSpecialty

+
+
+pokedex.db.tables.ConquestWarriorSpecialty
+

A warrior’s specialty types in Pokémon Conquest.

+

These have no actual effect on gameplay; they just indicate which types of +Pokémon each warrior generally has strong maximum links with.

+

Table name: conquest_warrior_specialties

+

Primary key: warrior_id, type_id, slot.

+

Columns:

+

ConquestWarriorSpecialty.warrior_id (→ ConquestWarrior.id):

+
+
The ID of the warrior.
+

ConquestWarriorSpecialty.type_id (→ Type.id):

+
+
The ID of the type.
+

ConquestWarriorSpecialty.slot (int):

+
+
The order in which the warrior’s types are listed.
+
+ +
+
+

ConquestWarriorStat

+
+
+pokedex.db.tables.ConquestWarriorStat
+

A stat that warriors have in Pokémon Conquest.

+

Table name: conquest_warrior_stats +(single: warrior_stat)

+

Primary key: id.

+

Has +id, identifier, and name via conquest_warrior_stat_names.

+

Relationships:

+

ConquestWarriorStat.stat_map +(→ [ConquestWarriorRankStatMap])

+
+ +
+
+

ConquestWarriorTransformation

+
+
+pokedex.db.tables.ConquestWarriorTransformation
+

The conditions under which a warrior must perform an action in order +to transform to the next rank.

+

Or most of them, anyway. See also ConquestTransformationPokemon and +ConquestTransformationWarrior.

+

Table name: conquest_warrior_transformation

+

Primary key: transformed_warrior_rank_id.

+

Columns:

+

ConquestWarriorTransformation.transformed_warrior_rank_id (→ ConquestWarriorRank.id):

+
+
The ID of the post-transformation warrior rank.
+

ConquestWarriorTransformation.is_automatic (bool):

+
+
True iff the transformation happens automatically in the story with no further requirements.
+

ConquestWarriorTransformation.required_link (int):

+
+
The link percentage the warrior must reach with one of several specific Pokémon, if any.
+

ConquestWarriorTransformation.completed_episode (completed_episode_id → ConquestEpisode.id)

+
+
The ID of the episode the player must have completed, if any.
+

ConquestWarriorTransformation.current_episode (current_episode_id → ConquestEpisode.id)

+
+
The ID of the episode the player must currently be playing, if any.
+

ConquestWarriorTransformation.distant_warrior (distant_warrior_id → ConquestWarrior.id)

+
+
The ID of another warrior who must be in the army, but not in the same kingdom or in any adjacent kingdom.
+

ConquestWarriorTransformation.female_warlord_count (int):

+
+
The number of female warlords who must be in the same nation.
+

ConquestWarriorTransformation.pokemon_count (int):

+
+
The number of Pokémon that must be registered in the gallery.
+

ConquestWarriorTransformation.collection_type_id (→ Type.id):

+
+
The ID of a type all Pokémon of which must be registered in the gallery.
+

ConquestWarriorTransformation.warrior_count (int):

+
+
The number of warriors that must be registered in the gallery.
+

Relationships:

+

ConquestWarriorTransformation.pokemon +(→ [PokemonSpecies])

+
+

Association table: conquest_transformation_pokemon

+

Ordered by: pokemon_species.conquest_order

+
+

ConquestWarriorTransformation.present_warriors +(→ [ConquestWarrior])

+
+

Association table: conquest_transformation_warriors

+

Ordered by: conquest_warriors.id

+
+

ConquestWarriorTransformation.type +(→ Type)

+

ConquestWarriorTransformation.warrior_rank +(→ ConquestWarriorRank)

+
+
@@ -2794,6 +3507,7 @@ called “characteristics”.

  • ContestType
  • EggGroup
  • EvolutionTrigger
  • +
  • Gender
  • GrowthRate
  • ItemCategory
  • ItemFlingEffect
  • @@ -2863,6 +3577,32 @@ called “characteristics”.

  • StatHint
  • +
  • Conquest tables +
  • diff --git a/objects.inv b/objects.inv index 3e6c653..c35b499 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/schema.html b/schema.html index b0fe098..254d47e 100644 --- a/schema.html +++ b/schema.html @@ -121,6 +121,7 @@
  • ContestType
  • EggGroup
  • EvolutionTrigger
  • +
  • Gender
  • GrowthRate
  • ItemCategory
  • ItemFlingEffect
  • @@ -190,6 +191,32 @@
  • StatHint
  • +
  • Conquest tables +
  • diff --git a/searchindex.js b/searchindex.js index 012cd9e..22546b3 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({objects:{"pokedex.db.tables.Machine":{is_hm:[2,3,1,""]},"pokedex.db":{tables:[2,0,1,""],connect:[0,4,1,""]},"pokedex.db.tables.PokemonForm":{name:[2,3,1,""]},"pokedex.db.tables":{PokeathlonStat:[2,1,1,""],PokemonMove:[2,1,1,""],ContestCombo:[2,1,1,""],Pokedex:[2,1,1,""],PokemonEggGroup:[2,1,1,""],LocationArea:[2,1,1,""],MoveEffectChangelog:[2,1,1,""],Encounter:[2,1,1,""],BerryFlavor:[2,1,1,""],Region:[2,1,1,""],StatHint:[2,1,1,""],PokemonColor:[2,1,1,""],PalParkArea:[2,1,1,""],ItemCategory:[2,1,1,""],PokemonForm:[2,1,1,""],ItemPocket:[2,1,1,""],ItemFlagMap:[2,1,1,""],VersionGroup:[2,1,1,""],Move:[2,1,1,""],MoveMetaStatChange:[2,1,1,""],ItemFlavorText:[2,1,1,""],PokemonType:[2,1,1,""],NaturePokeathlonStat:[2,1,1,""],PokemonSpeciesFlavorText:[2,1,1,""],Version:[2,1,1,""],EggGroup:[2,1,1,""],Location:[2,1,1,""],Type:[2,1,1,""],GrowthRate:[2,1,1,""],BerryFirmness:[2,1,1,""],LocationGameIndex:[2,1,1,""],Ability:[2,1,1,""],ItemFlag:[2,1,1,""],MoveFlag:[2,1,1,""],metadata:[2,2,1,""],MoveMetaCategory:[2,1,1,""],PokemonHabitat:[2,1,1,""],Berry:[2,1,1,""],Generation:[2,1,1,""],LocationAreaEncounterRate:[2,1,1,""],MoveChangelog:[2,1,1,""],Pokemon:[2,1,1,""],MoveFlavorText:[2,1,1,""],ContestType:[2,1,1,""],Stat:[2,1,1,""],ContestEffect:[2,1,1,""],Nature:[2,1,1,""],MoveEffect:[2,1,1,""],PokemonItem:[2,1,1,""],EncounterSlot:[2,1,1,""],EncounterCondition:[2,1,1,""],MoveTarget:[2,1,1,""],MoveFlagMap:[2,1,1,""],MoveDamageClass:[2,1,1,""],ItemGameIndex:[2,1,1,""],Language:[2,1,1,""],Experience:[2,1,1,""],PokemonMoveMethod:[2,1,1,""],AbilityFlavorText:[2,1,1,""],PokemonFormGeneration:[2,1,1,""],TypeEfficacy:[2,1,1,""],PokemonStat:[2,1,1,""],SuperContestEffect:[2,1,1,""],PokemonDexNumber:[2,1,1,""],PalPark:[2,1,1,""],Machine:[2,1,1,""],PokemonSpecies:[2,1,1,""],ItemFlingEffect:[2,1,1,""],mapped_classes:[2,2,1,""],PokemonAbility:[2,1,1,""],VersionGroupPokemonMoveMethod:[2,1,1,""],NatureBattleStylePreference:[2,1,1,""],PokemonShape:[2,1,1,""],VersionGroupRegion:[2,1,1,""],PokemonFormPokeathlonStat:[2,1,1,""],EvolutionTrigger:[2,1,1,""],MoveMetaAilment:[2,1,1,""],MoveMeta:[2,1,1,""],MoveBattleStyle:[2,1,1,""],EncounterConditionValueMap:[2,1,1,""],PokemonGameIndex:[2,1,1,""],Item:[2,1,1,""],SuperContestCombo:[2,1,1,""],PokemonEvolution:[2,1,1,""],EncounterMethod:[2,1,1,""],EncounterConditionValue:[2,1,1,""],AbilityChangelog:[2,1,1,""],EvolutionChain:[2,1,1,""]},"pokedex.db.tables.Pokemon":{stat:[2,5,1,""],better_damage_class:[2,3,1,""],name:[2,3,1,""]},"pokedex.db.tables.Item":{appears_underground:[2,3,1,""]},"pokedex.db.tables.Nature":{is_neutral:[2,3,1,""]},"pokedex.db.util":{get:[0,4,1,""]}},terms:{all:[0,1,2,3],code:[2,3],chain:2,type_id:2,queri:[0,1],version_nam:2,consum:2,pokemon_move_method_pros:2,yellow:2,language_id:2,four:2,tent:2,scalar:[],hating_natur:2,abil:[2,4],berry_firm:2,follow:[0,2,3],lookup:3,hate:2,row:2,nature_id:2,whose:2,palac:2,"pok\u00e9":2,pal_park:2,program:3,certain:2,meta_stat_chang:2,skip:3,locaion:2,introduc:2,awesome_nam:2,deactiv:3,sourc:3,everi:[0,2],string:2,fals:2,itemcategori:[2,4],util:[0,2],canonical_for_gener:2,pokemonformgener:[2,4],minimum_level:2,fall:2,veri:2,affect:2,min_hit:2,special:2,cool:2,damage_typ:2,itempocket:[2,4],doesn:[2,3],level:2,base_scor:2,gender:2,effect_ch:2,max_harvest:2,list:[0,2,3],correct:2,item:[0,2,4],minimum_happi:2,movemetacategori:[2,4],red:2,print_item:0,quick:[1,3],movetarget:[2,4],trigger_item:2,height:2,work:[0,2,3],move_flag_pros:2,speci:[0,2],pokeathlon_effect:2,natur:[2,3,4],request:0,uniqu:2,jump:[1,2],rate:2,paralysi:2,decigram:2,habitat_id:2,download:3,even:[2,3],index:[1,2,3,4],what:[0,2,3],appear:2,compar:[],version_group_region:2,introspect:2,brief:0,anywai:3,current:3,version:[2,3,4],appeal:2,"public":[],metadata:[0,2],move_effect:2,full:[0,2],footnot:3,join:0,gener:[2,3,4],never:2,here:[0,2,3],bodi:2,abomasnow:0,let:3,contest_effect_id:2,ubuntu:[1,3],path:3,interpret:3,pokemon_species_pros:2,search:[1,2],relat:2,version_group:2,versiongroup:[2,4],genu:[0,2],evolution_chain:2,print_pokemon:0,loos:2,dri:2,prior:2,damage_class:2,orm:0,defeat:2,action:2,chang:[2,3],gene:2,pal_park_area_nam:2,encounter_slot:2,semant:2,via:[2,3],regardless:2,appli:2,modul:2,prefer:2,"while":2,apt:3,item_flag_map:2,item_id:2,itemflavortext:[2,4],api:[0,1],encounter_condition_value_map:2,famili:2,sgn:2,instal:[1,3],gimmick:2,held_item:2,item_pocket:2,select:0,uniu:2,from:[0,2,3],describ:[],simpli:2,virtualenv:3,internation:2,two:[2,3],next:3,few:0,wood:0,pokemon_egg_group:2,calm:2,supercontestcombo:[2,4],criteria:0,taken:2,decreased_stat:2,type:[0,2,3,4],minor:2,more:[0,2,3],sort:[0,2],frenzi:0,experience_t:2,babi:2,encounter_r:2,min_level:2,pokemonspeciesflavortext:[2,4],flag:2,particular:[0,2],pokemon_form:2,egg_group_id:2,hold:2,effort:2,cach:2,must:[0,2],dex:2,none:[0,2],word:2,sometim:2,hour:2,base_experi:2,setup:3,pokedex_db_engin:3,battl:2,super_contest_combo_first:2,moveeffect:[2,4],histori:2,whatev:2,assum:3,learn:[0,2],under:2,male:2,firmness_id:2,def:[0,2],versiongroupregion:[2,4],heart:2,sqlite:[0,3],prompt:3,climat:3,give:[0,3],nature_nam:2,sudo:3,share:2,lizard:2,indic:1,locationgameindex:[2,4],critic:2,minimum:2,want:[0,3],explos:0,struggl:2,yet:3,occur:2,declar:2,alwai:[0,3],differenti:2,cours:3,end:3,nature_pokeathlon_stat:2,turn:2,programmat:2,anoth:[0,3],relationshipproperti:[],contest_type_id:2,write:3,how:[0,2,3],actual:[0,2],env:3,is_neutr:2,verifi:3,growth_rat:2,simpl:0,distro:3,splendifer:2,map:[2,4],plant:0,locationareaencounterr:[2,4],evolution_trigg:2,referenc:[],trigger_item_id:2,mess:2,max:2,game_indic:2,earlier:3,variant:2,pokemon_habitat_nam:2,befor:[2,3],okai:2,beauti:2,language_nam:2,mai:2,multipl:2,stat_hint:2,data:[0,2,3],eighth:2,physic:2,naturepokeathlonstat:[2,4],time_of_dai:2,"short":2,is_babi:2,happi:[2,3],party_species_id:2,counter:2,favorit:3,correspond:[2,3],element:2,caus:2,condition_value_map:2,"switch":[2,3],environ:3,enter:2,tall:2,stat_hint_nam:2,egg:2,order:[0,2],move_battle_style_pros:2,minimum_stat:2,help:3,offici:2,move:[0,2,4],gender_r:2,becaus:3,meter:2,trade:2,move_effect_changelog_pros:2,through:2,venusaur:0,abilityflavortext:[2,4],gift:2,level_1:[],multilang:2,style:2,parent_speci:2,group:2,item_flavor_text:2,treat:2,pokemon_form_id:2,encounter_id:2,is_battle_onli:2,spoken:2,jigglypuff:2,crit_rat:2,encountercondit:[2,4],super_contest_combo_next:2,hidden:2,main:2,might:3,alter:2,them:[0,2,3],good:0,"return":[0,2],hates_flavor_id:2,thei:2,fling:2,python:[0,3],movemetaail:[2,4],pokeathlonstat:[2,4],dai:2,initi:2,nation:2,solarbeam:0,half:2,fling_pow:2,now:3,ability_flavor_text:2,move_meta_ail:2,name:[0,2],anyth:3,increasing_natur:2,didn:2,move_flag_id:2,bonu:2,separ:2,iff:2,palparkarea:[2,4],form_descript:2,trap:2,move_flag_map:2,each:2,found:[0,2],went:3,is_dream:2,mean:[0,2,3],beween:2,cost:[0,2],ailment:2,weight:2,individu:2,hard:2,idea:0,contest_type_nam:2,firer:2,"static":2,connect:[0,1],pokeathlon_stat_id:2,encounter_slot_id:2,leafgreen:2,our:[0,3],beyond:2,sexual:2,whip:0,out:[0,2,3],variabl:3,"pok\u00e9dex":[0,1,2,4],ability_id:2,type_nam:2,goe:3,known_move_id:2,defend:2,berryflavor:[2,4],whoosh:3,categori:2,bonus:2,shaymin:2,itemflag:[2,4],print:0,formula:2,item_pocket_nam:2,defens:2,contest_combo_second:2,atuomat:3,pokemonevolut:[2,4],stat_nam:2,proxi:2,advanc:3,canonical_pokedex:2,evolution_trigger_pros:2,given:2,free:3,standard:2,asc:2,small:0,bestow:2,base:[0,2],ability_changelog:2,put:3,teach:2,is_hm:2,genesect:0,flare:0,could:2,omit:0,atk:2,color_id:2,filter:0,thing:[0,1,3],is_dream_1:[],region_nam:2,place:2,isn:2,pokemonstat:[2,4],contest_combo_first:2,confus:3,think:3,first:[0,2],oper:[0,3],minimum_beauti:2,rang:2,evolved_speci:2,oppon:2,directli:3,feel:3,engine_prefix:0,pokemon_item:2,number:[0,2],conclud:0,evolut:[0,2],date:2,instruct:3,relative_physical_stat:2,done:[1,2,3],messag:2,item_fling_effect:2,miss:2,primari:2,max_experi:2,size:2,prioriti:2,move_battle_style_id:2,script:3,associ:[2,4],caught:2,breed:2,system:[1,3],construct:3,grow:2,kanto:2,swarm:2,attack:2,necessarili:2,order_bi:0,storm:0,pokemonmovemethod:[2,4],"final":[0,2],schema:[1,4],growth_tim:2,shell:3,option:3,fling_effect:2,baby_trigger_item:2,tool:3,copi:3,park:2,ability_pros:2,specifi:[0,2,3],main_region_id:2,pokemon_color_nam:2,github:3,egggroup:[2,4],hates_flavor:2,consult:0,move_battle_styl:2,exactli:2,than:0,wide:3,nature_battle_style_prefer:2,pokemon_shap:2,evolution_chain_id:2,whenev:3,tree:2,pokemonmov:[2,4],growthrat:[2,4],move_meta:2,matter:2,meta_category_id:2,pressur:2,super_contest_combo_second:2,seriou:0,pokeathlon_stat:2,danc:0,decimet:2,seri:2,exhibit:2,"function":[0,2],comput:3,region_id:2,plaintext:2,encounter_method_pros:2,ani:[0,2],decreased_stat_id:2,generation_id:2,packag:[0,3],item_flag_id:2,seed:[0,2],have:[0,2,3],tabl:[0,1,2,4],need:[0,2,3],dream_abl:2,"null":2,location_id:2,moveflagmap:[2,4],species_id:2,engin:[0,3],relationship:[0,2],zero:0,inform:0,item_fling_effect_pros:2,accuraci:2,note:2,also:[0,2,3],without:2,super_contest_combo:2,take:2,which:2,hatch:2,pokemontyp:[2,4],min_turn:2,singl:2,maximum_stat:2,surf:2,blue:2,sure:3,unless:[0,2],distribut:3,normal:2,multipli:2,price:2,berry_flavor:2,ability_nam:2,canonical_pokedex_id:2,most:[0,2,3],pokemon_typ:2,pokemon_mov:2,diglett:0,letter:2,millimet:2,pair:2,nature_effect:2,"class":2,move_meta_categori:2,sub:2,pokemon_nam:2,don:[0,3],short_effect_map:2,won:3,dream:2,cover:0,uri:0,doe:[2,3],increased_stat_id:2,bracket:2,exp:2,super_contest_combo_prev:2,movemeta:[2,4],link:2,unchang:2,moveflag:[2,4],fact:2,gain:2,deoxi:2,charmeleon:0,likes_flavor:2,item_flavor_summari:2,text:[2,4],meloetta:0,type_efficaci:2,session:[0,3],moveeffectchangelog:[2,4],pokemonshap:[2,4],find:3,default_pokemon:2,slot:2,pokemon_form_nam:2,onli:[2,3],bind:0,locat:[2,4],pretti:3,pokemonspeci:[0,2,4],categor:2,configur:3,all_pokemon:2,enough:[2,3],should:[0,2,3],liking_natur:2,jam:2,combo:2,versiongrouppokemonmovemethod:[2,4],gametext:2,flinch:2,over:2,game_index:2,info:[0,2],hit:2,machine_numb:2,get:[0,1,2,3],location_nam:2,form_identifi:2,target_id:2,stathint:[2,4],bear:2,secondari:2,pocket:2,session_arg:0,cannot:2,foremost:0,ability_changelog_pros:2,increas:2,gen:2,requir:2,target:2,berry_id:2,item_pros:2,evolution_trigger_id:2,experi:[2,4],item_nam:2,organ:0,encounter_condition_value_pros:2,appears_underground:2,method:[0,2],encounter_method_id:2,twice:2,stuff:[2,4],common:[0,2],encounterconditionvalu:[2,4],contain:[0,2,3],abilitychangelog:[2,4],pokemon_speci:2,engine_arg:0,bought:2,where:2,natural_gift_type_id:2,summari:2,pokemon_color:2,set:[2,3],modulo:2,knowledg:3,startup:[1,3],displai:2,see:[0,2,3],fling_effect_id:2,version_group_id:2,sport:2,hammer:0,best:2,onc:0,target_type_id:2,statu:[2,3],brave:2,parent:2,expert:3,pokemon_id:2,sorta:2,databas:[0,1,2,3,4],encounter_condition_value_id:2,default_form:2,contest_typ:2,state:2,score:2,pokemonitem:[2,4],move_changelog:2,between:2,"import":0,version_group_pokemon_move_method:2,across:2,contest_combo:2,attribut:2,altern:2,anotherenv:3,naturebattlestyleprefer:[2,4],johto:2,kei:2,numer:2,attempt:0,exampl:[0,2],condit:[0,2],pokemoncolor:[2,4],extens:2,pokedex_index_dir:3,succeed:3,effect_map:2,pocket_id:2,pertain:2,meta_ailment_id:2,water:0,target_efficaci:2,move_nam:2,pokemon_form_pokeathlon_stat:2,area_id:2,relationship_info:[],region:[2,4],"pok\u00e9block":2,equal:2,foreign:2,base_stat:2,etc:2,tutori:0,pokemon_species_flavor_summari:2,itemflingeffect:[2,4],pokemon:[0,2,4],mani:[2,3],rariti:2,whole:2,clone:3,among:2,pokeathlon_stat_nam:2,markdown:[2,3],undocu:2,can:[0,2,3],color:2,had:2,contest_effect_pros:2,item_game_indic:2,written:3,differ:2,linux:3,cancel:2,all_abl:2,damag:2,quit:0,baby_trigger_item_id:2,itemflagmap:[2,4],pokedex_numb:2,second:2,major:[0,2],encounter_condition_pros:2,three:3,been:2,tutor:2,keldeo:0,trigger:2,contestcombo:[2,4],interest:3,basic:0,movemetastatchang:[2,4],quickli:2,pokedex_id:2,hoenn:2,ivysaur:0,sprite:2,both:2,persist:2,better_damage_class:2,great:0,some:[0,2,3],argument:0,item_flag_pros:2,togeth:2,els:2,eeve:[0,3],high_hp_prefer:2,present:2,movedamageclass:[2,4],"case":[2,3],nature_prefer:2,pokemon_form_gener:2,look:0,move_meta_ailment_nam:2,pokemon_habitat:2,straight:2,properti:2,empti:[2,3],encountermethod:[2,4],pokemon_move_method:2,defin:[0,2],calcul:2,match:0,behavior:2,pokemon_shape_pros:2,wild:2,decreas:2,iso3166:2,pokedex:[0,1,2,3,4],move_flavor_summari:2,location_game_indic:2,translation_class:2,almost:2,soil:2,max_hit:2,required_for_evolut:2,rip:2,activ:3,player:2,itself:2,move_target:2,pokemon_dex_numb:2,filter_bi:0,result:0,pokemonhabitat:[2,4],outdat:3,develop:3,berry_firmness_nam:2,author:3,perform:2,parti:2,make:[0,2,3],belong:2,amount:2,same:[2,3],mole:0,dex_numb:2,underground:2,document:[0,1,3],pal:2,higher:2,sell:2,ball:[0,2],pokedex_pros:2,battle_style_prefer:2,max_level:2,short_effect:2,pick:2,effect:2,second_move_id:2,move_flavor_text:2,rais:0,user:[2,3],has_gender_differ:2,countri:2,soil_dry:2,changed_in_version_group_id:2,move_meta_stat_chang:2,berryfirm:[2,4],move_id:2,techniqu:2,appropri:[0,2],super_contest_effect:2,machineri:2,contesteffect:[2,4],natural_gift_pow:2,"pok\u00e9mon":[0,2,3,4],com:3,thu:2,well:[2,3],effect_id:2,non:2,flinch_chanc:2,pokemon_move_method_id:2,command:3,item_categori:2,flame:2,maxmum:2,forms_switch:2,category_id:2,tast:2,mic:[2,4],battle_styl:2,usual:[0,2],load:[0,1,3],identifi:[0,2],munber:2,just:0,descrption:2,entri:2,rest:3,shape:2,pokemon_species_nam:2,move_effect_pros:2,pokemondexnumb:[2,4],part:2,pokemon_game_indic:2,flavor:[2,4],speed:2,shadow:2,languag:[0,2,3,4],characterist:2,hint:2,nullabl:2,point:2,sky:2,except:[0,2],add:2,held_item_id:2,move_damage_class:2,reason:3,"pok\u00e9athlon":2,smart:2,bin:3,applic:2,bicycl:2,pokemon_:2,format:0,read:0,big:3,palpark:[2,4],likes_flavor_id:2,veekun:3,form_nam:[0,2],is_default:2,move_flag:2,game:2,dimorph:2,world:2,bit:3,walk:2,typeefficaci:[2,4],desc:2,move_target_pros:2,supercontesteffect:[2,4],like:[0,1,2,3],specif:2,changelog:[2,4],pokemon_stat:2,integ:2,collect:2,either:[2,3],lose:2,evolutionchain:[2,4],anti:3,specifii:2,soft:2,page:1,encount:[2,4],right:1,old:2,often:2,habitat:2,snatchabl:2,meta:2,poffin:2,back:2,percentag:2,self:2,global:2,damage_type_id:2,intern:2,growth:2,shape_id:2,location_area:2,ailment_ch:2,librari:[0,1,3],gene_mod_5:2,base_happi:2,charmand:0,implement:[],pokemonegggroup:[2,4],item_category_pros:2,berri:[2,4],locationarea:[2,4],per:2,evolv:2,leav:3,contact:2,encounterslot:[2,4],damage_class_id:2,contest_effect:2,content:1,version_group_move_method:2,machin:[2,4],core:2,object:[0,2],run:[0,2,3],power:[0,2],"enum":[2,4],version_id:2,encounter_condition_id:2,party_speci:2,step:2,prerequisit:[1,3],evolves_from_species_id:2,post:2,"super":2,unicod:2,condition_valu:2,stage:2,chapter:3,comparison:[],about:[0,2,3],postgresql:3,movechangelog:[2,4],column:2,holdabl:2,zweilou:0,unfortun:3,percent:2,stat_chanc:2,egg_group:2,encounter_condit:2,constructor:[],move_damage_class_pros:2,produc:2,hatch_count:2,encounter_method:2,own:[2,3],pokemon_species_flavor_text:2,primarili:2,within:[0,2],ditto:2,increased_stat:2,evolutiontrigg:[2,4],contesttyp:[2,4],child_speci:2,pal_park_area:2,your:3,item_flag:2,move_meta_category_pros:2,unown:2,git:3,fill:0,pokemonformpokeathlonstat:[2,4],wai:2,area:2,support:2,captur:2,lone:2,growth_rate_pros:2,tame:2,stamina:2,start:0,reli:0,much:3,franchis:2,includ:[2,3],suit:2,call:[0,2],target_typ:2,fish:2,move_effect_changelog:2,lowest:2,introduced_in_version_group_id:2,location_area_encounter_r:2,evolved_species_id:2,form:2,latex:2,forc:2,stat_id:2,heal:2,encounterconditionvaluemap:[2,4],pokemonform:[2,4],low_hp_prefer:2,thi:[0,2,3],sqlalchemi:[0,2,3],recoil:2,translat:[2,3],offens:2,line:3,highest:2,"true":2,flavor_text:2,movebattlestyl:[2,4],count:2,iso639:2,max_chang:2,itemgameindex:[2,4],triggered_evolut:2,possibl:[2,3],whether:2,access:2,smooth:2,maximum:2,trade_species_id:2,growth_rate_id:2,record:2,below:2,taught:2,doc:0,mapped_class:2,otherwis:2,problem:3,grass:[0,2],similar:2,super_contest_effect_pros:2,super_contest_effect_id:2,firm:2,egg_group_pros:2,inflict:2,creat:[0,3],contest_combo_next:2,"int":2,generation_nam:2,"abstract":2,smoothli:3,changed_in:2,is_default_1:[],repres:2,pokemongameindex:[2,4],chanc:2,exist:[2,3],file:3,valu:2,pip:3,decreasing_natur:2,genderless:2,flavor_summari:2,check:3,pokemon_evolut:2,max_experience_obj:2,rainbow:0,encounter_map:2,know:[0,2,3],contest:[2,4],moveflavortext:[2,4],tenth:2,when:2,detail:[2,3],known_mov:2,"default":[0,2,3],bulbasaur:0,other:[0,2,3],bool:2,encounter_condition_valu:2,you:[0,2,3],first_move_id:2,capture_r:2,petal:0,max_turn:2,stat:[2,4],potion:0,intend:0,determin:2,dream_pokemon:2,last:2,main_region:2,location_area_id:2,affix:2,stat_identifi:2,meaning:2,releas:2,natural_gift_typ:2,kinda:2,sql:0,leaf:0,damage_efficaci:2,trade_speci:2,location_area_pros:2,night:2,femal:2,longer:2,directori:[0,3],debian:[1,3],descript:2,damage_factor:2,kilogram:2,contest_combo_prev:2,potenti:2,time:[2,3],fresh:0},objtypes:{"0":"py:module","1":"py:dex-table","2":"py:data","3":"py:attribute","4":"py:function","5":"py:method"},titles:["Using pokedex","The pokedex documentation","The pok\u00e9dex tables","Installing the pokedex library","The database schema"],objnames:{"0":["py","module","Python module"],"1":["py","dex-table","dex-table"],"2":["py","data","Python data"],"3":["py","attribute","Python attribute"],"4":["py","function","Python function"],"5":["py","method","Python method"]},filenames:["usage","index","main-tables","installing","schema"]}) \ No newline at end of file +Search.setIndex({objects:{"pokedex.db.tables.Machine":{is_hm:[2,2,1,""]},"pokedex.db.tables.ConquestMoveData":{star_rating:[2,2,1,""]},"pokedex.db.tables.PokemonForm":{name:[2,2,1,""]},"pokedex.db.tables":{PokeathlonStat:[2,1,1,""],PokemonMove:[2,1,1,""],ContestCombo:[2,1,1,""],Pokedex:[2,1,1,""],PokemonEggGroup:[2,1,1,""],LocationArea:[2,1,1,""],MoveEffectChangelog:[2,1,1,""],Encounter:[2,1,1,""],ConquestWarriorRankStatMap:[2,1,1,""],BerryFlavor:[2,1,1,""],Region:[2,1,1,""],StatHint:[2,1,1,""],PokemonColor:[2,1,1,""],PalParkArea:[2,1,1,""],ItemCategory:[2,1,1,""],ConquestWarrior:[2,1,1,""],PokemonForm:[2,1,1,""],ItemPocket:[2,1,1,""],ItemFlagMap:[2,1,1,""],VersionGroup:[2,1,1,""],Move:[2,1,1,""],MoveFlag:[2,1,1,""],ConquestMoveEffect:[2,1,1,""],ItemFlavorText:[2,1,1,""],ConquestPokemonAbility:[2,1,1,""],PokemonType:[2,1,1,""],NaturePokeathlonStat:[2,1,1,""],ConquestTransformationWarrior:[2,1,1,""],PokemonSpeciesFlavorText:[2,1,1,""],Version:[2,1,1,""],EggGroup:[2,1,1,""],Location:[2,1,1,""],ConquestMoveDisplacement:[2,1,1,""],Type:[2,1,1,""],ConquestPokemonMove:[2,1,1,""],BerryFirmness:[2,1,1,""],MoveMetaStatChange:[2,1,1,""],Ability:[2,1,1,""],ConquestTransformationPokemon:[2,1,1,""],ItemFlag:[2,1,1,""],ConquestWarriorArchetype:[2,1,1,""],metadata:[2,3,1,""],ConquestWarriorStat:[2,1,1,""],MoveMetaCategory:[2,1,1,""],PokemonHabitat:[2,1,1,""],Berry:[2,1,1,""],ConquestEpisode:[2,1,1,""],ConquestPokemonEvolution:[2,1,1,""],Generation:[2,1,1,""],LocationAreaEncounterRate:[2,1,1,""],MoveChangelog:[2,1,1,""],Pokemon:[2,1,1,""],ConquestKingdom:[2,1,1,""],MoveFlavorText:[2,1,1,""],ContestType:[2,1,1,""],Stat:[2,1,1,""],ContestEffect:[2,1,1,""],Nature:[2,1,1,""],MoveEffect:[2,1,1,""],PokemonItem:[2,1,1,""],EncounterSlot:[2,1,1,""],EncounterCondition:[2,1,1,""],MoveTarget:[2,1,1,""],MoveFlagMap:[2,1,1,""],MoveDamageClass:[2,1,1,""],ConquestEpisodeWarrior:[2,1,1,""],ItemGameIndex:[2,1,1,""],Language:[2,1,1,""],Experience:[2,1,1,""],ConquestStat:[2,1,1,""],PokemonMoveMethod:[2,1,1,""],ConquestWarriorSkill:[2,1,1,""],AbilityFlavorText:[2,1,1,""],ConquestPokemonStat:[2,1,1,""],PokemonFormGeneration:[2,1,1,""],TypeEfficacy:[2,1,1,""],PokemonStat:[2,1,1,""],SuperContestEffect:[2,1,1,""],PokemonDexNumber:[2,1,1,""],ConquestWarriorRank:[2,1,1,""],PalPark:[2,1,1,""],Machine:[2,1,1,""],PokemonSpecies:[2,1,1,""],ItemFlingEffect:[2,1,1,""],mapped_classes:[2,3,1,""],PokemonAbility:[2,1,1,""],VersionGroupPokemonMoveMethod:[2,1,1,""],NatureBattleStylePreference:[2,1,1,""],PokemonShape:[2,1,1,""],ConquestWarriorTransformation:[2,1,1,""],VersionGroupRegion:[2,1,1,""],MoveMetaAilment:[2,1,1,""],PokemonFormPokeathlonStat:[2,1,1,""],ConquestMoveRange:[2,1,1,""],EvolutionTrigger:[2,1,1,""],GrowthRate:[2,1,1,""],MoveMeta:[2,1,1,""],MoveBattleStyle:[2,1,1,""],EncounterConditionValueMap:[2,1,1,""],Gender:[2,1,1,""],PokemonGameIndex:[2,1,1,""],ConquestWarriorSpecialty:[2,1,1,""],Item:[2,1,1,""],SuperContestCombo:[2,1,1,""],LocationGameIndex:[2,1,1,""],ConquestMoveData:[2,1,1,""],PokemonEvolution:[2,1,1,""],ConquestMaxLink:[2,1,1,""],EncounterMethod:[2,1,1,""],EncounterConditionValue:[2,1,1,""],AbilityChangelog:[2,1,1,""],EvolutionChain:[2,1,1,""]},"pokedex.db.tables.Pokemon":{stat:[2,5,1,""],better_damage_class:[2,2,1,""],name:[2,2,1,""]},"pokedex.db.tables.Item":{appears_underground:[2,2,1,""]},"pokedex.db.tables.Nature":{is_neutral:[2,2,1,""]},"pokedex.db":{tables:[2,0,1,""],connect:[0,4,1,""]},"pokedex.db.util":{get:[0,4,1,""]}},terms:{stat:[2,4],all:[0,1,2,3],code:[2,3],chain:2,type_id:2,queri:[0,1],consum:2,pokemon_move_method_pros:2,yellow:2,conquest_warrior_nam:2,four:2,scalar:[],ditto:2,hating_natur:2,abil:[2,4],conquest_move_data:2,follow:[0,2,3],hate:2,row:2,nature_id:2,whose:2,specif:2,system:[1,3],grass:[0,2],shaymin:2,"pok\u00e9":2,conquest_ord:2,program:3,meta_stat_chang:2,conquest_pokemon_:2,skip:3,locaion:2,introduc:2,awesome_nam:2,deactiv:3,sourc:3,everi:[0,2],string:2,tame:2,fals:2,itemcategori:[2,4],util:[0,2],canonical_for_gener:2,pokemonformgener:[2,4],minimum_level:2,fall:2,veri:2,affect:2,min_hit:2,cool:2,damage_typ:2,itempocket:[2,4],level:2,gender:[2,4],effect_ch:2,max_harvest:2,list:[0,2,3],defens:2,item:[0,2,4],minimum_happi:2,form:2,contest_combo_second:2,print_item:0,quick:[1,3],movetarget:[2,4],trigger_item:2,height:2,work:[0,2,3],repres:2,move_flag_pros:2,speci:[0,2],pokeathlon_effect:2,natur:[2,3,4],attribut:2,uniqu:2,jump:[1,2],rate:2,paralysi:2,decigram:2,habitat_id:2,download:3,further:2,encountermethod:[2,4],pokemonshap:[2,4],even:[2,3],index:[1,2,3,4],what:[0,2,3],battle_styl:2,appear:2,compar:[],conquest_move_range_pros:2,lowest:2,introspect:2,brief:0,find:3,current:[2,3],version:[2,3,4],conquestwarriorarchetyp:[2,4],is_bas:2,appeal:2,"public":[],metadata:[0,2],trade_species_id:2,move_effect:2,full:[0,2],pressur:2,deriv:2,join:0,gener:[2,3,4],never:2,here:[0,2,3],bodi:2,mapped_class:2,abomasnow:0,let:3,contest_effect_id:2,ubuntu:[1,3],path:3,strong:2,legend:2,interpret:3,pokemon_species_pros:2,search:[1,2],cover:0,versiongroup:[2,4],genu:[0,2],bestow:2,print_pokemon:0,pokedex:[0,1,2,3,4],dri:2,prior:2,damage_class:2,base:[0,2],oppon:2,within:[0,2],defeat:2,action:2,chang:[2,3],gene:2,pal_park_area_nam:2,conquestpokemonstat:[2,4],semant:2,via:[2,3],regardless:2,appli:2,modul:2,prefer:2,apt:3,conquest_pokemon_evolut:2,item_flag_map:2,put:3,itemflavortext:[2,4],api:[0,1],encounter_condition_value_map:2,famili:2,sgn:2,conquest_pokemon_stat:2,instal:[1,3],gimmick:2,should:[0,2,3],held_item:2,item_pocket:2,select:[0,2],uniu:2,skill_id:2,from:[0,2,3],describ:[],simpli:2,lose:2,internation:2,regist:2,pal_park:2,next:[2,3],few:0,jam:2,pokemon_egg_group:2,calm:2,supercontestcombo:[2,4],criteria:0,taken:2,decreased_stat:2,type:[0,2,3,4],minor:2,more:[0,2,3],sort:[0,2],conquest_stat_nam:2,frenzi:0,stat_map:2,comparison:[],babi:2,encounter_r:2,line:3,about:[0,2,3],pokemonspeciesflavortext:[2,4],natural_gift_type_id:2,star_rat:2,flag:2,particular:[0,2],pokemon_form:2,egg_group_id:2,hold:2,effort:2,cach:2,must:[0,2],dex:2,none:[0,2],calcul:2,word:2,hour:2,base_experi:2,setup:3,pokedex_db_engin:3,battl:2,super_contest_combo_first:2,moveeffect:[2,4],histori:2,other:[0,2,3],whatev:2,learn:[0,2],under:2,move_displac:2,male:[],firmness_id:2,def:[0,2],versiongroupregion:[2,4],heart:2,sqlite:[0,3],prompt:3,climat:3,give:[0,3],nature_nam:2,sudo:3,share:2,lizard:2,indic:[1,2],conquestpokemonevolut:[2,4],locationgameindex:[2,4],pokemon_move_method:2,critic:2,minimum:2,want:[0,3],explos:0,color_id:2,occur:2,alwai:[0,3],differenti:2,cours:3,end:[2,3],nature_pokeathlon_stat:2,thing:[0,1,3],programmat:2,anoth:[0,2,3],smoothli:3,relationshipproperti:[],contest_type_id:2,write:3,how:[0,2,3],env:3,is_neutr:2,tile:2,verifi:3,bit:3,growth_rat:2,simpl:0,distro:3,splendifer:2,map:[2,4],plant:0,locationareaencounterr:[2,4],evolution_trigg:2,referenc:[],trigger_item_id:2,mess:2,max:2,game_indic:2,earlier:3,variant:2,npc:2,pokemon_habitat_nam:2,conquest_:2,befor:[2,3],okai:2,beauti:2,language_nam:2,mai:2,multipl:2,pokemon_evolut:2,stat_hint:2,data:[0,2,3],eighth:2,physic:2,naturepokeathlonstat:[2,4],time_of_dai:2,"short":2,is_babi:2,warrior_stat_id:2,rest:3,party_species_id:2,counter:2,favorit:3,correspond:[2,3],element:2,caus:2,condition_value_map:2,"switch":[2,3],environ:3,enter:2,tall:2,stat_hint_nam:2,warrior_rank:2,egg:2,order:[0,2],includ:[2,3],oper:[0,3],conquestkingdom:[2,4],move_battle_style_pros:2,help:3,offici:2,move:[0,2,4],gender_r:2,becaus:[2,3],meter:2,trade:2,increas:2,evolved_speci:2,through:2,pokemonformpokeathlonstat:[2,4],venusaur:0,abilityflavortext:[2,4],move_data:2,level_1:[],multilang:2,bunch:2,style:2,parent_speci:2,group:2,primarili:2,treat:2,pokemon_form_id:2,encounter_id:2,is_battle_onli:2,feel:3,jigglypuff:2,crit_rat:2,forms_switch:2,encountercondit:[2,4],conquest_pokemon:2,super_contest_combo_next:2,hidden:2,main:2,might:3,conquest_evolut:2,them:[0,2,3],good:0,"return":[0,2],hates_flavor_id:2,thei:2,fling:2,python:[0,3],movemetaail:[2,4],pokeathlonstat:[2,4],conquestwarriortransform:[2,4],dai:2,initi:2,nation:2,solarbeam:0,half:2,item_nam:2,now:3,ability_flavor_text:2,conquest_warrior:2,move_meta_ail:2,name:[0,2],anyth:3,increasing_natur:2,didn:2,move_flag_id:2,translat:[2,3],bonu:2,separ:2,bool:2,iff:2,palparkarea:[2,4],form_descript:2,trap:2,move_flag_map:2,each:2,found:[0,2],went:3,higher:2,is_dream:2,encounterconditionvalu:[2,4],mean:[0,2,3],beween:2,"int":2,replai:2,ailment:2,weight:2,conquestmaxlink:[2,4],conquest_warrior_archetyp:2,individu:2,hard:2,idea:0,conquest_warrior_specialti:2,firer:2,"static":2,connect:[0,1],pokeathlon_stat_id:2,encounter_slot_id:2,leafgreen:2,our:[0,3],happen:2,beyond:2,sexual:2,whip:0,out:[0,2,3],variabl:3,"pok\u00e9dex":[0,1,2,4],type_nam:2,goe:3,miss:2,defend:2,berryflavor:[2,4],whoosh:3,load:[0,1,3],categori:2,max_level:2,palac:2,archetype_id:2,rel:2,print:0,formula:2,item_flag:2,item_pocket_nam:2,correct:2,red:2,atuomat:3,pokemonevolut:[2,4],after:2,proxi:2,advanc:3,canonical_pokedex:2,gameplai:2,move_battle_style_id:2,free:3,standard:2,asc:2,small:0,evolution_chain:2,orm:0,ability_changelog:2,taught:2,usual:[0,2],item_id:2,region:[2,4],teach:2,episode_id:2,is_hm:2,encounter_condition_valu:2,document:[0,1,3],flare:0,could:2,omit:0,atk:2,struggl:2,filter:0,turn:2,is_dream_1:[],region_nam:2,place:2,isn:2,target:2,pokemonstat:[2,4],contest_combo_first:2,confus:3,think:3,first:[0,2],origin:2,minimum_beauti:2,rang:2,move_effect_changelog_pros:2,genesect:0,directli:3,spoken:2,engine_prefix:0,number:[0,2],rank:2,evolut:[0,2],location_area_encounter_r:2,date:2,instruct:3,relative_physical_stat:2,done:[1,2,3],construct:3,item_fling_effect:2,known_move_id:2,primari:2,max_experi:2,size:2,prioriti:2,given:2,bonus:2,script:3,growth_rate_pros:2,associ:[2,4],caught:2,breed:2,sometim:2,messag:2,grow:2,kanto:2,swarm:2,stori:2,necessarili:2,order_bi:0,averag:2,storm:0,pokemonmovemethod:[2,4],"final":[0,2],schema:[1,4],shell:3,conquest_warrior_skil:2,option:3,fling_effect:2,conquest_episode_warrior:2,startup:[1,3],tool:3,copi:3,park:2,ability_pros:2,specifi:[0,2,3],all_pokemon:2,main_region_id:2,github:3,egggroup:[2,4],conquestpokemonmov:[2,4],consult:0,move_battle_styl:2,exactli:2,than:0,conquestwarrior:[2,4],wide:3,nature_battle_style_prefer:2,pokemon_shap:2,max_link:2,whenev:3,tree:2,recruit:2,growthrat:[2,4],move_meta:2,matter:2,meta_category_id:2,cost:[0,2],super_contest_combo_second:2,seriou:0,posit:2,pokeathlon_stat:2,danc:0,doc:0,decimet:2,seri:2,exhibit:2,mini:2,comput:3,region_id:2,plaintext:2,conquesttransformationpokemon:[2,4],ani:[0,2],decreased_stat_id:2,generation_id:2,generation_nam:2,packag:[0,3],item_flag_id:2,seed:[0,2],have:[0,2,3],tabl:[0,1,2,4],need:[0,2,3],dream_abl:2,"null":2,location_id:2,moveflagmap:[2,4],inflict:2,species_id:2,engin:[0,3],relationship:[0,2],zero:0,inform:0,conquest_move_rang:2,latter:2,maximum:2,accuraci:2,note:2,also:[0,2,3],conquest_move_effect:2,without:2,super_contest_combo:2,take:2,which:2,hatch:2,pokemontyp:[2,4],conquest_move_displac:2,properti:2,min_turn:2,singl:2,maximum_stat:2,surf:2,blue:2,sure:3,unless:[0,2],distribut:3,normal:2,multipli:2,price:2,berry_flavor:2,ability_nam:2,dialogu:2,canonical_pokedex_id:2,conquestmoveeffect:[2,4],most:[0,2,3],plai:2,pokemon_mov:2,diglett:0,letter:2,millimet:2,pair:2,nature_effect:2,"class":2,move_meta_categori:2,sub:2,pokemon_nam:2,category_id:2,don:[0,3],flavor_text:2,won:3,dream:2,gather:2,request:0,conquest_mov:2,doe:[2,3],increased_stat_id:2,bracket:2,conquest_warrior_transform:2,exp:2,databas:[0,1,2,3,4],movemeta:[2,4],recoil:2,effect:2,unchang:2,moveflag:[2,4],fact:2,gain:2,deoxi:2,charmeleon:0,text:[2,4],meloetta:0,type_efficaci:2,area:2,foremost:0,session:[0,3],moveeffectchangelog:[2,4],conquest_warrior_stat_nam:2,displacement_id:2,anywai:[2,3],default_pokemon:2,slot:2,pokemon_form_nam:2,onli:[2,3],bind:0,locat:[2,4],pretti:3,pokemonspeci:[0,2,4],trigger:2,menu:2,configur:3,releas:2,state:2,short_effect_map:2,liking_natur:2,wood:0,combo:2,versiongrouppokemonmovemethod:[2,4],gametext:2,flinch:2,over:2,evolutiontrigg:[2,4],game_index:2,count:2,hit:2,unus:2,get:[0,1,2,3],location_nam:2,form_identifi:2,target_id:2,stathint:[2,4],bear:2,secondari:2,pocket:2,session_arg:0,cannot:2,conquest_move_effect_pros:2,ability_changelog_pros:2,conqueststat:[2,4],conquest_warrior_rank_stat_map:2,locationarea:[2,4],present_warrior:2,requir:2,evolution_chain_id:2,berry_id:2,item_pros:2,evolution_trigger_id:2,version_group_pokemon_move_method:2,fling_pow:2,organ:0,encounter_condition_value_pros:2,all_abl:2,appears_underground:2,entri:2,current_episode_id:2,method:[0,2],gender_id:2,twice:2,move_flag:2,stuff:[2,4],common:[0,2],hates_flavor:2,contain:[0,2,3],abilitychangelog:[2,4],pokemon_speci:2,bought:2,where:2,conquest_episode_nam:2,summari:2,pokemon_color:2,set:[2,3],modulo:2,encounter_method_id:2,move_target:2,knowledg:3,baby_trigger_item:2,conquestpokemon:[2,4],pokemonmov:[2,4],damage_factor:2,see:[0,2,3],fling_effect_id:2,equip:2,version_group_id:2,sport:2,hammer:0,flavor:[2,4],best:2,onc:0,target_type_id:2,statu:[2,3],still:2,brave:2,kei:2,expert:3,pokemon_id:2,sorta:2,super_contest_combo_prev:2,default_form:2,contest_typ:2,shape:2,enough:[2,3],score:2,is_automat:2,move_changelog:2,between:2,"import":0,experi:[2,4],across:2,contest_combo:2,tent:2,altern:2,warrior:2,naturebattlestyleprefer:[2,4],johto:2,parent:2,numer:2,attempt:0,exampl:[0,2],condit:[0,2],pokemoncolor:[2,4],anotherenv:3,pokedex_index_dir:3,succeed:3,nobunaga:2,pocket_id:2,meta_ailment_id:2,water:0,target_efficaci:2,move_nam:2,pokemon_form_pokeathlon_stat:2,area_id:2,extens:2,similar:2,pertain:2,"pok\u00e9block":2,equal:2,foreign:2,etc:2,tutori:0,pokemon_species_flavor_summari:2,itemflingeffect:[2,4],pokemon:[0,2,4],mani:[2,3],dimorph:2,rariti:2,whole:2,clone:3,among:2,pokeathlon_stat_nam:2,markdown:[2,3],undocu:2,effect_map:2,affects_target:2,can:[0,2,3],color:2,sky:2,conquest_transformation_pokemon:2,contest_effect_pros:2,item_game_indic:2,conquest:[2,4],written:3,differ:2,linux:3,cancel:2,assum:3,damag:2,conquest_move_displacement_pros:2,pokemonitem:[2,4],baby_trigger_item_id:2,itemflagmap:[2,4],conquestwarriorstat:[2,4],second:2,encounter_condition_pros:2,three:3,been:2,tutor:2,keldeo:0,much:[2,3],growth:2,contestcombo:[2,4],interest:3,encounter_method_pros:2,movemetastatchang:[2,4],quickli:2,pokedex_id:2,hoenn:2,ivysaur:0,sprite:2,pip:3,both:2,persist:2,better_damage_class:2,great:0,gen:2,argument:0,item_flag_pros:2,togeth:2,"pok\u00e9athlon":2,berry_firm:2,high_hp_prefer:2,countri:2,pick:2,present:2,movedamageclass:[2,4],"case":[2,3],nature_prefer:2,pokemon_form_gener:2,look:0,move_meta_ailment_nam:2,pokemon_habitat:2,conquest_warrior_skill_nam:2,straight:2,item_fling_effect_pros:2,alter:2,is_main_seri:2,defin:[0,2],"while":2,smart:2,form_ord:2,pokemon_shape_pros:2,wild:2,exist:[2,3],clarifi:2,iso3166:2,loos:2,move_flavor_summari:2,bin:3,location_game_indic:2,translation_class:2,pokemon_count:2,almost:2,soil:2,max_hit:2,required_for_evolut:2,rip:2,activ:3,player:2,itself:2,transformed_warrior_rank_id:2,conquest_pokemon_mov:2,descript:2,pokemon_dex_numb:2,conquest_kingdom:2,genderless:2,sever:2,filter_bi:0,result:0,completed_episod:2,pokemonhabitat:[2,4],develop:3,berry_firmness_nam:2,author:3,perform:2,parti:2,make:[0,2,3],belong:2,satisfi:2,amount:2,same:[2,3],check:3,dex_numb:2,pokemon_species_id:2,warrior_gender_id:2,underground:2,postgresql:3,attack:2,pal:2,complet:2,sell:2,ball:[0,2],pokedex_pros:2,battle_style_prefer:2,ability_id:2,short_effect:2,stat_nam:2,upon:2,engine_arg:0,second_move_id:2,valu:2,move_flavor_text:2,rais:[0,2],user:[2,3],has_gender_differ:2,pokemon_item:2,soil_dry:2,changed_in_version_group_id:2,move_meta_stat_chang:2,berryfirm:[2,4],move_id:2,techniqu:2,required_stat_id:2,appropri:[0,2],kept:2,machineri:2,contesteffect:[2,4],natural_gift_pow:2,"pok\u00e9mon":[0,2,3,4],com:3,thu:2,meaning:2,well:[2,3],except:[0,2],effect_id:2,non:2,flinch_chanc:2,location_area_id:2,pokemon_move_method_id:2,command:3,item_categori:2,flame:2,maxmum:2,machine_numb:2,gift:2,completed_episode_id:2,warlord:2,mic:[2,4],female_warlord_count:2,meet:2,zweilou:0,encounter_slot:2,percent:2,identifi:[0,2],munber:2,just:[0,2],descrption:2,"true":2,conquesttransformationwarrior:[2,4],encounter_condition_id:2,distant_warrior_id:2,conquestwarriorskil:[2,4],move_effect_pros:2,pokemondexnumb:[2,4],part:2,episod:2,skill:2,speed:2,yet:3,languag:[0,2,3,4],super_contest_effect:2,characterist:2,berri:[2,4],hint:2,nullabl:2,point:2,had:2,encounter_condition_value_id:2,add:2,held_item_id:2,move_damage_class:2,itemflag:[2,4],reason:3,els:2,conquest_data:2,tast:2,match:[0,2],collection_type_id:2,kingdom:2,applic:2,bicycl:2,warrior_id:2,pokemon_:2,format:0,read:0,big:3,palpark:[2,4],supercontesteffect:[2,4],veekun:3,form_nam:[0,2],is_default:2,movemetacategori:[2,4],game:2,minimum_stat:2,warrior_count:2,archetyp:2,world:2,shadow:2,walk:2,you:[0,2,3],desc:2,move_target_pros:2,likes_flavor_id:2,conquestepisodewarrior:[2,4],like:[0,1,2,3],pokemon_game_indic:2,capture_r:2,changelog:[2,4],conquest_stat_id:2,integ:2,collect:2,either:[2,3],sql:0,night:2,evolutionchain:[2,4],anti:3,specifii:2,soft:2,page:1,encount:[2,4],right:[1,2],old:2,often:2,habitat:2,snatchabl:2,poffin:2,back:2,percentag:2,self:2,global:2,damage_type_id:2,intern:2,conquestwarriorrankstatmap:[2,4],shape_id:2,intend:0,range_id:2,successfulli:2,ransei:2,ailment_ch:2,librari:[0,1,3],bulbasaur:0,gene_mod_5:2,basic:0,base_happi:2,charmand:0,implement:[],distant_warrior:2,pokemonegggroup:[2,4],item_category_pros:2,though:2,language_id:2,per:2,conquestmoverang:[2,4],when:2,minimum_link:2,leav:3,contact:2,encounterslot:[2,4],damage_class_id:2,contest_effect:2,content:1,version_group_move_method:2,machin:[2,4],core:2,object:[0,2],run:[0,2,3],power:[0,2],quit:0,post:2,reach:2,"enum":[2,4],version_id:2,galleri:2,party_speci:2,who:2,step:2,prerequisit:[1,3],eventu:2,evolves_from_species_id:2,major:[0,2],"super":2,specialti:2,condition_valu:2,stage:2,chapter:3,experience_t:2,min_level:2,actual:[0,2],movechangelog:[2,4],column:2,holdabl:2,pokemon_typ:2,unfortun:3,distinct:2,stat_chanc:2,egg_group:2,encounter_condit:2,constructor:[],move_damage_class_pros:2,potion:0,produc:2,hatch_count:2,encounter_method:2,own:[2,3],conquestmovedata:[2,4],item_flavor_text:2,footnot:3,conquest_transformation_warrior:2,likes_flavor:2,automat:2,two:[2,3],conquest_warrior_stat:2,increased_stat:2,empti:[2,3],contesttyp:[2,4],child_speci:2,pal_park_area:2,reli:0,your:3,base_stat:2,move_meta_category_pros:2,unown:2,git:3,location_area:2,wai:2,pokemon_color_nam:2,support:2,captur:2,lone:2,transform:2,"long":2,happi:[2,3],stamina:2,start:0,adjac:2,version_group_region:2,franchis:2,pokemon_species_nam:2,suit:2,call:[0,2],target_typ:2,max_turn:2,fish:2,move_effect_changelog:2,"function":[0,2],stat_id:2,introduced_in_version_group_id:2,evolution_trigger_pros:2,evolved_species_id:2,item_flavor_summari:2,latex:2,forc:2,conclud:0,heal:2,armi:2,pokemonform:[2,4],low_hp_prefer:2,thi:[0,2,3],sqlalchemi:[0,2,3],link:2,contest_type_nam:2,offens:2,version_nam:2,highest:2,categor:2,version_group:2,movebattlestyl:[2,4],info:[0,2],iso639:2,current_episod:2,max_chang:2,itemgameindex:[2,4],triggered_evolut:2,displac:2,whether:2,femal:2,access:2,smooth:2,displai:2,pokedex_numb:2,growth_rate_id:2,record:2,below:2,meta:2,conquest_episod:2,conquestwarriorrank:[2,4],conquestmovedisplac:[2,4],otherwis:2,problem:3,encounterconditionvaluemap:[2,4],relationship_info:[],super_contest_effect_pros:2,super_contest_effect_id:2,firm:2,featur:2,egg_group_pros:2,alongsid:2,creat:[0,3],contest_combo_next:2,pokemon_species_flavor_text:2,certain:2,"abstract":2,kingdom_id:2,changed_in:2,doesn:[2,3],uri:0,pokemongameindex:[2,4],chanc:2,warrior_stat:2,decreas:2,file:3,behavior:2,some:[0,2,3],decreasing_natur:2,conquestepisod:[2,4],flavor_summari:2,mole:0,fill:0,max_experience_obj:2,rainbow:0,present_warrior_id:2,encounter_map:2,know:[0,2,3],contest:[2,4],moveflavortext:[2,4],tenth:2,growth_tim:2,detail:[2,3],known_mov:2,"default":[0,2,3],possibl:[2,3],declar:2,lookup:3,special:2,typeefficaci:[2,4],first_move_id:2,conquestwarriorspecialti:[2,4],warrior_rank_id:2,petal:0,virtualenv:3,base_scor:2,relat:2,star:2,determin:2,dream_pokemon:2,last:2,time:[2,3],main_region:2,conquest_kingdom_nam:2,affix:2,stat_identifi:2,recruiting_ko_requir:2,required_link:2,natural_gift_typ:2,kinda:2,conquest_max_link:2,leaf:0,damage_efficaci:2,transformation_id:2,trade_speci:2,conquest_warrior_rank:2,location_area_pros:2,outdat:3,unicod:2,receiv:2,longer:2,conquest_stat:2,directori:[0,3],eeve:[0,3],debian:[1,3],pokemon_stat:2,evolv:2,kilogram:2,contest_combo_prev:2,ignor:2,potenti:2,is_default_1:[],fresh:0},objtypes:{"0":"py:module","1":"py:dex-table","2":"py:attribute","3":"py:data","4":"py:function","5":"py:method"},titles:["Using pokedex","The pokedex documentation","The pok\u00e9dex tables","Installing the pokedex library","The database schema"],objnames:{"0":["py","module","Python module"],"1":["py","dex-table","dex-table"],"2":["py","attribute","Python attribute"],"3":["py","data","Python data"],"4":["py","function","Python function"],"5":["py","method","Python method"]},filenames:["usage","index","main-tables","installing","schema"]}) \ No newline at end of file diff --git a/usage.html b/usage.html index a6a5b42..76bfe9e 100644 --- a/usage.html +++ b/usage.html @@ -61,7 +61,7 @@ you’ll need to learn
    from pokedex.db import connect, tables, util
     session = connect()
    -pokemon = util.get(session, tables.PokemonSpecies, 'bulbasaur')
    +pokemon = util.get(session, tables.PokemonSpecies, u'bulbasaur')
     print u'{0.name}, the {0.genus} Pokemon'.format(pokemon)
     
    @@ -74,8 +74,8 @@ you’ll need to learn
    Session. To do that, use pokedex.db.connect(). For simple uses, you don’t need to give it any -arguments: it the database that pokedex load fills up by default. If you -need to select another database, give its URI as the first argument.

    +arguments: it uses the database that pokedex load fills up by default. If +you need to select another database, give its URI as the first argument.

    The object connect() gives you is actually a SQLAlchemy session, giving you the full power of SQLAlchemy for working with the data. We’ll cover some basics @@ -101,15 +101,15 @@ its identifier, name, or ID, and returns it.

    def print_pokemon(pokemon):
         print u'{0.name}, the {0.genus} Pokemon'.format(pokemon)
     
    -print_pokemon(util.get(session, tables.PokemonSpecies, identifier='eevee'))
    +print_pokemon(util.get(session, tables.PokemonSpecies, identifier=u'eevee'))
     print_pokemon(util.get(session, tables.PokemonSpecies, name=u'Ho-Oh'))
     print_pokemon(util.get(session, tables.PokemonSpecies, id=50))
     
     def print_item(item):
         print u'{0.name}: ${0.cost}'.format(item)
     
    -print_item(util.get(session, tables.Item, identifier='great-ball'))
    -print_item(util.get(session, tables.Item, name='Potion'))
    +print_item(util.get(session, tables.Item, identifier=u'great-ball'))
    +print_item(util.get(session, tables.Item, name=u'Potion'))
     print_item(util.get(session, tables.Item, id=30))
     
    @@ -181,7 +181,7 @@ You will usually want to join on a relationship, such as in the following example:

    query = session.query(tables.Move)
     query = query.join(tables.Move.type)
    -query = query.filter(tables.Type.identifier == 'grass')
    +query = query.filter(tables.Type.identifier == u'grass')
     query = query.filter(tables.Move.power >= 100)
     query = query.order_by(tables.Move.power)
     query = query.order_by(tables.Move.name)