diff --git a/_sources/installing.txt b/_sources/installing.txt index 44b94a9..a9d3ce3 100644 --- a/_sources/installing.txt +++ b/_sources/installing.txt @@ -65,7 +65,7 @@ Getting and installing pokedex Run the following from an empty directory:: - $ git clone git://git.veekun.com/pokedex.git + $ git clone git://github.com/veekun/pokedex.git $ pip install -E env -e pokedex This will give you two directories: pokedex (containing the source code and diff --git a/_sources/main-tables.txt b/_sources/main-tables.txt index ce76481..65909bb 100644 --- a/_sources/main-tables.txt +++ b/_sources/main-tables.txt @@ -150,6 +150,7 @@ Association tables .. dex-table:: NatureBattleStylePreference .. dex-table:: NaturePokeathlonStat .. dex-table:: PokeathlonStat +.. dex-table:: PokedexVersionGroup .. dex-table:: PokemonAbility .. dex-table:: PokemonEggGroup .. dex-table:: PokemonFormPokeathlonStat @@ -170,6 +171,7 @@ Index maps .. dex-table:: PokemonDexNumber .. dex-table:: PokemonFormGeneration .. dex-table:: PokemonGameIndex +.. dex-table:: TypeGameIndex Mics tables ----------- diff --git a/_sources/usage.txt b/_sources/usage.txt index 2d3c08b..50b39fc 100644 --- a/_sources/usage.txt +++ b/_sources/usage.txt @@ -108,9 +108,9 @@ For example, you can get a list of all pokémon species, sorted by their Charmander Charmeleon ... - Keldeo - Meloetta - Genesect + Xerneas + Yveltal + Zygarde Or to order by :attr:`~pokedex.db.tables.PokemonSpecies.name`: @@ -123,7 +123,7 @@ Or to order by :attr:`~pokedex.db.tables.PokemonSpecies.name`: Abomasnow ... - Zweilous + Zygarde Filtering @@ -169,9 +169,9 @@ example: Petal Dance (120) Power Whip (120) Seed Flare (120) - SolarBeam (120) + Solar Beam (120) Wood Hammer (120) - Leaf Storm (140) + Leaf Storm (130) Frenzy Plant (150) That concludes our brief tutorial. diff --git a/genindex.html b/genindex.html index 127c550..a79f98a 100644 --- a/genindex.html +++ b/genindex.html @@ -96,6 +96,10 @@ <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%" valign="top"><dl> + <dt><a href="main-tables.html#pokedex.db.tables.Pokemon.base_stat">base_stat() (pokedex.db.tables.Pokemon method)</a> + </dt> + + <dt><a href="main-tables.html#pokedex.db.tables.Berry">Berry (mapped class)</a> </dt> @@ -510,6 +514,10 @@ </dt> + <dt><a href="main-tables.html#pokedex.db.tables.PokedexVersionGroup">PokedexVersionGroup (mapped class)</a> + </dt> + + <dt><a href="main-tables.html#pokedex.db.tables.Pokemon">Pokemon (mapped class)</a> </dt> @@ -639,10 +647,14 @@ <dt><a href="main-tables.html#pokedex.db.tables.Type">Type (mapped class)</a> </dt> + + <dt><a href="main-tables.html#pokedex.db.tables.TypeEfficacy">TypeEfficacy (mapped class)</a> + </dt> + </dl></td> <td style="width: 33%" valign="top"><dl> - <dt><a href="main-tables.html#pokedex.db.tables.TypeEfficacy">TypeEfficacy (mapped class)</a> + <dt><a href="main-tables.html#pokedex.db.tables.TypeGameIndex">TypeGameIndex (mapped class)</a> </dt> </dl></td> diff --git a/installing.html b/installing.html index 9798aec..3b1f8b5 100644 --- a/installing.html +++ b/installing.html @@ -106,7 +106,7 @@ will install pokedex’s own copy anyway.)</p> <div class="section" id="getting-and-installing-pokedex"> <h2>Getting and installing pokedex<a class="headerlink" href="#getting-and-installing-pokedex" title="Permalink to this headline">¶</a></h2> <p>Run the following from an empty directory:</p> -<div class="highlight-python"><pre>$ git clone git://git.veekun.com/pokedex.git +<div class="highlight-python"><pre>$ git clone git://github.com/veekun/pokedex.git $ pip install -E env -e pokedex</pre> </div> <p>This will give you two directories: pokedex (containing the source code and diff --git a/main-tables.html b/main-tables.html index 15e84d9..1864bc4 100644 --- a/main-tables.html +++ b/main-tables.html @@ -56,7 +56,7 @@ <span id="the-pokedex-tables"></span><h1>The pokédex tables<a class="headerlink" href="#module-pokedex.db.tables" title="Permalink to this headline">¶</a></h1> <p>The <a class="reference internal" href="#module-pokedex.db.tables" title="pokedex.db.tables"><tt class="xref py py-mod docutils literal"><span class="pre">pokedex.db.tables</span></tt></a> module defines all of the tables in the Pokédex. They are all defined with SQLAlchemy’s -<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/extensions/declarative.html#sqlalchemy.ext.declarative" title="(in SQLAlchemy v0.7)"><tt class="xref py py-mod docutils literal"><span class="pre">declarative</span></tt></a> extension.</p> +<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/extensions/declarative.html#module-sqlalchemy.ext.declarative" title="(in SQLAlchemy v0.9)"><tt class="xref py py-mod docutils literal"><span class="pre">declarative</span></tt></a> extension.</p> <p>To introspect the tables programmatically, you can use the following:</p> <dl class="data"> <dt id="pokedex.db.tables.mapped_classes"> @@ -67,7 +67,7 @@ They are all defined with SQLAlchemy’s <dl class="data"> <dt id="pokedex.db.tables.metadata"> <tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">metadata</tt><a class="headerlink" href="#pokedex.db.tables.metadata" title="Permalink to this definition">¶</a></dt> -<dd><p>The SQLAlchemy <a class="reference external" href="http://www.sqlalchemy.org/docs/core/schema.html#sqlalchemy.schema.MetaData" title="(in SQLAlchemy v0.7)"><tt class="xref py py-class docutils literal"><span class="pre">MetaData</span></tt></a> containing all the +<dd><p>The SQLAlchemy <a class="reference external" href="http://www.sqlalchemy.org/docs/core/metadata.html#sqlalchemy.schema.MetaData" title="(in SQLAlchemy v0.9)"><tt class="xref py py-class docutils literal"><span class="pre">MetaData</span></tt></a> containing all the tables.</p> </dd></dl> @@ -234,7 +234,7 @@ but only one for Unown.</p> (single: <em>pokemon</em>)</p> <p>Primary key: <strong>id</strong>.</p> <p>Has -<strong>id</strong>.</p> +<strong>id</strong> and <strong>identifier</strong>.</p> <hr><p>Columns:</p> <p>Pokemon.<strong>species</strong> (species_id → <a class="reference internal" href="#pokedex.db.tables.PokemonSpecies" title="pokedex.db.tables.PokemonSpecies"><tt class="xref py py-class docutils literal"><span class="pre">PokemonSpecies</span></tt></a>.id)</p> <blockquote> @@ -273,24 +273,30 @@ but only one for Unown.</p> (→ <a class="reference internal" href="#pokedex.db.tables.PokemonForm" title="pokedex.db.tables.PokemonForm"><tt class="xref py py-class docutils literal"><span class="pre">PokemonForm</span></tt></a>)</p> <blockquote> <div>A representative form of this pokémon</div></blockquote> -<p>Pokemon.<strong>dream_ability</strong> -(→ <a class="reference internal" href="#pokedex.db.tables.Ability" title="pokedex.db.tables.Ability"><tt class="xref py py-class docutils literal"><span class="pre">Ability</span></tt></a>)</p> -<blockquote> -<div><p>The Pokémon’s Hidden Ability</p> -<p>Association table: <tt class="docutils literal"><span class="pre">pokemon_abilities</span></tt></p> -</div></blockquote> <p>Pokemon.<strong>encounters</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.Encounter" title="pokedex.db.tables.Encounter"><tt class="xref py py-class docutils literal"><span class="pre">Encounter</span></tt></a>])</p> <p>Pokemon.<strong>forms</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.PokemonForm" title="pokedex.db.tables.PokemonForm"><tt class="xref py py-class docutils literal"><span class="pre">PokemonForm</span></tt></a>])</p> <blockquote> <div>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_forms."order"</span> <span class="pre">ASC</span></tt>, <tt class="docutils literal"><span class="pre">pokemon_forms.form_identifier</span> <span class="pre">ASC</span></tt></div></blockquote> +<p>Pokemon.<strong>hidden_ability</strong> +(→ <a class="reference internal" href="#pokedex.db.tables.Ability" title="pokedex.db.tables.Ability"><tt class="xref py py-class docutils literal"><span class="pre">Ability</span></tt></a>)</p> +<blockquote> +<div><p>The Pokémon’s Hidden Ability</p> +<p>Association table: <tt class="docutils literal"><span class="pre">pokemon_abilities</span></tt></p> +</div></blockquote> <p>Pokemon.<strong>items</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.PokemonItem" title="pokedex.db.tables.PokemonItem"><tt class="xref py py-class docutils literal"><span class="pre">PokemonItem</span></tt></a>])</p> <blockquote> <div><p>Info about items this pokémon holds in the wild</p> <p>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_items.rarity</span> <span class="pre">DESC</span></tt></p> </div></blockquote> +<p>Pokemon.<strong>pokemon_abilities</strong> +(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonAbility" title="pokedex.db.tables.PokemonAbility"><tt class="xref py py-class docutils literal"><span class="pre">PokemonAbility</span></tt></a>])</p> +<blockquote> +<div><p>All abilities the Pokémon can have, as bridge rows</p> +<p>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_abilities.slot</span> <span class="pre">ASC</span></tt></p> +</div></blockquote> <p>Pokemon.<strong>pokemon_moves</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.PokemonMove" title="pokedex.db.tables.PokemonMove"><tt class="xref py py-class docutils literal"><span class="pre">PokemonMove</span></tt></a>])</p> <p>Pokemon.<strong>stats</strong> @@ -303,7 +309,14 @@ but only one for Unown.</p> <div><p>Association table: <tt class="docutils literal"><span class="pre">pokemon_types</span></tt></p> <p>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_types.slot</span> <span class="pre">ASC</span></tt></p> </div></blockquote> -<hr><dl class="attribute"> +<hr><dl class="method"> +<dt id="pokedex.db.tables.Pokemon.base_stat"> +<tt class="descname">base_stat</tt><big>(</big><em>stat_identifier</em>, <em>default=0</em><big>)</big><a class="headerlink" href="#pokedex.db.tables.Pokemon.base_stat" title="Permalink to this definition">¶</a></dt> +<dd><p>Return this Pokemon’s base stat value for the given stat identifier, +or default if missing.</p> +</dd></dl> + +<dl class="attribute"> <dt id="pokedex.db.tables.Pokemon.better_damage_class"> <tt class="descname">better_damage_class</tt><a class="headerlink" href="#pokedex.db.tables.Pokemon.better_damage_class" title="Permalink to this definition">¶</a></dt> <dd><p>Returns the MoveDamageClass that this Pokémon is best suited for, @@ -343,7 +356,7 @@ represent their lone “normal” form.</p> (single: <em>pokemon_form</em>)</p> <p>Primary key: <strong>id</strong>.</p> <p>Has -<strong>id</strong>.</p> +<strong>id</strong> and <strong>identifier</strong>.</p> <hr><p>Columns:</p> <p>PokemonForm.<strong>form_identifier</strong> (<em>unicode – identifier</em>):</p> <blockquote> @@ -360,6 +373,9 @@ represent their lone “normal” form.</p> <p>PokemonForm.<strong>is_battle_only</strong> (<em>bool</em>):</p> <blockquote> <div>Set iff the form can only appear in battle.</div></blockquote> +<p>PokemonForm.<strong>is_mega</strong> (<em>bool</em>):</p> +<blockquote> +<div>Records whether this form is a Mega Evolution.</div></blockquote> <p>PokemonForm.<strong>form_order</strong> (<em>int</em>):</p> <blockquote> <div>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 <cite>pokemon_forms.order</cite> and <cite>pokemon.order</cite>.</div></blockquote> @@ -458,21 +474,36 @@ must occur to cause a Pokémon to evolve.</p> <p>PokemonEvolution.<strong>known_move</strong> (known_move_id → <a class="reference internal" href="#pokedex.db.tables.Move" title="pokedex.db.tables.Move"><tt class="xref py py-class docutils literal"><span class="pre">Move</span></tt></a>.id)</p> <blockquote> <div>The ID of the move the Pokémon must know.</div></blockquote> +<p>PokemonEvolution.<strong>known_move_type</strong> (known_move_type_id → <a class="reference internal" href="#pokedex.db.tables.Type" title="pokedex.db.tables.Type"><tt class="xref py py-class docutils literal"><span class="pre">Type</span></tt></a>.id)</p> +<blockquote> +<div>The ID of the type the Pokémon must know a move of.</div></blockquote> <p>PokemonEvolution.<strong>minimum_happiness</strong> (<em>int</em>):</p> <blockquote> <div>The minimum happiness value the Pokémon must have.</div></blockquote> <p>PokemonEvolution.<strong>minimum_beauty</strong> (<em>int</em>):</p> <blockquote> <div>The minimum Beauty value the Pokémon must have.</div></blockquote> +<p>PokemonEvolution.<strong>minimum_affection</strong> (<em>int</em>):</p> +<blockquote> +<div>The minimum number of “affection” hearts the Pokémon must have in Pokémon-Amie.</div></blockquote> <p>PokemonEvolution.<strong>relative_physical_stats</strong> (<em>int</em>):</p> <blockquote> <div>The required relation between the Pokémon’s Attack and Defense stats, as sgn(atk-def).</div></blockquote> <p>PokemonEvolution.<strong>party_species</strong> (party_species_id → <a class="reference internal" href="#pokedex.db.tables.PokemonSpecies" title="pokedex.db.tables.PokemonSpecies"><tt class="xref py py-class docutils literal"><span class="pre">PokemonSpecies</span></tt></a>.id)</p> <blockquote> <div>The ID of the species that must be present in the party.</div></blockquote> +<p>PokemonEvolution.<strong>party_type</strong> (party_type_id → <a class="reference internal" href="#pokedex.db.tables.Type" title="pokedex.db.tables.Type"><tt class="xref py py-class docutils literal"><span class="pre">Type</span></tt></a>.id)</p> +<blockquote> +<div>The ID of a type that at least one party member must have.</div></blockquote> <p>PokemonEvolution.<strong>trade_species</strong> (trade_species_id → <a class="reference internal" href="#pokedex.db.tables.PokemonSpecies" title="pokedex.db.tables.PokemonSpecies"><tt class="xref py py-class docutils literal"><span class="pre">PokemonSpecies</span></tt></a>.id)</p> <blockquote> <div>The ID of the species for which this one must be traded.</div></blockquote> +<p>PokemonEvolution.<strong>needs_overworld_rain</strong> (<em>bool</em>):</p> +<blockquote> +<div>True iff it needs to be raining outside of battle.</div></blockquote> +<p>PokemonEvolution.<strong>turn_upside_down</strong> (<em>bool</em>):</p> +<blockquote> +<div>True iff the 3DS needs to be turned upside-down as this Pokémon levels up.</div></blockquote> <hr><p>Relationships:</p> <p>PokemonEvolution.<strong>trigger</strong> (→ <a class="reference internal" href="#pokedex.db.tables.EvolutionTrigger" title="pokedex.db.tables.EvolutionTrigger"><tt class="xref py py-class docutils literal"><span class="pre">EvolutionTrigger</span></tt></a>)</p> @@ -502,7 +533,7 @@ must occur to cause a Pokémon to evolve.</p> <div>ID of the move’s elemental type</div></blockquote> <p>Move.<strong>power</strong> (<em>int</em>):</p> <blockquote> -<div>Base power of the move</div></blockquote> +<div>Base power of the move, null if it does not have a set base power.</div></blockquote> <p>Move.<strong>pp</strong> (<em>int</em>):</p> <blockquote> <div>Base PP (Power Points) of the move, nullable if not applicable (e.g. Struggle and Shadow moves).</div></blockquote> @@ -835,6 +866,8 @@ must occur to cause a Pokémon to evolve.</p> <div>Association table: <tt class="docutils literal"><span class="pre">conquest_warrior_specialties</span></tt></div></blockquote> <p>Type.<strong>damage_efficacies</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.TypeEfficacy" title="pokedex.db.tables.TypeEfficacy"><tt class="xref py py-class docutils literal"><span class="pre">TypeEfficacy</span></tt></a>])</p> +<p>Type.<strong>game_indices</strong> +(→ [<a class="reference internal" href="#pokedex.db.tables.TypeGameIndex" title="pokedex.db.tables.TypeGameIndex"><tt class="xref py py-class docutils literal"><span class="pre">TypeGameIndex</span></tt></a>])</p> <p>Type.<strong>move_changelog</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.MoveChangelog" title="pokedex.db.tables.MoveChangelog"><tt class="xref py py-class docutils literal"><span class="pre">MoveChangelog</span></tt></a>])</p> <p>Type.<strong>moves</strong> @@ -868,13 +901,16 @@ must occur to cause a Pokémon to evolve.</p> <p>Ability.<strong>generation</strong> (generation_id → <a class="reference internal" href="#pokedex.db.tables.Generation" title="pokedex.db.tables.Generation"><tt class="xref py py-class docutils literal"><span class="pre">Generation</span></tt></a>.id)</p> <blockquote> <div>The ID of the generation this ability was introduced in</div></blockquote> -<hr><p>Internationalized strings:</p> -<p>Ability.<strong>effect</strong> (<em>unicode – markdown</em>) via <em>ability_prose</em></p> +<p>Ability.<strong>is_main_series</strong> (<em>bool</em>):</p> <blockquote> -<div>A detailed description of this ability’s effect</div></blockquote> +<div>True iff the ability exists in the main series.</div></blockquote> +<hr><p>Internationalized strings:</p> <p>Ability.<strong>short_effect</strong> (<em>unicode – markdown</em>) via <em>ability_prose</em></p> <blockquote> <div>A short summary of this ability’s effect</div></blockquote> +<p>Ability.<strong>effect</strong> (<em>unicode – markdown</em>) via <em>ability_prose</em></p> +<blockquote> +<div>A detailed description of this ability’s effect</div></blockquote> <hr><p>Relationships:</p> <p>Ability.<strong>all_pokemon</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.Pokemon" title="pokedex.db.tables.Pokemon"><tt class="xref py py-class docutils literal"><span class="pre">Pokemon</span></tt></a>])</p> @@ -892,16 +928,16 @@ must occur to cause a Pokémon to evolve.</p> <div><p>Association table: <tt class="docutils literal"><span class="pre">conquest_pokemon_abilities</span></tt></p> <p>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_species.conquest_order</span></tt></p> </div></blockquote> -<p>Ability.<strong>dream_pokemon</strong> +<p>Ability.<strong>flavor_text</strong> +(→ [<a class="reference internal" href="#pokedex.db.tables.AbilityFlavorText" title="pokedex.db.tables.AbilityFlavorText"><tt class="xref py py-class docutils literal"><span class="pre">AbilityFlavorText</span></tt></a>])</p> +<blockquote> +<div>Ordered by: <tt class="docutils literal"><span class="pre">ability_flavor_text.version_group_id</span></tt></div></blockquote> +<p>Ability.<strong>hidden_pokemon</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.Pokemon" title="pokedex.db.tables.Pokemon"><tt class="xref py py-class docutils literal"><span class="pre">Pokemon</span></tt></a>])</p> <blockquote> <div><p>Association table: <tt class="docutils literal"><span class="pre">pokemon_abilities</span></tt></p> <p>Ordered by: <tt class="docutils literal"><span class="pre">pokemon.order</span></tt></p> </div></blockquote> -<p>Ability.<strong>flavor_text</strong> -(→ [<a class="reference internal" href="#pokedex.db.tables.AbilityFlavorText" title="pokedex.db.tables.AbilityFlavorText"><tt class="xref py py-class docutils literal"><span class="pre">AbilityFlavorText</span></tt></a>])</p> -<blockquote> -<div>Ordered by: <tt class="docutils literal"><span class="pre">ability_flavor_text.version_group_id</span></tt></div></blockquote> <p>Ability.<strong>pokemon</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.Pokemon" title="pokedex.db.tables.Pokemon"><tt class="xref py py-class docutils literal"><span class="pre">Pokemon</span></tt></a>])</p> <blockquote> @@ -959,9 +995,6 @@ must occur to cause a Pokémon to evolve.</p> <p>Generation.<strong>main_region</strong> (main_region_id → <a class="reference internal" href="#pokedex.db.tables.Region" title="pokedex.db.tables.Region"><tt class="xref py py-class docutils literal"><span class="pre">Region</span></tt></a>.id)</p> <blockquote> <div>ID of the region this generation’s main games take place in</div></blockquote> -<p>Generation.<strong>canonical_pokedex</strong> (canonical_pokedex_id → <a class="reference internal" href="#pokedex.db.tables.Pokedex" title="pokedex.db.tables.Pokedex"><tt class="xref py py-class docutils literal"><span class="pre">Pokedex</span></tt></a>.id)</p> -<blockquote> -<div>ID of the Pokédex this generation’s main games use by default</div></blockquote> <hr><p>Relationships:</p> <p>Generation.<strong>abilities</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.Ability" title="pokedex.db.tables.Ability"><tt class="xref py py-class docutils literal"><span class="pre">Ability</span></tt></a>])</p> @@ -996,14 +1029,11 @@ and Blue) or a single game (such as Yellow.)</p> <p>Table name: <em>version_groups</em></p> <p>Primary key: <strong>id</strong>.</p> <p>Has -<strong>id</strong>.</p> +<strong>id</strong> and <strong>identifier</strong>.</p> <hr><p>Columns:</p> <p>VersionGroup.<strong>generation</strong> (generation_id → <a class="reference internal" href="#pokedex.db.tables.Generation" title="pokedex.db.tables.Generation"><tt class="xref py py-class docutils literal"><span class="pre">Generation</span></tt></a>.id)</p> <blockquote> <div>The ID of the generation the games in this group belong to.</div></blockquote> -<p>VersionGroup.<strong>pokedex</strong> (pokedex_id → <a class="reference internal" href="#pokedex.db.tables.Pokedex" title="pokedex.db.tables.Pokedex"><tt class="xref py py-class docutils literal"><span class="pre">Pokedex</span></tt></a>.id)</p> -<blockquote> -<div>The ID of the regional Pokédex used in this version group. Null if not applicable.</div></blockquote> <p>VersionGroup.<strong>order</strong> (<em>int</em>):</p> <blockquote> <div>Order for sorting. Almost by date of release, except similar versions are grouped together.</div></blockquote> @@ -1018,10 +1048,16 @@ and Blue) or a single game (such as Yellow.)</p> (→ [<a class="reference internal" href="#pokedex.db.tables.MoveChangelog" title="pokedex.db.tables.MoveChangelog"><tt class="xref py py-class docutils literal"><span class="pre">MoveChangelog</span></tt></a>])</p> <p>VersionGroup.<strong>move_effect_changelog</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.MoveEffectChangelog" title="pokedex.db.tables.MoveEffectChangelog"><tt class="xref py py-class docutils literal"><span class="pre">MoveEffectChangelog</span></tt></a>])</p> +<p>VersionGroup.<strong>pokedexes</strong> +(→ [<a class="reference internal" href="#pokedex.db.tables.Pokedex" title="pokedex.db.tables.Pokedex"><tt class="xref py py-class docutils literal"><span class="pre">Pokedex</span></tt></a>])</p> +<blockquote> +<div>Association table: <tt class="docutils literal"><span class="pre">pokedex_version_groups</span></tt></div></blockquote> <p>VersionGroup.<strong>pokemon_move_methods</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.PokemonMoveMethod" title="pokedex.db.tables.PokemonMoveMethod"><tt class="xref py py-class docutils literal"><span class="pre">PokemonMoveMethod</span></tt></a>])</p> <blockquote> <div>Association table: <tt class="docutils literal"><span class="pre">version_group_pokemon_move_methods</span></tt></div></blockquote> +<p>VersionGroup.<strong>pokemon_moves</strong> +(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonMove" title="pokedex.db.tables.PokemonMove"><tt class="xref py py-class docutils literal"><span class="pre">PokemonMove</span></tt></a>])</p> <p>VersionGroup.<strong>version_group_move_methods</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.VersionGroupPokemonMoveMethod" title="pokedex.db.tables.VersionGroupPokemonMoveMethod"><tt class="xref py py-class docutils literal"><span class="pre">VersionGroupPokemonMoveMethod</span></tt></a>])</p> <p>VersionGroup.<strong>version_group_regions</strong> @@ -1083,12 +1119,12 @@ and Blue) or a single game (such as Yellow.)</p> <blockquote> <div>A longer description of the Pokédex</div></blockquote> <hr><p>Relationships:</p> -<p>Pokedex.<strong>canonical_for_generation</strong> -(→ [<a class="reference internal" href="#pokedex.db.tables.Generation" title="pokedex.db.tables.Generation"><tt class="xref py py-class docutils literal"><span class="pre">Generation</span></tt></a>])</p> <p>Pokedex.<strong>version_groups</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.VersionGroup" title="pokedex.db.tables.VersionGroup"><tt class="xref py py-class docutils literal"><span class="pre">VersionGroup</span></tt></a>])</p> <blockquote> -<div>Ordered by: <tt class="docutils literal"><span class="pre">version_groups."order"</span> <span class="pre">ASC</span></tt></div></blockquote> +<div><p>Association table: <tt class="docutils literal"><span class="pre">pokedex_version_groups</span></tt></p> +<p>Ordered by: <tt class="docutils literal"><span class="pre">version_groups."order"</span> <span class="pre">ASC</span></tt></p> +</div></blockquote> </dd></dl> </div> @@ -1248,13 +1284,12 @@ swarm) are thus enough to define a specific encounter.</p> <blockquote> <div>The maxmum level of the encountered Pokémon</div></blockquote> <hr><p>Relationships:</p> -<p>Encounter.<strong>condition_value_map</strong> -(→ [<a class="reference internal" href="#pokedex.db.tables.EncounterConditionValueMap" title="pokedex.db.tables.EncounterConditionValueMap"><tt class="xref py py-class docutils literal"><span class="pre">EncounterConditionValueMap</span></tt></a>])</p> +<p>Encounter.<strong>condition_values</strong> +(→ [<a class="reference internal" href="#pokedex.db.tables.EncounterConditionValue" title="pokedex.db.tables.EncounterConditionValue"><tt class="xref py py-class docutils literal"><span class="pre">EncounterConditionValue</span></tt></a>])</p> +<blockquote> +<div>Association table: <tt class="docutils literal"><span class="pre">encounter_condition_value_map</span></tt></div></blockquote> <p>Encounter.<strong>slot</strong> (→ <a class="reference internal" href="#pokedex.db.tables.EncounterSlot" title="pokedex.db.tables.EncounterSlot"><tt class="xref py py-class docutils literal"><span class="pre">EncounterSlot</span></tt></a>)</p> -<hr><p>Association Proxies:</p> -<p>Encounter.<strong>condition_values</strong>: -<tt class="docutils literal"><span class="pre">condition_value</span></tt> of <tt class="docutils literal"><span class="pre">self.condition_value_map</span></tt></p> </dd></dl> </div> @@ -1296,8 +1331,6 @@ swarm) are thus enough to define a specific encounter.</p> <hr><p>Relationships:</p> <p>EncounterConditionValue.<strong>condition</strong> (→ <a class="reference internal" href="#pokedex.db.tables.EncounterCondition" title="pokedex.db.tables.EncounterCondition"><tt class="xref py py-class docutils literal"><span class="pre">EncounterCondition</span></tt></a>)</p> -<p>EncounterConditionValue.<strong>encounter_map</strong> -(→ [<a class="reference internal" href="#pokedex.db.tables.EncounterConditionValueMap" title="pokedex.db.tables.EncounterConditionValueMap"><tt class="xref py py-class docutils literal"><span class="pre">EncounterConditionValueMap</span></tt></a>])</p> </dd></dl> </div> @@ -1312,6 +1345,10 @@ swarm) are thus enough to define a specific encounter.</p> <p>Primary key: <strong>id</strong>.</p> <p>Has <strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>encounter_method_prose</em>.</p> +<hr><p>Columns:</p> +<p>EncounterMethod.<strong>order</strong> (<em>int</em>):</p> +<blockquote> +<div>A good column for sorting on</div></blockquote> <hr><p>Relationships:</p> <p>EncounterMethod.<strong>slots</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.EncounterSlot" title="pokedex.db.tables.EncounterSlot"><tt class="xref py py-class docutils literal"><span class="pre">EncounterSlot</span></tt></a>])</p> @@ -1779,6 +1816,9 @@ major ailments like paralysis and minor ailments like trapping.</p> <p>Nature.<strong>likes_flavor</strong> (likes_flavor_id → <a class="reference internal" href="#pokedex.db.tables.ContestType" title="pokedex.db.tables.ContestType"><tt class="xref py py-class docutils literal"><span class="pre">ContestType</span></tt></a>.id)</p> <blockquote> <div>ID of the Berry flavor the Pokémon likes (if hates_flavor_id is the same, the effects cancel out)</div></blockquote> +<p>Nature.<strong>game_index</strong> (<em>int</em>):</p> +<blockquote> +<div>This nature’s internal ID in the games</div></blockquote> <hr><p>Relationships:</p> <p>Nature.<strong>battle_style_preferences</strong> (→ [<a class="reference internal" href="#pokedex.db.tables.NatureBattleStylePreference" title="pokedex.db.tables.NatureBattleStylePreference"><tt class="xref py py-class docutils literal"><span class="pre">NatureBattleStylePreference</span></tt></a>])</p> @@ -2149,15 +2189,12 @@ Pokédexes.</p> <p>Table name: <em>encounter_condition_value_map</em></p> <p>Primary key: <strong>encounter_id</strong>, <strong>encounter_condition_value_id</strong>.</p> <hr><p>Columns:</p> -<p>EncounterConditionValueMap.<strong>encounter</strong> (encounter_id → <a class="reference internal" href="#pokedex.db.tables.Encounter" title="pokedex.db.tables.Encounter"><tt class="xref py py-class docutils literal"><span class="pre">Encounter</span></tt></a>.id)</p> +<p>EncounterConditionValueMap.<strong>encounter_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Encounter" title="pokedex.db.tables.Encounter"><tt class="xref py py-class docutils literal"><span class="pre">Encounter</span></tt></a>.id):</p> <blockquote> <div>The ID of the encounter</div></blockquote> <p>EncounterConditionValueMap.<strong>encounter_condition_value_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.EncounterConditionValue" title="pokedex.db.tables.EncounterConditionValue"><tt class="xref py py-class docutils literal"><span class="pre">EncounterConditionValue</span></tt></a>.id):</p> <blockquote> <div>The ID of the encounter condition value</div></blockquote> -<hr><p>Relationships:</p> -<p>EncounterConditionValueMap.<strong>condition_value</strong> -(→ <a class="reference internal" href="#pokedex.db.tables.EncounterConditionValue" title="pokedex.db.tables.EncounterConditionValue"><tt class="xref py py-class docutils literal"><span class="pre">EncounterConditionValue</span></tt></a>)</p> </dd></dl> </div> @@ -2208,7 +2245,7 @@ Pokédexes.</p> <hr><p>Columns:</p> <p>Machine.<strong>machine_number</strong> (<em>int</em>):</p> <blockquote> -<div>Number of the machine for TMs, or 100 + the munber for HMs</div></blockquote> +<div>Number of the machine for TMs, or 100 + the number for HMs</div></blockquote> <p>Machine.<strong>version_group</strong> (version_group_id → <a class="reference internal" href="#pokedex.db.tables.VersionGroup" title="pokedex.db.tables.VersionGroup"><tt class="xref py py-class docutils literal"><span class="pre">VersionGroup</span></tt></a>.id)</p> <blockquote> <div>Versions this entry applies to</div></blockquote> @@ -2356,6 +2393,26 @@ a particular battl style in Battle Palace or Battle Tent</p> (→ [<a class="reference internal" href="#pokedex.db.tables.NaturePokeathlonStat" title="pokedex.db.tables.NaturePokeathlonStat"><tt class="xref py py-class docutils literal"><span class="pre">NaturePokeathlonStat</span></tt></a>])</p> </dd></dl> +</div> +<div class="section" id="dex-table-pokedexversiongroup"> +<h3>PokedexVersionGroup<a class="headerlink" href="#dex-table-pokedexversiongroup" title="Permalink to this headline">¶</a></h3> +<dl class="dex-table"> +<dt id="pokedex.db.tables.PokedexVersionGroup"> +<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokedexVersionGroup</tt><a class="headerlink" href="#pokedex.db.tables.PokedexVersionGroup" title="Permalink to this definition">¶</a></dt> +<dd><p>A mapping from Pokédexes to version groups in which they appear as the +regional dex.</p> +<p>Table name: <em>pokedex_version_groups</em> +(single: <em>pokedex_version_group</em>)</p> +<p>Primary key: <strong>pokedex_id</strong>, <strong>version_group_id</strong>.</p> +<hr><p>Columns:</p> +<p>PokedexVersionGroup.<strong>pokedex_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Pokedex" title="pokedex.db.tables.Pokedex"><tt class="xref py py-class docutils literal"><span class="pre">Pokedex</span></tt></a>.id):</p> +<blockquote> +<div>The ID of the Pokédex.</div></blockquote> +<p>PokedexVersionGroup.<strong>version_group_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.VersionGroup" title="pokedex.db.tables.VersionGroup"><tt class="xref py py-class docutils literal"><span class="pre">VersionGroup</span></tt></a>.id):</p> +<blockquote> +<div>The ID of the version group.</div></blockquote> +</dd></dl> + </div> <div class="section" id="dex-table-pokemonability"> <h3>PokemonAbility<a class="headerlink" href="#dex-table-pokemonability" title="Permalink to this headline">¶</a></h3> @@ -2366,15 +2423,15 @@ a particular battl style in Battle Palace or Battle Tent</p> <p>Table name: <em>pokemon_abilities</em></p> <p>Primary key: <strong>pokemon_id</strong>, <strong>slot</strong>.</p> <hr><p>Columns:</p> -<p>PokemonAbility.<strong>pokemon_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Pokemon" title="pokedex.db.tables.Pokemon"><tt class="xref py py-class docutils literal"><span class="pre">Pokemon</span></tt></a>.id):</p> +<p>PokemonAbility.<strong>pokemon</strong> (pokemon_id → <a class="reference internal" href="#pokedex.db.tables.Pokemon" title="pokedex.db.tables.Pokemon"><tt class="xref py py-class docutils literal"><span class="pre">Pokemon</span></tt></a>.id)</p> <blockquote> <div>ID of the Pokémon</div></blockquote> -<p>PokemonAbility.<strong>ability_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Ability" title="pokedex.db.tables.Ability"><tt class="xref py py-class docutils literal"><span class="pre">Ability</span></tt></a>.id):</p> +<p>PokemonAbility.<strong>ability</strong> (ability_id → <a class="reference internal" href="#pokedex.db.tables.Ability" title="pokedex.db.tables.Ability"><tt class="xref py py-class docutils literal"><span class="pre">Ability</span></tt></a>.id)</p> <blockquote> <div>ID of the ability</div></blockquote> -<p>PokemonAbility.<strong>is_dream</strong> (<em>bool</em>):</p> +<p>PokemonAbility.<strong>is_hidden</strong> (<em>bool</em>):</p> <blockquote> -<div>Whether this is a Dream World ability</div></blockquote> +<div>Whether this is a hidden ability</div></blockquote> <p>PokemonAbility.<strong>slot</strong> (<em>int</em>):</p> <blockquote> <div>The ability slot, i.e. 1 or 2 for gen. IV</div></blockquote> @@ -2704,17 +2761,38 @@ For example, Breeding didn’t exist in Gen.I, so it’s not in this tab <tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonGameIndex</tt><a class="headerlink" href="#pokedex.db.tables.PokemonGameIndex" title="Permalink to this definition">¶</a></dt> <dd><p>The number of a Pokémon a game uses internally</p> <p>Table name: <em>pokemon_game_indices</em></p> -<p>Primary key: <strong>pokemon_id</strong>, <strong>generation_id</strong>.</p> +<p>Primary key: <strong>pokemon_id</strong>, <strong>version_id</strong>.</p> <hr><p>Columns:</p> <p>PokemonGameIndex.<strong>pokemon_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Pokemon" title="pokedex.db.tables.Pokemon"><tt class="xref py py-class docutils literal"><span class="pre">Pokemon</span></tt></a>.id):</p> <blockquote> <div>Database ID of the Pokémon</div></blockquote> -<p>PokemonGameIndex.<strong>generation_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Generation" title="pokedex.db.tables.Generation"><tt class="xref py py-class docutils literal"><span class="pre">Generation</span></tt></a>.id):</p> +<p>PokemonGameIndex.<strong>version_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Version" title="pokedex.db.tables.Version"><tt class="xref py py-class docutils literal"><span class="pre">Version</span></tt></a>.id):</p> <blockquote> -<div>Database ID of the generation</div></blockquote> +<div>Database ID of the version</div></blockquote> <p>PokemonGameIndex.<strong>game_index</strong> (<em>int</em>):</p> <blockquote> -<div>Internal ID the generation’s games use for the Pokémon</div></blockquote> +<div>Internal ID the version’s games use for the Pokémon</div></blockquote> +</dd></dl> + +</div> +<div class="section" id="dex-table-typegameindex"> +<h3>TypeGameIndex<a class="headerlink" href="#dex-table-typegameindex" title="Permalink to this headline">¶</a></h3> +<dl class="dex-table"> +<dt id="pokedex.db.tables.TypeGameIndex"> +<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">TypeGameIndex</tt><a class="headerlink" href="#pokedex.db.tables.TypeGameIndex" title="Permalink to this definition">¶</a></dt> +<dd><p>The internal ID number a game uses for a type</p> +<p>Table name: <em>type_game_indices</em></p> +<p>Primary key: <strong>type_id</strong>, <strong>generation_id</strong>.</p> +<hr><p>Columns:</p> +<p>TypeGameIndex.<strong>type</strong> (type_id → <a class="reference internal" href="#pokedex.db.tables.Type" title="pokedex.db.tables.Type"><tt class="xref py py-class docutils literal"><span class="pre">Type</span></tt></a>.id)</p> +<blockquote> +<div>The type</div></blockquote> +<p>TypeGameIndex.<strong>generation</strong> (generation_id → <a class="reference internal" href="#pokedex.db.tables.Generation" title="pokedex.db.tables.Generation"><tt class="xref py py-class docutils literal"><span class="pre">Generation</span></tt></a>.id)</p> +<blockquote> +<div>The generation</div></blockquote> +<p>TypeGameIndex.<strong>game_index</strong> (<em>int</em>):</p> +<blockquote> +<div>Internal ID of the type in this generation</div></blockquote> </dd></dl> </div> @@ -3550,6 +3628,7 @@ ConquestTransformationWarrior.</p> <li><a class="reference internal" href="#dex-table-naturebattlestylepreference">NatureBattleStylePreference</a></li> <li><a class="reference internal" href="#dex-table-naturepokeathlonstat">NaturePokeathlonStat</a></li> <li><a class="reference internal" href="#dex-table-pokeathlonstat">PokeathlonStat</a></li> +<li><a class="reference internal" href="#dex-table-pokedexversiongroup">PokedexVersionGroup</a></li> <li><a class="reference internal" href="#dex-table-pokemonability">PokemonAbility</a></li> <li><a class="reference internal" href="#dex-table-pokemonegggroup">PokemonEggGroup</a></li> <li><a class="reference internal" href="#dex-table-pokemonformpokeathlonstat">PokemonFormPokeathlonStat</a></li> @@ -3569,6 +3648,7 @@ ConquestTransformationWarrior.</p> <li><a class="reference internal" href="#dex-table-pokemondexnumber">PokemonDexNumber</a></li> <li><a class="reference internal" href="#dex-table-pokemonformgeneration">PokemonFormGeneration</a></li> <li><a class="reference internal" href="#dex-table-pokemongameindex">PokemonGameIndex</a></li> +<li><a class="reference internal" href="#dex-table-typegameindex">TypeGameIndex</a></li> </ul> </li> <li><a class="reference internal" href="#mics-tables">Mics tables</a><ul> diff --git a/objects.inv b/objects.inv index c35b499..df02967 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/schema.html b/schema.html index 254d47e..a471a5c 100644 --- a/schema.html +++ b/schema.html @@ -164,6 +164,7 @@ <li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-naturebattlestylepreference">NatureBattleStylePreference</a></li> <li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-naturepokeathlonstat">NaturePokeathlonStat</a></li> <li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-pokeathlonstat">PokeathlonStat</a></li> +<li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-pokedexversiongroup">PokedexVersionGroup</a></li> <li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-pokemonability">PokemonAbility</a></li> <li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-pokemonegggroup">PokemonEggGroup</a></li> <li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-pokemonformpokeathlonstat">PokemonFormPokeathlonStat</a></li> @@ -183,6 +184,7 @@ <li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-pokemondexnumber">PokemonDexNumber</a></li> <li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-pokemonformgeneration">PokemonFormGeneration</a></li> <li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-pokemongameindex">PokemonGameIndex</a></li> +<li class="toctree-l3"><a class="reference internal" href="main-tables.html#dex-table-typegameindex">TypeGameIndex</a></li> </ul> </li> <li class="toctree-l2"><a class="reference internal" href="main-tables.html#mics-tables">Mics tables</a><ul> diff --git a/searchindex.js b/searchindex.js index 22546b3..ad42f8f 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -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 +Search.setIndex({objects:{"pokedex.db.tables.Machine":{is_hm:[2,3,1,""]},"pokedex.db.tables.ConquestMoveData":{star_rating:[2,3,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,""],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,""],PokedexVersionGroup:[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,4,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,""],TypeGameIndex:[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,""],EggGroup:[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,4,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,3,1,""],base_stat:[2,5,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":{tables:[2,0,1,""],connect:[0,2,1,""]},"pokedex.db.util":{get:[0,2,1,""]}},terms:{stat:[2,4],all:[0,1,2,3],code:[2,3],chain:2,type_id:2,party_type_id:2,queri:[0,1],consum:2,pokemon_move_method_pros:2,yellow:2,four:2,hating_natur:2,abil:[2,4],conquest_move_data:2,upsid:2,habitat_id:2,hate:2,row:2,nature_id:2,whose:2,system:[1,3],recruit:2,pokemon_shape_pros:2,"pok\u00e9":2,pal_park: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:[],pokemonformgener:[2,4],minimum_level:2,fall:2,veri:2,affect:2,min_hit:2,cool:2,damage_typ:2,conquest_warrior:2,level:2,gender:[2,4],effect_ch:2,max_harvest:2,list:[0,2,3],turn_upside_down:2,item:[0,2,4],minimum_happi:2,form:2,contest_combo_second:2,print_item:0,small:0,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],zygard:0,attribut:2,uniqu:2,jump:[1,2],second:2,cost:[0,2],decigram:2,follow:[0,2,3],download:3,further:2,encountermethod:[2,4],pokemonshap:[2,4],even:[2,3],index:[1,2,3,4],what:[0,2,3],appear:2,cover:0,conquest_move_range_pros:2,lowest:2,introspect:2,calcul:2,find:3,current:[2,3],version:[2,3,4],conquestwarriorarchetyp:[2,4],eagerload:[],appeal:2,method:[0,2],metadata:[0,2],trade_species_id:2,move_effect:2,full:[0,2],paralysi: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],yveltal:0,undocu:2,move_flavor_summari:2,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],defens:2,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,kei:2,skill_id:2,from:[0,2,3],secondari:2,typegameindex:[2,4],internation:2,regist:2,conquest_ord:2,next:[2,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],conquest_stat_nam:2,frenzi:0,stat_map:2,experience_t:2,babi:2,detail:[2,3],encounter_r:2,line:3,about:[0,2,3],pokemonspeciesflavortext:[2,4],star_rat:2,flag:2,pokedex_version_group: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],gametext: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,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],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,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,github:3,is_babi:2,warrior_stat_id:2,rest:3,party_species_id:2,counter:2,favorit:3,correspond:[2,3],element:2,caus:2,inform:0,"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],form_identifi:2,becaus:[2,3],meter:2,trade:2,increas:2,evolved_speci:2,through:2,pokemonformpokeathlonstat:[2,4],equip:2,abilityflavortext:[2,4],move_data:2,dynam:[],bunch:2,dex_numb: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,feel:3,jigglypuff:2,crit_rat:2,whole:2,persist:2,conquest_pokemon:2,conquestmovedata:[2,4],hidden:2,main:2,might:3,alter:2,them:[0,2,3],good:[0,2],"return":[0,2],hates_flavor_id:2,thei:2,fling:2,python:[0,3],movemetaail:[2,4],party_typ:2,conquestwarriortransform:[2,4],dai:2,initi:2,nation:2,solarbeam:[],half:2,item_nam:2,is_automat:2,now:3,ability_flavor_text:2,itempocket:[2,4],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,complet:2,encounterconditionvalu:[2,4],mean:[0,2,3],beween:2,armi: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],ability_id:2,type_nam:2,goe:3,miss:2,defend:2,berryflavor:[2,4],whoosh:3,categori:2,bonus: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:[],gameplai:2,move_battle_style_id:2,free:3,standard:2,asc:2,quick:[1,3],evolution_chain:2,orm:0,ability_changelog:2,second_move_id:2,usual:[0,2],item_id:2,region:[2,4],teach:2,episode_id:2,star:2,is_hm:2,soil_dry:2,encounter_condition_valu:2,flare:0,could:2,omit:0,atk:2,struggl:2,filter:0,turn:2,"int":2,region_nam:2,place:2,isn:2,outsid:2,conquest_warrior_transform: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:[],directli:3,spoken:2,engine_prefix:0,pokemon_item:2,number:[0,2],rank:2,evolut:[0,2],known_move_type_id:2,instruct:3,relative_physical_stat:2,done:[1,2,3],construct:3,multilang:2,item_fling_effect:2,known_move_id:2,primari:2,max_experi:2,size:2,prioriti:2,given:2,episod:2,script:3,associ:[2,4],caught:2,breed:2,sometim:2,messag:2,grow:2,kanto:2,swarm:2,attack: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,"short":2,egggroup:[2,4],conquestpokemonmov:[2,4],consult:0,moveeffectchangelog:[2,4],exactli:2,than:0,conquestwarrior:[2,4],wide:3,nature_battle_style_prefer:2,pokemon_shap:2,target:2,whenev:3,tree:2,rate:2,growthrat:[2,4],move_meta:2,matter:2,meta_category_id:2,pressur:2,super_contest_combo_second:2,seriou:0,posit:2,stori:2,danc:0,decimet:2,rariti: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,affects_target:2,item_flag_id:2,seed:[0,2],have:[0,2,3],tabl:[0,1,2,4],need:[0,2,3],location_area_encounter_r:2,"null":2,location_id:2,well:[2,3],moveflagmap:[2,4],inflict:2,species_id:2,date:2,relationship:[0,2],zero:0,conquest_move_rang:2,item_fling_effect_pros: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,taught: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:[],conquestmoveeffect:[2,4],most:[0,2,3],plai:2,pokemon_mov:2,conquestpokemon:[2,4],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,conquestwarriorrank:[2,4],gather:2,request:0,conquest_mov:2,doe:[2,3],increased_stat_id:2,bracket:2,conquest_episode_nam:2,exp:2,databas:[0,1,2,3,4],movemeta:[2,4],link:2,effect:2,unchang:2,diglett:0,moveflag:[2,4],fact:2,gain:2,deoxi:2,charmeleon:0,text:[2,4],affix:2,bin:3,brief:0,type_efficaci:2,area:2,locationarea:[2,4],session:[0,3],move_battle_styl:2,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],menu:2,configur:3,releas:2,state:2,ball:[0,2],short_effect_map:2,like:[0,1,2,3],liking_natur:2,jam:2,combo:2,versiongrouppokemonmovemethod:[2,4],footnot:3,flinch:2,over:2,evolutiontrigg:[2,4],pokemonitem:[2,4],count:2,hit:2,unus:2,get:[0,1,2,3],location_nam:2,gender_r:2,target_id:2,stathint:[2,4],bear:2,foremost:0,pocket:2,beam:0,session_arg:0,cannot:2,conquest_move_effect_pros:2,ability_changelog_pros:2,is_bas:2,conqueststat:[2,4],conquest_warrior_rank_stat_map:2,present_warrior:2,requir:2,max_link: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,appears_underground:2,conquestwarriorskil:[2,4],current_episode_id:2,maxmum:2,gender_id:2,twice:2,move_flag:2,stuff:[2,4],common:[0,2],hates_flavor:2,contain:[0,2,3],conquest_warrior_nam:2,pokemon_speci:2,bought:2,where:2,natural_gift_type_id:2,summari:2,pokemon_color:2,set:[2,3],modulo:2,postgresql:3,encounter_method_id:2,move_target:2,knowledg:3,baby_trigger_item:2,pokemonmov:[2,4],damage_factor:2,see:[0,2,3],fling_effect_id:2,venusaur:0,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,xernea:0,expert:3,pokemon_id:2,sorta:2,super_contest_combo_prev:2,default_form:2,contest_typ:2,enough:[2,3],score:2,game_index:2,move_changelog:2,between:2,"import":0,experi:[2,4],across:2,child_speci:2,tent:2,altern:2,warrior:2,naturebattlestyleprefer:[2,4],johto:2,parent:2,numer:2,attempt:0,condit:[0,2],pokemoncolor:[2,4],conquestmovedisplac:[2,4],lazi:[],succeed:3,nobunaga:2,pocket_id:2,meta_ailment_id:2,water:0,pokeathlon_stat:2,move_nam:2,pokemon_form_pokeathlon_stat:2,area_id:2,extens:2,pertain:2,battle_styl:2,pokedex_index_dir:3,foreign:2,etc:2,tutori:0,pokemon_species_flavor_summari:2,itemflingeffect:[2,4],pokemon:[0,2,4],mani:[2,3],dimorph:2,seri:2,com:3,load:[0,1,3],among:2,pokeathlon_stat_nam:2,markdown:[2,3],simpli:2,effect_map:2,point:2,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,is_hidden:2,bridg:2,all_abl:2,damag:2,conquest_move_displacement_pros:2,quit:0,baby_trigger_item_id:2,itemflagmap:[2,4],conquestwarriorstat:[2,4],movechangelog:[2,4],encounter_condition_pros:2,three:3,been:2,tutor:2,keldeo:[],trigger:2,growth:2,contestcombo:[2,4],interest:3,basic:0,movemetastatchang:[2,4],quickli:2,pokedex_id:2,hoenn:2,ivysaur:0,sprite:2,pip:3,both:2,encountercondit:[2,4],better_damage_class:2,great:0,gen:2,argument:0,type_game_indic:2,target_efficaci:2,togeth:2,super_contest_combo_next:2,berry_firm:2,high_hp_prefer: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,packag:[0,3],pokemon_habitat:2,conquest_warrior_skill_nam:2,straight:2,properti:2,can:[0,2,3],conquest_evolut:2,is_main_seri:2,defin:[0,2],"while":2,match:[0,2],behavior:2,wild:2,exist:[2,3],clarifi:2,iso3166:2,loos:2,contest_combo:2,kingdom:2,location_game_indic:2,translation_class:2,pokemon_count:2,almost:2,soil:2,max_hit:2,required_for_evolut:2,rip:2,equal:2,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,member:2,pokemon_species_id:2,warrior_gender_id:2,underground:2,gift:2,document:[0,1,3],pal:2,higher:2,sell:2,pokeathlonstat:[2,4],pokedex_pros:2,battle_style_prefer:2,max_level:2,short_effect:2,stat_nam:2,upon:2,engine_arg:0,rain:2,needs_overworld_rain:2,move_flavor_text:2,rais:[0,2],user:[2,3],has_gender_differ:2,countri:2,engin:[0,3],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],least:2,machineri:2,contesteffect:[2,4],natural_gift_pow:2,"pok\u00e9mon":[0,2,3,4],entri:2,thu:2,meaning:2,hidden_:2,kept:2,effect_id:2,non:2,flinch_chanc:2,location_area_id:2,exampl:[0,2],command:3,contesttyp:[2,4],flame:2,"pok\u00e9block":2,forms_switch:2,abilitychangelog:[2,4],completed_episode_id:2,warlord:2,mic:[2,4],female_warlord_count:2,meet:2,zweilou:[],encounter_slot:2,identifi:[0,2],munber:[],just:[0,2],descrption:2,"true":2,conquesttransformationwarrior:[2,4],encounter_condition_id:2,distant_warrior_id:2,activ:3,shape:2,move_effect_pros:2,pokemondexnumb:[2,4],part:2,pokemon_game_indic:2,skill:2,speed:2,yet:3,languag:[0,2,3,4],super_contest_effect:2,characterist:2,except:[0,2],hint:2,nullabl:2,percent:2,had:2,encounter_condition_value_id:2,add:2,held_item_id:2,move_damage_class:2,itemflag:[2,4],reason:3,"pok\u00e9athlon":2,pokemon_move_method_id:2,conquest_data:2,tast:2,smart:2,collection_type_id:2,ami: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],ditto:2,specif:2,clone:3,capture_r:2,changelog:[2,4],conquest_stat_id:2,integ:2,lose:2,collect:2,transform:2,pokedexversiongroup:[2,4],either:[2,3],night:2,evolutionchain:[2,4],anti:3,specifii:2,known_move_typ:2,soft:2,page:1,two:[2,3],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],smoothli:3,transformation_id:2,range_id:2,successfulli:2,ransei:2,ailment_ch:2,librari:[0,1,3],bulbasaur:0,gene_mod_5:2,base_happi:2,charmand:0,distant_warrior:2,pokemonegggroup:[2,4],assum:3,though:2,language_id:2,per:2,conquestmoverang:[2,4],when:2,minimum_link:2,leav:3,contact:2,encounterslot:[2,4],item_categori:2,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],post:2,reach:2,"enum":[2,4],item_category_pros:2,els: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,mega:2,min_level:2,actual:[0,2],column:2,holdabl:2,minimum_affect:2,pokemon_typ:2,unfortun:3,distinct:2,stat_chanc:2,egg_group:2,encounter_condit:2,move_damage_class_pros:2,potion:0,produc:2,required_link:2,berri:[2,4],hidden_pokemon:2,encounter_method:2,own:[2,3],form_ord:2,primarili:2,conquest_transformation_warrior:2,likes_flavor:2,automat:2,latter:2,down:2,conquest_warrior_stat:2,increased_stat:2,empti:[2,3],shape_id: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,growth_rate_pros:2,"long":2,happi:[2,3],stamina:2,start:0,adjac:2,version_group_region:2,franchis:2,pokemon_species_nam:2,conquest_max_link: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,encounterconditionvaluemap:[2,4],pokemonform:[2,4],evolution_chain_id:2,low_hp_prefer:2,thi:[0,2,3],sqlalchemi:[0,2,3],recoil:2,contest_type_nam:2,solar:0,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,access:2,shaymin:2,displai:2,unicod:2,pokedex_numb:2,growth_rate_id:2,record:2,below:2,meta:2,conquest_episod:2,doc:0,anotherenv:3,otherwis:2,problem:3,grass:[0,2],similar:2,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],repres:2,pokemongameindex:[2,4],chanc:2,warrior_stat:2,decreas:2,file:3,valu: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,know:[0,2,3],contest:[2,4],moveflavortext:[2,4],tenth:2,uri:0,growth_tim:2,is_mega:2,known_mov:2,encounter_method_pros: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,intend:0,determin:2,version_id:2,last:2,main_region:2,conquest_kingdom_nam:2,much:[2,3],stat_identifi:2,recruiting_ko_requir:2,natural_gift_typ:2,machine_numb:2,hatch_count:2,kinda:2,sql:0,leaf:0,damage_efficaci:2,trade_speci:2,conquest_warrior_rank:2,location_area_pros:2,outdat:3,femal: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,item_flag_pros:2,ignor:2,smooth:2,potenti:2,time:[2,3],fresh:0,meloetta:[]},objtypes:{"0":"py:module","1":"py:dex-table","2":"py:function","3":"py:attribute","4":"py:data","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","function","Python function"],"3":["py","attribute","Python attribute"],"4":["py","data","Python data"],"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 76bfe9e..0d29016 100644 --- a/usage.html +++ b/usage.html @@ -77,7 +77,7 @@ you’ll need to learn <a class="reference external" href="http://www.python arguments: it uses the database that <tt class="docutils literal"><span class="pre">pokedex</span> <span class="pre">load</span></tt> fills up by default. If you need to select another database, give its URI as the first argument.</p> <p>The object <a class="reference internal" href="#pokedex.db.connect" title="pokedex.db.connect"><tt class="xref py py-func docutils literal"><span class="pre">connect()</span></tt></a> gives you is actually a -<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/session.html#sqlalchemy.orm.session.Session" title="(in SQLAlchemy v0.7)"><tt class="xref py py-class docutils literal"><span class="pre">SQLAlchemy</span> <span class="pre">session</span></tt></a>, giving you the +<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/session.html#sqlalchemy.orm.session.Session" title="(in SQLAlchemy v0.9)"><tt class="xref py py-class docutils literal"><span class="pre">SQLAlchemy</span> <span class="pre">session</span></tt></a>, giving you the full power of SQLAlchemy for working with the data. We’ll cover some basics here, but if you intend to do some serious work, do read SQLAlchemy’s docs.</p> </div> @@ -125,8 +125,8 @@ Fresh Water: $200 <div class="section" id="querying"> <h2>Querying<a class="headerlink" href="#querying" title="Permalink to this headline">¶</a></h2> <p>So, how do you get data from the session? You use the session’s -<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/session.html#sqlalchemy.orm.session.Session.query" title="(in SQLAlchemy v0.7)"><tt class="xref py py-meth docutils literal"><span class="pre">query()</span></tt></a> method, and give it a pokédex -Table as an argument. This will give you a <a class="reference external" href="http://www.sqlalchemy.org/docs/orm/query.html#sqlalchemy.orm.query.Query" title="(in SQLAlchemy v0.7)"><tt class="xref py py-class docutils literal"><span class="pre">SQLAlchemy</span> <span class="pre">query</span></tt></a>.</p> +<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/session.html#sqlalchemy.orm.session.Session.query" title="(in SQLAlchemy v0.9)"><tt class="xref py py-meth docutils literal"><span class="pre">query()</span></tt></a> method, and give it a pokédex +Table as an argument. This will give you a <a class="reference external" href="http://www.sqlalchemy.org/docs/orm/query.html#sqlalchemy.orm.query.Query" title="(in SQLAlchemy v0.9)"><tt class="xref py py-class docutils literal"><span class="pre">SQLAlchemy</span> <span class="pre">query</span></tt></a>.</p> <div class="section" id="ordering"> <h3>Ordering<a class="headerlink" href="#ordering" title="Permalink to this headline">¶</a></h3> <p>As always with SQL, you should not rely on query results being in some @@ -144,9 +144,9 @@ Venusaur Charmander Charmeleon ... -Keldeo -Meloetta -Genesect +Xerneas +Yveltal +Zygarde </pre></div> </div> <p>Or to order by <tt class="xref py py-attr docutils literal"><span class="pre">name</span></tt>:</p> @@ -156,15 +156,15 @@ Genesect </div> <div class="highlight-none"><div class="highlight"><pre>Abomasnow ... -Zweilous +Zygarde </pre></div> </div> </div> <div class="section" id="filtering"> <h3>Filtering<a class="headerlink" href="#filtering" title="Permalink to this headline">¶</a></h3> <p>Another major operation on queries is filtering, using the query’s -<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/query.html#sqlalchemy.orm.query.Query.filter" title="(in SQLAlchemy v0.7)"><tt class="xref py py-meth docutils literal"><span class="pre">filter()</span></tt></a> or -<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/query.html#sqlalchemy.orm.query.Query.filter_by" title="(in SQLAlchemy v0.7)"><tt class="xref py py-meth docutils literal"><span class="pre">filter_by()</span></tt></a> methods:</p> +<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/query.html#sqlalchemy.orm.query.Query.filter" title="(in SQLAlchemy v0.9)"><tt class="xref py py-meth docutils literal"><span class="pre">filter()</span></tt></a> or +<a class="reference external" href="http://www.sqlalchemy.org/docs/orm/query.html#sqlalchemy.orm.query.Query.filter_by" title="(in SQLAlchemy v0.9)"><tt class="xref py py-meth docutils literal"><span class="pre">filter_by()</span></tt></a> methods:</p> <div class="highlight-python"><div class="highlight"><pre><span class="k">for</span> <span class="n">move</span> <span class="ow">in</span> <span class="n">session</span><span class="o">.</span><span class="n">query</span><span class="p">(</span><span class="n">tables</span><span class="o">.</span><span class="n">Move</span><span class="p">)</span><span class="o">.</span><span class="n">filter</span><span class="p">(</span><span class="n">tables</span><span class="o">.</span><span class="n">Move</span><span class="o">.</span><span class="n">power</span> <span class="o">></span> <span class="mi">200</span><span class="p">):</span> <span class="k">print</span> <span class="n">move</span><span class="o">.</span><span class="n">name</span> </pre></div> @@ -176,7 +176,7 @@ Zweilous <div class="section" id="joining"> <h3>Joining<a class="headerlink" href="#joining" title="Permalink to this headline">¶</a></h3> <p>The final operation we’ll cover here is joining other tables to the query, -using the query’s <a class="reference external" href="http://www.sqlalchemy.org/docs/orm/query.html#sqlalchemy.orm.query.Query.join" title="(in SQLAlchemy v0.7)"><tt class="xref py py-meth docutils literal"><span class="pre">join()</span></tt></a>. +using the query’s <a class="reference external" href="http://www.sqlalchemy.org/docs/orm/query.html#sqlalchemy.orm.query.Query.join" title="(in SQLAlchemy v0.9)"><tt class="xref py py-meth docutils literal"><span class="pre">join()</span></tt></a>. You will usually want to join on a relationship, such as in the following example:</p> <div class="highlight-python"><div class="highlight"><pre><span class="n">query</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">query</span><span class="p">(</span><span class="n">tables</span><span class="o">.</span><span class="n">Move</span><span class="p">)</span> @@ -195,9 +195,9 @@ example:</p> Petal Dance (120) Power Whip (120) Seed Flare (120) -SolarBeam (120) +Solar Beam (120) Wood Hammer (120) -Leaf Storm (140) +Leaf Storm (130) Frenzy Plant (150) </pre></div> </div> @@ -214,7 +214,7 @@ If you need to do more, consult the <a class="reference external" href="http://w <p>With the URI omitted, attempts to connect to a default SQLite database contained within the package directory.</p> <p>Calling this function also binds the metadata object to the created engine.</p> -<p>See <a class="reference external" href="http://www.sqlalchemy.org/docs/orm/session.html#sqlalchemy.orm.session.Session" title="(in SQLAlchemy v0.7)"><tt class="xref py py-class docutils literal"><span class="pre">sqlalchemy.orm.session.Session</span></tt></a> for more documentation on the +<p>See <a class="reference external" href="http://www.sqlalchemy.org/docs/orm/session.html#sqlalchemy.orm.session.Session" title="(in SQLAlchemy v0.9)"><tt class="xref py py-class docutils literal"><span class="pre">sqlalchemy.orm.session.Session</span></tt></a> for more documentation on the returned object.</p> </dd></dl>