mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
3735 lines
No EOL
262 KiB
HTML
3735 lines
No EOL
262 KiB
HTML
|
||
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
||
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
||
<title>The pokédex tables — pokedex 0.1 documentation</title>
|
||
|
||
<link rel="stylesheet" href="_static/default.css" type="text/css" />
|
||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||
|
||
<script type="text/javascript">
|
||
var DOCUMENTATION_OPTIONS = {
|
||
URL_ROOT: '',
|
||
VERSION: '0.1',
|
||
COLLAPSE_INDEX: false,
|
||
FILE_SUFFIX: '.html',
|
||
HAS_SOURCE: true
|
||
};
|
||
</script>
|
||
<script type="text/javascript" src="_static/jquery.js"></script>
|
||
<script type="text/javascript" src="_static/underscore.js"></script>
|
||
<script type="text/javascript" src="_static/doctools.js"></script>
|
||
<link rel="top" title="pokedex 0.1 documentation" href="index.html" />
|
||
<link rel="up" title="The database schema" href="schema.html" />
|
||
<link rel="prev" title="The database schema" href="schema.html" />
|
||
</head>
|
||
<body>
|
||
<div class="related">
|
||
<h3>Navigation</h3>
|
||
<ul>
|
||
<li class="right" style="margin-right: 10px">
|
||
<a href="genindex.html" title="General Index"
|
||
accesskey="I">index</a></li>
|
||
<li class="right" >
|
||
<a href="py-modindex.html" title="Python Module Index"
|
||
>modules</a> |</li>
|
||
<li class="right" >
|
||
<a href="schema.html" title="The database schema"
|
||
accesskey="P">previous</a> |</li>
|
||
<li><a href="index.html">pokedex 0.1 documentation</a> »</li>
|
||
<li><a href="schema.html" accesskey="U">The database schema</a> »</li>
|
||
</ul>
|
||
</div>
|
||
|
||
<div class="document">
|
||
<div class="documentwrapper">
|
||
<div class="bodywrapper">
|
||
<div class="body">
|
||
|
||
<div class="section" id="module-pokedex.db.tables">
|
||
<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#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">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">mapped_classes</tt><a class="headerlink" href="#pokedex.db.tables.mapped_classes" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A list of all the classes you see below.</p>
|
||
</dd></dl>
|
||
|
||
<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/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>
|
||
|
||
<p>Each of the classes has a <tt class="docutils literal"><span class="pre">translation_classes</span></tt> attribute: a potentially
|
||
empty list of translation classes. See <tt class="xref py py-mod docutils literal"><span class="pre">pokedex.db.multilang</span></tt> for how
|
||
these work.</p>
|
||
<p>Many tables have these columns:</p>
|
||
<ul class="simple">
|
||
<li><strong>id</strong>: An integer primary key. Sometimes it’s semantically meaningful, most
|
||
often it isn’t.</li>
|
||
<li><strong>identifier</strong>: A string identifier of the class, and the preferred way to
|
||
access individual items.</li>
|
||
<li><strong>name</strong>: A name (uses the multilang functionality)</li>
|
||
</ul>
|
||
<div class="section" id="pokemon">
|
||
<h2>Pokémon<a class="headerlink" href="#pokemon" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-pokemonspecies">
|
||
<h3>PokemonSpecies<a class="headerlink" href="#dex-table-pokemonspecies" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonSpecies">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonSpecies</tt><a class="headerlink" href="#pokedex.db.tables.PokemonSpecies" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Pokémon species: the standard 1–151. Or 649. Whatever.</p>
|
||
<p>Table name: <em>pokemon_species</em>
|
||
(single: <em>pokemon_species</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>pokemon_species_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonSpecies.<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>ID of the generation this species first appeared in</div></blockquote>
|
||
<p>PokemonSpecies.<strong>evolves_from_species_id</strong> (→ <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 species from which this one evolves</div></blockquote>
|
||
<p>PokemonSpecies.<strong>evolution_chain</strong> (evolution_chain_id → <a class="reference internal" href="#pokedex.db.tables.EvolutionChain" title="pokedex.db.tables.EvolutionChain"><tt class="xref py py-class docutils literal"><span class="pre">EvolutionChain</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the species’ evolution chain (a.k.a. family)</div></blockquote>
|
||
<p>PokemonSpecies.<strong>color</strong> (color_id → <a class="reference internal" href="#pokedex.db.tables.PokemonColor" title="pokedex.db.tables.PokemonColor"><tt class="xref py py-class docutils literal"><span class="pre">PokemonColor</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of this Pokémon’s Pokédex color, as used for a gimmick search function in the games.</div></blockquote>
|
||
<p>PokemonSpecies.<strong>shape</strong> (shape_id → <a class="reference internal" href="#pokedex.db.tables.PokemonShape" title="pokedex.db.tables.PokemonShape"><tt class="xref py py-class docutils literal"><span class="pre">PokemonShape</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of this Pokémon’s body shape, as used for a gimmick search function in the games.</div></blockquote>
|
||
<p>PokemonSpecies.<strong>habitat</strong> (habitat_id → <a class="reference internal" href="#pokedex.db.tables.PokemonHabitat" title="pokedex.db.tables.PokemonHabitat"><tt class="xref py py-class docutils literal"><span class="pre">PokemonHabitat</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of this Pokémon’s habitat, as used for a gimmick search function in the games.</div></blockquote>
|
||
<p>PokemonSpecies.<strong>gender_rate</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The chance of this Pokémon being female, in eighths; or -1 for genderless</div></blockquote>
|
||
<p>PokemonSpecies.<strong>capture_rate</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The base capture rate; up to 255</div></blockquote>
|
||
<p>PokemonSpecies.<strong>base_happiness</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The tameness when caught by a normal ball</div></blockquote>
|
||
<p>PokemonSpecies.<strong>is_baby</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>True iff the Pokémon is a baby, i.e. a lowest-stage Pokémon that cannot breed but whose evolved form can.</div></blockquote>
|
||
<p>PokemonSpecies.<strong>hatch_counter</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Initial hatch counter: one must walk 255 × (hatch_counter + 1) steps before this Pokémon’s egg hatches, unless utilizing bonuses like Flame Body’s</div></blockquote>
|
||
<p>PokemonSpecies.<strong>has_gender_differences</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>Set iff the species exhibits enough sexual dimorphism to have separate sets of sprites in Gen IV and beyond.</div></blockquote>
|
||
<p>PokemonSpecies.<strong>growth_rate</strong> (growth_rate_id → <a class="reference internal" href="#pokedex.db.tables.GrowthRate" title="pokedex.db.tables.GrowthRate"><tt class="xref py py-class docutils literal"><span class="pre">GrowthRate</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the growth rate for this family</div></blockquote>
|
||
<p>PokemonSpecies.<strong>forms_switchable</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>True iff a particular individual of this species can switch beween its different forms.</div></blockquote>
|
||
<p>PokemonSpecies.<strong>order</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The order in which species should be sorted. Based on National Dex order, except families are grouped together and sorted by stage.</div></blockquote>
|
||
<p>PokemonSpecies.<strong>conquest_order</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The order in which species should be sorted for Pokémon Conquest-related tables. Matches gallery order.</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>PokemonSpecies.<strong>genus</strong> (<em>unicode – plaintext</em>) via <em>pokemon_species_names</em></p>
|
||
<blockquote>
|
||
<div>The short flavor text, such as “Seed” or “Lizard”; usually affixed with the word “Pokémon”</div></blockquote>
|
||
<p>PokemonSpecies.<strong>flavor_summary</strong> (<em>unicode – plaintext</em>) via <em>pokemon_species_flavor_summaries</em></p>
|
||
<blockquote>
|
||
<div>Text containing facts from all flavor texts, for languages without official game translations</div></blockquote>
|
||
<p>PokemonSpecies.<strong>form_description</strong> (<em>unicode – markdown</em>) via <em>pokemon_species_prose</em></p>
|
||
<blockquote>
|
||
<div>Description of how the forms work</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>PokemonSpecies.<strong>child_species</strong>
|
||
(→ [<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>])</p>
|
||
<blockquote>
|
||
<div>The species to which this one evolves</div></blockquote>
|
||
<p>PokemonSpecies.<strong>conquest_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>
|
||
<blockquote>
|
||
<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">conquest_pokemon_abilities.slot</span></tt></p>
|
||
</div></blockquote>
|
||
<p>PokemonSpecies.<strong>conquest_evolution</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestPokemonEvolution" title="pokedex.db.tables.ConquestPokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">ConquestPokemonEvolution</span></tt></a>)</p>
|
||
<p>PokemonSpecies.<strong>conquest_max_links</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestMaxLink" title="pokedex.db.tables.ConquestMaxLink"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMaxLink</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">conquest_max_links.warrior_rank_id</span></tt></div></blockquote>
|
||
<p>PokemonSpecies.<strong>conquest_move</strong>
|
||
(→ <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>)</p>
|
||
<blockquote>
|
||
<div>Association table: <tt class="docutils literal"><span class="pre">conquest_pokemon_moves</span></tt></div></blockquote>
|
||
<p>PokemonSpecies.<strong>conquest_stats</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestPokemonStat" title="pokedex.db.tables.ConquestPokemonStat"><tt class="xref py py-class docutils literal"><span class="pre">ConquestPokemonStat</span></tt></a>])</p>
|
||
<p>PokemonSpecies.<strong>default_form</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><p>A representative form of this species</p>
|
||
<p>Association table: <tt class="docutils literal"><span class="pre">pokemon</span></tt></p>
|
||
</div></blockquote>
|
||
<p>PokemonSpecies.<strong>default_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>
|
||
<p>PokemonSpecies.<strong>dex_numbers</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonDexNumber" title="pokedex.db.tables.PokemonDexNumber"><tt class="xref py py-class docutils literal"><span class="pre">PokemonDexNumber</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_dex_numbers.pokedex_id</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
<p>PokemonSpecies.<strong>egg_groups</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.EggGroup" title="pokedex.db.tables.EggGroup"><tt class="xref py py-class docutils literal"><span class="pre">EggGroup</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div><p>Association table: <tt class="docutils literal"><span class="pre">pokemon_egg_groups</span></tt></p>
|
||
<p>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_egg_groups.egg_group_id</span> <span class="pre">ASC</span></tt></p>
|
||
</div></blockquote>
|
||
<p>PokemonSpecies.<strong>evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonEvolution" title="pokedex.db.tables.PokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">PokemonEvolution</span></tt></a>])</p>
|
||
<p>PokemonSpecies.<strong>flavor_text</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonSpeciesFlavorText" title="pokedex.db.tables.PokemonSpeciesFlavorText"><tt class="xref py py-class docutils literal"><span class="pre">PokemonSpeciesFlavorText</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_species_flavor_text.version_id</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
<p>PokemonSpecies.<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><p>Association table: <tt class="docutils literal"><span class="pre">pokemon</span></tt></p>
|
||
<p>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></p>
|
||
</div></blockquote>
|
||
<p>PokemonSpecies.<strong>pal_park</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.PalPark" title="pokedex.db.tables.PalPark"><tt class="xref py py-class docutils literal"><span class="pre">PalPark</span></tt></a>)</p>
|
||
<p>PokemonSpecies.<strong>parent_species</strong>
|
||
(→ <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>)</p>
|
||
<blockquote>
|
||
<div>The species from which this one evolves</div></blockquote>
|
||
<p>PokemonSpecies.<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>
|
||
<p>PokemonSpecies.<strong>triggered_evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonEvolution" title="pokedex.db.tables.PokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">PokemonEvolution</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemon">
|
||
<h3>Pokemon<a class="headerlink" href="#dex-table-pokemon" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Pokemon">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Pokemon</tt><a class="headerlink" href="#pokedex.db.tables.Pokemon" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Pokémon. The core to this whole mess.</p>
|
||
<p>This table defines “Pokémon” the same way the games do: a form with
|
||
different types, moves, or other game-changing properties counts as a
|
||
different Pokémon. For example, this table contains four rows for Deoxys,
|
||
but only one for Unown.</p>
|
||
<p>Table name: <em>pokemon</em>
|
||
(single: <em>pokemon</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<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>
|
||
<div>ID of the species this Pokémon belongs to</div></blockquote>
|
||
<p>Pokemon.<strong>height</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The height of the Pokémon, in decimeters (tenths of a meter)</div></blockquote>
|
||
<p>Pokemon.<strong>weight</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The weight of the Pokémon, in tenths of a kilogram (decigrams)</div></blockquote>
|
||
<p>Pokemon.<strong>base_experience</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The base EXP gained when defeating this Pokémon</div></blockquote>
|
||
<p>Pokemon.<strong>order</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Order for sorting. Almost national order, except families are grouped together.</div></blockquote>
|
||
<p>Pokemon.<strong>is_default</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>Set for exactly one pokemon used as the default for each species.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>Pokemon.<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>
|
||
<blockquote>
|
||
<div><p>Abilities the Pokémon can have in the wild</p>
|
||
<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_abilities.slot</span> <span class="pre">ASC</span></tt></p>
|
||
</div></blockquote>
|
||
<p>Pokemon.<strong>all_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>
|
||
<blockquote>
|
||
<div><p>All abilities the Pokémon can have, including the Hidden Ability</p>
|
||
<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_abilities.slot</span> <span class="pre">ASC</span></tt></p>
|
||
</div></blockquote>
|
||
<p>Pokemon.<strong>default_form</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>A representative form of this pokémon</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>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonStat" title="pokedex.db.tables.PokemonStat"><tt class="xref py py-class docutils literal"><span class="pre">PokemonStat</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_stats.stat_id</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
<p>Pokemon.<strong>types</strong>
|
||
(→ [<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>])</p>
|
||
<blockquote>
|
||
<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="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,
|
||
based on its attack stats.</p>
|
||
<p>If the attack stats are about equal (within 5), returns None. The
|
||
value None, not the damage class called ‘None’.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="attribute">
|
||
<dt id="pokedex.db.tables.Pokemon.name">
|
||
<tt class="descname">name</tt><a class="headerlink" href="#pokedex.db.tables.Pokemon.name" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Returns a name for this Pokémon, specifiying the form iff it
|
||
represents a specific PokemonForm.</p>
|
||
</dd></dl>
|
||
|
||
<dl class="method">
|
||
<dt id="pokedex.db.tables.Pokemon.stat">
|
||
<tt class="descname">stat</tt><big>(</big><em>stat_identifier</em><big>)</big><a class="headerlink" href="#pokedex.db.tables.Pokemon.stat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Returns a PokemonStat record for the given stat name (or Stat row
|
||
object). Uses the normal has-many machinery, so all the stats are
|
||
effectively cached.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonform">
|
||
<h3>PokemonForm<a class="headerlink" href="#dex-table-pokemonform" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonForm">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonForm</tt><a class="headerlink" href="#pokedex.db.tables.PokemonForm" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An individual form of a Pokémon. This includes <em>every</em> variant (except
|
||
color differences) of every Pokémon, regardless of how the games treat
|
||
them. Even Pokémon with no alternate forms have one row in this table, to
|
||
represent their lone “normal” form.</p>
|
||
<p>Table name: <em>pokemon_forms</em>
|
||
(single: <em>pokemon_form</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong> and <strong>identifier</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonForm.<strong>form_identifier</strong> (<em>unicode – identifier</em>):</p>
|
||
<blockquote>
|
||
<div>An identifier of the form, uniue among a species. May be None for the default form of the species.</div></blockquote>
|
||
<p>PokemonForm.<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>The ID of the base Pokémon for this form.</div></blockquote>
|
||
<p>PokemonForm.<strong>introduced_in_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 in which this form first appeared.</div></blockquote>
|
||
<p>PokemonForm.<strong>is_default</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>Set for exactly one form used as the default for each pokemon (not necessarily species).</div></blockquote>
|
||
<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>
|
||
<p>PokemonForm.<strong>order</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>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.</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>PokemonForm.<strong>form_name</strong> (<em>unicode – plaintext</em>) via <em>pokemon_form_names</em></p>
|
||
<blockquote>
|
||
<div>The full form name, e.g. ‘Sky Forme’, for pokémon with different forms</div></blockquote>
|
||
<p>PokemonForm.<strong>pokemon_name</strong> (<em>unicode – plaintext</em>) via <em>pokemon_form_names</em></p>
|
||
<blockquote>
|
||
<div>The full pokémon name, e.g. ‘Sky Shaymin’, for pokémon with different forms</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>PokemonForm.<strong>pokeathlon_stats</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonFormPokeathlonStat" title="pokedex.db.tables.PokemonFormPokeathlonStat"><tt class="xref py py-class docutils literal"><span class="pre">PokemonFormPokeathlonStat</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_form_pokeathlon_stats.pokeathlon_stat_id</span></tt></div></blockquote>
|
||
<p>PokemonForm.<strong>pokemon_form_generations</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonFormGeneration" title="pokedex.db.tables.PokemonFormGeneration"><tt class="xref py py-class docutils literal"><span class="pre">PokemonFormGeneration</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_form_generations.generation_id</span></tt></div></blockquote>
|
||
<p>PokemonForm.<strong>version_group</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>
|
||
<hr><p>Association Proxies:</p>
|
||
<p>PokemonForm.<strong>species</strong>:
|
||
<tt class="docutils literal"><span class="pre">species</span></tt> of <tt class="docutils literal"><span class="pre">self.pokemon</span></tt></p>
|
||
<hr><dl class="attribute">
|
||
<dt id="pokedex.db.tables.PokemonForm.name">
|
||
<tt class="descname">name</tt><a class="headerlink" href="#pokedex.db.tables.PokemonForm.name" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Name of this form: the form_name, if set; otherwise the species name</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-evolutionchain">
|
||
<h3>EvolutionChain<a class="headerlink" href="#dex-table-evolutionchain" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.EvolutionChain">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">EvolutionChain</tt><a class="headerlink" href="#pokedex.db.tables.EvolutionChain" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A family of Pokémon that are linked by evolution</p>
|
||
<p>Table name: <em>evolution_chains</em></p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>EvolutionChain.<strong>baby_trigger_item</strong> (baby_trigger_item_id → <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>Item that a parent must hold while breeding to produce a baby</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>EvolutionChain.<strong>species</strong>
|
||
(→ [<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>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_species.id</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonevolution">
|
||
<h3>PokemonEvolution<a class="headerlink" href="#dex-table-pokemonevolution" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonEvolution">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonEvolution</tt><a class="headerlink" href="#pokedex.db.tables.PokemonEvolution" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A required action (“trigger”) and the conditions under which the trigger
|
||
must occur to cause a Pokémon to evolve.</p>
|
||
<p>Any condition may be null if it does not apply for a particular Pokémon.</p>
|
||
<p>Table name: <em>pokemon_evolution</em></p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonEvolution.<strong>evolved_species</strong> (evolved_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 post-evolution species.</div></blockquote>
|
||
<p>PokemonEvolution.<strong>evolution_trigger_id</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>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the evolution trigger.</div></blockquote>
|
||
<p>PokemonEvolution.<strong>trigger_item</strong> (trigger_item_id → <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the item that must be used on the Pokémon.</div></blockquote>
|
||
<p>PokemonEvolution.<strong>minimum_level</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The minimum level for the Pokémon.</div></blockquote>
|
||
<p>PokemonEvolution.<strong>gender</strong> (gender_id → <a class="reference internal" href="#pokedex.db.tables.Gender" title="pokedex.db.tables.Gender"><tt class="xref py py-class docutils literal"><span class="pre">Gender</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the Pokémon’s required gender, or None if gender doesn’t matter</div></blockquote>
|
||
<p>PokemonEvolution.<strong>location</strong> (location_id → <a class="reference internal" href="#pokedex.db.tables.Location" title="pokedex.db.tables.Location"><tt class="xref py py-class docutils literal"><span class="pre">Location</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the location the evolution must be triggered at.</div></blockquote>
|
||
<p>PokemonEvolution.<strong>held_item</strong> (held_item_id → <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the item the Pokémon must hold.</div></blockquote>
|
||
<p>PokemonEvolution.<strong>time_of_day</strong> (<em>enum: [day, night]</em>):</p>
|
||
<blockquote>
|
||
<div>The required time of day.</div></blockquote>
|
||
<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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="moves">
|
||
<h2>Moves<a class="headerlink" href="#moves" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-move">
|
||
<h3>Move<a class="headerlink" href="#dex-table-move" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Move">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Move</tt><a class="headerlink" href="#pokedex.db.tables.Move" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Move: technique or attack a Pokémon can learn to use</p>
|
||
<p>Table name: <em>moves</em>
|
||
(single: <em>move</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>move_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Move.<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>ID of the generation this move first appeared in</div></blockquote>
|
||
<p>Move.<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>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, 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>
|
||
<p>Move.<strong>accuracy</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Accuracy of the move; NULL means it never misses</div></blockquote>
|
||
<p>Move.<strong>priority</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The move’s priority bracket</div></blockquote>
|
||
<p>Move.<strong>target</strong> (target_id → <a class="reference internal" href="#pokedex.db.tables.MoveTarget" title="pokedex.db.tables.MoveTarget"><tt class="xref py py-class docutils literal"><span class="pre">MoveTarget</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the target (range) of the move</div></blockquote>
|
||
<p>Move.<strong>damage_class</strong> (damage_class_id → <a class="reference internal" href="#pokedex.db.tables.MoveDamageClass" title="pokedex.db.tables.MoveDamageClass"><tt class="xref py py-class docutils literal"><span class="pre">MoveDamageClass</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the damage class (physical/special) of the move</div></blockquote>
|
||
<p>Move.<strong>effect</strong> (effect_id → <a class="reference internal" href="#pokedex.db.tables.MoveEffect" title="pokedex.db.tables.MoveEffect"><tt class="xref py py-class docutils literal"><span class="pre">MoveEffect</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the move’s effect</div></blockquote>
|
||
<p>Move.<strong>effect_chance</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The chance for a secondary effect. What this is a chance of is specified by the move’s effect.</div></blockquote>
|
||
<p>Move.<strong>contest_type</strong> (contest_type_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 move’s Contest type (e.g. cool or smart)</div></blockquote>
|
||
<p>Move.<strong>contest_effect</strong> (contest_effect_id → <a class="reference internal" href="#pokedex.db.tables.ContestEffect" title="pokedex.db.tables.ContestEffect"><tt class="xref py py-class docutils literal"><span class="pre">ContestEffect</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the move’s Contest effect</div></blockquote>
|
||
<p>Move.<strong>super_contest_effect</strong> (super_contest_effect_id → <a class="reference internal" href="#pokedex.db.tables.SuperContestEffect" title="pokedex.db.tables.SuperContestEffect"><tt class="xref py py-class docutils literal"><span class="pre">SuperContestEffect</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the move’s Super Contest effect</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>Move.<strong>flavor_summary</strong> (<em>unicode – plaintext</em>) via <em>move_flavor_summaries</em></p>
|
||
<blockquote>
|
||
<div>Text containing facts from all flavor texts, for languages without official game translations</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>Move.<strong>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>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">move_changelog.changed_in_version_group_id</span> <span class="pre">DESC</span></tt></div></blockquote>
|
||
<p>Move.<strong>conquest_data</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestMoveData" title="pokedex.db.tables.ConquestMoveData"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMoveData</span></tt></a>)</p>
|
||
<p>Move.<strong>conquest_pokemon</strong>
|
||
(→ [<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>])</p>
|
||
<blockquote>
|
||
<div><p>Association table: <tt class="docutils literal"><span class="pre">conquest_pokemon_moves</span></tt></p>
|
||
<p>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_species.conquest_order</span></tt></p>
|
||
</div></blockquote>
|
||
<p>Move.<strong>contest_combo_first</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ContestCombo" title="pokedex.db.tables.ContestCombo"><tt class="xref py py-class docutils literal"><span class="pre">ContestCombo</span></tt></a>])</p>
|
||
<p>Move.<strong>contest_combo_second</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ContestCombo" title="pokedex.db.tables.ContestCombo"><tt class="xref py py-class docutils literal"><span class="pre">ContestCombo</span></tt></a>])</p>
|
||
<p>Move.<strong>flavor_text</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.MoveFlavorText" title="pokedex.db.tables.MoveFlavorText"><tt class="xref py py-class docutils literal"><span class="pre">MoveFlavorText</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">move_flavor_text.version_group_id</span></tt></div></blockquote>
|
||
<p>Move.<strong>machines</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Machine" title="pokedex.db.tables.Machine"><tt class="xref py py-class docutils literal"><span class="pre">Machine</span></tt></a>])</p>
|
||
<p>Move.<strong>meta</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.MoveMeta" title="pokedex.db.tables.MoveMeta"><tt class="xref py py-class docutils literal"><span class="pre">MoveMeta</span></tt></a>)</p>
|
||
<p>Move.<strong>meta_stat_changes</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.MoveMetaStatChange" title="pokedex.db.tables.MoveMetaStatChange"><tt class="xref py py-class docutils literal"><span class="pre">MoveMetaStatChange</span></tt></a>])</p>
|
||
<p>Move.<strong>move_effect</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.MoveEffect" title="pokedex.db.tables.MoveEffect"><tt class="xref py py-class docutils literal"><span class="pre">MoveEffect</span></tt></a>)</p>
|
||
<p>Move.<strong>move_flags</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.MoveFlagMap" title="pokedex.db.tables.MoveFlagMap"><tt class="xref py py-class docutils literal"><span class="pre">MoveFlagMap</span></tt></a>])</p>
|
||
<p>Move.<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>Move.<strong>super_contest_combo_first</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.SuperContestCombo" title="pokedex.db.tables.SuperContestCombo"><tt class="xref py py-class docutils literal"><span class="pre">SuperContestCombo</span></tt></a>])</p>
|
||
<p>Move.<strong>super_contest_combo_second</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.SuperContestCombo" title="pokedex.db.tables.SuperContestCombo"><tt class="xref py py-class docutils literal"><span class="pre">SuperContestCombo</span></tt></a>])</p>
|
||
<p>Move.<strong>triggered_evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonEvolution" title="pokedex.db.tables.PokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">PokemonEvolution</span></tt></a>])</p>
|
||
<hr><p>Association Proxies:</p>
|
||
<p>Move.<strong>contest_combo_next</strong>:
|
||
<tt class="docutils literal"><span class="pre">second</span></tt> of <tt class="docutils literal"><span class="pre">self.contest_combo_first</span></tt></p>
|
||
<p>Move.<strong>contest_combo_prev</strong>:
|
||
<tt class="docutils literal"><span class="pre">first</span></tt> of <tt class="docutils literal"><span class="pre">self.contest_combo_second</span></tt></p>
|
||
<p>Move.<strong>flags</strong>:
|
||
<tt class="docutils literal"><span class="pre">flag</span></tt> of <tt class="docutils literal"><span class="pre">self.move_flags</span></tt></p>
|
||
<p>Move.<strong>super_contest_combo_next</strong>:
|
||
<tt class="docutils literal"><span class="pre">second</span></tt> of <tt class="docutils literal"><span class="pre">self.super_contest_combo_first</span></tt></p>
|
||
<p>Move.<strong>super_contest_combo_prev</strong>:
|
||
<tt class="docutils literal"><span class="pre">first</span></tt> of <tt class="docutils literal"><span class="pre">self.super_contest_combo_second</span></tt></p>
|
||
<hr><p>Undocumented:</p>
|
||
<p>Move.<strong>effect_map</strong></p>
|
||
<p>Move.<strong>short_effect</strong></p>
|
||
<p>Move.<strong>short_effect_map</strong></p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-moveeffect">
|
||
<h3>MoveEffect<a class="headerlink" href="#dex-table-moveeffect" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveEffect">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveEffect</tt><a class="headerlink" href="#pokedex.db.tables.MoveEffect" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An effect of a move</p>
|
||
<p>Table name: <em>move_effects</em>
|
||
(single: <em>move_effect</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>MoveEffect.<strong>short_effect</strong> (<em>unicode – markdown</em>) via <em>move_effect_prose</em></p>
|
||
<blockquote>
|
||
<div>A short summary of the effect</div></blockquote>
|
||
<p>MoveEffect.<strong>effect</strong> (<em>unicode – markdown</em>) via <em>move_effect_prose</em></p>
|
||
<blockquote>
|
||
<div>A detailed description of the effect</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveEffect.<strong>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>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">move_effect_changelog.changed_in_version_group_id</span> <span class="pre">DESC</span></tt></div></blockquote>
|
||
<p>MoveEffect.<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>MoveEffect.<strong>moves</strong>
|
||
(→ [<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>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-movemeta">
|
||
<h3>MoveMeta<a class="headerlink" href="#dex-table-movemeta" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveMeta">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveMeta</tt><a class="headerlink" href="#pokedex.db.tables.MoveMeta" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Metadata for move effects, sorta-kinda ripped straight from the game</p>
|
||
<p>Table name: <em>move_meta</em></p>
|
||
<p>Primary key: <strong>move_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>MoveMeta.<strong>move</strong> (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>A numeric ID</div></blockquote>
|
||
<p>MoveMeta.<strong>meta_category_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.MoveMetaCategory" title="pokedex.db.tables.MoveMetaCategory"><tt class="xref py py-class docutils literal"><span class="pre">MoveMetaCategory</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>ID of the move category</div></blockquote>
|
||
<p>MoveMeta.<strong>meta_ailment_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.MoveMetaAilment" title="pokedex.db.tables.MoveMetaAilment"><tt class="xref py py-class docutils literal"><span class="pre">MoveMetaAilment</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>ID of the caused ailment</div></blockquote>
|
||
<p>MoveMeta.<strong>min_hits</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Minimum number of hits per use</div></blockquote>
|
||
<p>MoveMeta.<strong>max_hits</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Maximum number of hits per use</div></blockquote>
|
||
<p>MoveMeta.<strong>min_turns</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Minimum number of turns the user is forced to use the move</div></blockquote>
|
||
<p>MoveMeta.<strong>max_turns</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Maximum number of turns the user is forced to use the move</div></blockquote>
|
||
<p>MoveMeta.<strong>recoil</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Recoil damage, in percent of damage done</div></blockquote>
|
||
<p>MoveMeta.<strong>healing</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Healing, in percent of user’s max HP</div></blockquote>
|
||
<p>MoveMeta.<strong>crit_rate</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Critical hit rate bonus</div></blockquote>
|
||
<p>MoveMeta.<strong>ailment_chance</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Chance to cause an ailment, in percent</div></blockquote>
|
||
<p>MoveMeta.<strong>flinch_chance</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Chance to cause flinching, in percent</div></blockquote>
|
||
<p>MoveMeta.<strong>stat_chance</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Chance to cause a stat change, in percent</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveMeta.<strong>ailment</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.MoveMetaAilment" title="pokedex.db.tables.MoveMetaAilment"><tt class="xref py py-class docutils literal"><span class="pre">MoveMetaAilment</span></tt></a>)</p>
|
||
<p>MoveMeta.<strong>category</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.MoveMetaCategory" title="pokedex.db.tables.MoveMetaCategory"><tt class="xref py py-class docutils literal"><span class="pre">MoveMetaCategory</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="items">
|
||
<h2>Items<a class="headerlink" href="#items" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-item">
|
||
<h3>Item<a class="headerlink" href="#dex-table-item" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Item">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Item</tt><a class="headerlink" href="#pokedex.db.tables.Item" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An Item from the games, like “Poké Ball” or “Bicycle”.</p>
|
||
<p>Table name: <em>items</em>
|
||
(single: <em>item</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>item_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Item.<strong>category</strong> (category_id → <a class="reference internal" href="#pokedex.db.tables.ItemCategory" title="pokedex.db.tables.ItemCategory"><tt class="xref py py-class docutils literal"><span class="pre">ItemCategory</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of a category this item belongs to</div></blockquote>
|
||
<p>Item.<strong>cost</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Cost of the item when bought. Items sell for half this price.</div></blockquote>
|
||
<p>Item.<strong>fling_power</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Power of the move Fling when used with this item.</div></blockquote>
|
||
<p>Item.<strong>fling_effect</strong> (fling_effect_id → <a class="reference internal" href="#pokedex.db.tables.ItemFlingEffect" title="pokedex.db.tables.ItemFlingEffect"><tt class="xref py py-class docutils literal"><span class="pre">ItemFlingEffect</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the fling-effect of the move Fling when used with this item. Note that these are different from move effects.</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>Item.<strong>short_effect</strong> (<em>unicode – markdown</em>) via <em>item_prose</em></p>
|
||
<blockquote>
|
||
<div>A short summary of the effect</div></blockquote>
|
||
<p>Item.<strong>effect</strong> (<em>unicode – markdown</em>) via <em>item_prose</em></p>
|
||
<blockquote>
|
||
<div>Detailed description of the item’s effect.</div></blockquote>
|
||
<p>Item.<strong>flavor_summary</strong> (<em>unicode – plaintext</em>) via <em>item_flavor_summaries</em></p>
|
||
<blockquote>
|
||
<div>Text containing facts from all flavor texts, for languages without official game translations</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>Item.<strong>berry</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.Berry" title="pokedex.db.tables.Berry"><tt class="xref py py-class docutils literal"><span class="pre">Berry</span></tt></a>)</p>
|
||
<p>Item.<strong>conquest_evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestPokemonEvolution" title="pokedex.db.tables.ConquestPokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">ConquestPokemonEvolution</span></tt></a>])</p>
|
||
<p>Item.<strong>evolution_chains</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.EvolutionChain" title="pokedex.db.tables.EvolutionChain"><tt class="xref py py-class docutils literal"><span class="pre">EvolutionChain</span></tt></a>])</p>
|
||
<p>Item.<strong>flags</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ItemFlag" title="pokedex.db.tables.ItemFlag"><tt class="xref py py-class docutils literal"><span class="pre">ItemFlag</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Association table: <tt class="docutils literal"><span class="pre">item_flag_map</span></tt></div></blockquote>
|
||
<p>Item.<strong>flavor_text</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ItemFlavorText" title="pokedex.db.tables.ItemFlavorText"><tt class="xref py py-class docutils literal"><span class="pre">ItemFlavorText</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">item_flavor_text.version_group_id</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
<p>Item.<strong>game_indices</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ItemGameIndex" title="pokedex.db.tables.ItemGameIndex"><tt class="xref py py-class docutils literal"><span class="pre">ItemGameIndex</span></tt></a>])</p>
|
||
<p>Item.<strong>machines</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Machine" title="pokedex.db.tables.Machine"><tt class="xref py py-class docutils literal"><span class="pre">Machine</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">machines.version_group_id</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
<p>Item.<strong>pokemon</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>
|
||
<p>Item.<strong>required_for_evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonEvolution" title="pokedex.db.tables.PokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">PokemonEvolution</span></tt></a>])</p>
|
||
<p>Item.<strong>triggered_evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonEvolution" title="pokedex.db.tables.PokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">PokemonEvolution</span></tt></a>])</p>
|
||
<hr><p>Association Proxies:</p>
|
||
<p>Item.<strong>pocket</strong>:
|
||
<tt class="docutils literal"><span class="pre">pocket</span></tt> of <tt class="docutils literal"><span class="pre">self.category</span></tt></p>
|
||
<hr><dl class="attribute">
|
||
<dt id="pokedex.db.tables.Item.appears_underground">
|
||
<tt class="descname">appears_underground</tt><a class="headerlink" href="#pokedex.db.tables.Item.appears_underground" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>True if the item appears underground, as specified by the appropriate flag</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-berry">
|
||
<h3>Berry<a class="headerlink" href="#dex-table-berry" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Berry">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Berry</tt><a class="headerlink" href="#pokedex.db.tables.Berry" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Berry, consumable item that grows on trees</p>
|
||
<p>For data common to all items, such as the name, see the corresponding item entry.</p>
|
||
<p>Table name: <em>berries</em></p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Berry.<strong>item</strong> (item_id → <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the item that represents this Berry</div></blockquote>
|
||
<p>Berry.<strong>firmness</strong> (firmness_id → <a class="reference internal" href="#pokedex.db.tables.BerryFirmness" title="pokedex.db.tables.BerryFirmness"><tt class="xref py py-class docutils literal"><span class="pre">BerryFirmness</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of this Berry’s firmness category</div></blockquote>
|
||
<p>Berry.<strong>natural_gift_power</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Natural Gift’s power when used with this Berry</div></blockquote>
|
||
<p>Berry.<strong>natural_gift_type</strong> (natural_gift_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 that Natural Gift has when used with this Berry</div></blockquote>
|
||
<p>Berry.<strong>size</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The size of this Berry, in millimeters</div></blockquote>
|
||
<p>Berry.<strong>max_harvest</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The maximum number of these berries that can grow on one tree in Generation IV</div></blockquote>
|
||
<p>Berry.<strong>growth_time</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Time it takes the tree to grow one stage, in hours. Berry trees go through four of these growth stages before they can be picked.</div></blockquote>
|
||
<p>Berry.<strong>soil_dryness</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The speed at which this Berry dries out the soil as it grows. A higher rate means the soil dries more quickly.</div></blockquote>
|
||
<p>Berry.<strong>smoothness</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The smoothness of this Berry, used in making Pokéblocks or Poffins</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>Berry.<strong>berry_firmness</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.BerryFirmness" title="pokedex.db.tables.BerryFirmness"><tt class="xref py py-class docutils literal"><span class="pre">BerryFirmness</span></tt></a>)</p>
|
||
<p>Berry.<strong>flavors</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.BerryFlavor" title="pokedex.db.tables.BerryFlavor"><tt class="xref py py-class docutils literal"><span class="pre">BerryFlavor</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">berry_flavors.contest_type_id</span></tt></div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="types">
|
||
<h2>Types<a class="headerlink" href="#types" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-type">
|
||
<h3>Type<a class="headerlink" href="#dex-table-type" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Type">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Type</tt><a class="headerlink" href="#pokedex.db.tables.Type" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Any of the elemental types Pokémon and moves can have.</p>
|
||
<p>Table name: <em>types</em>
|
||
(single: <em>type</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>type_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Type.<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 type first appeared in.</div></blockquote>
|
||
<p>Type.<strong>damage_class</strong> (damage_class_id → <a class="reference internal" href="#pokedex.db.tables.MoveDamageClass" title="pokedex.db.tables.MoveDamageClass"><tt class="xref py py-class docutils literal"><span class="pre">MoveDamageClass</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the damage class this type’s moves had before Generation IV, null if not applicable (e.g. ???).</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>Type.<strong>conquest_kingdom</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestKingdom" title="pokedex.db.tables.ConquestKingdom"><tt class="xref py py-class docutils literal"><span class="pre">ConquestKingdom</span></tt></a>)</p>
|
||
<p>Type.<strong>conquest_warriors</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestWarrior" title="pokedex.db.tables.ConquestWarrior"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarrior</span></tt></a>])</p>
|
||
<blockquote>
|
||
<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>
|
||
(→ [<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>])</p>
|
||
<p>Type.<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>
|
||
<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.order</span></tt></p>
|
||
</div></blockquote>
|
||
<p>Type.<strong>target_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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="abilities">
|
||
<h2>Abilities<a class="headerlink" href="#abilities" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-ability">
|
||
<h3>Ability<a class="headerlink" href="#dex-table-ability" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Ability">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Ability</tt><a class="headerlink" href="#pokedex.db.tables.Ability" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An ability a Pokémon can have, such as Static or Pressure.</p>
|
||
<p>Table name: <em>abilities</em>
|
||
(single: <em>ability</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>ability_names</em>.</p>
|
||
<hr><p>Columns:</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>
|
||
<p>Ability.<strong>is_main_series</strong> (<em>bool</em>):</p>
|
||
<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>
|
||
<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> <span class="pre">ASC</span></tt></p>
|
||
</div></blockquote>
|
||
<p>Ability.<strong>changelog</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.AbilityChangelog" title="pokedex.db.tables.AbilityChangelog"><tt class="xref py py-class docutils literal"><span class="pre">AbilityChangelog</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">ability_changelog.changed_in_version_group_id</span> <span class="pre">DESC</span></tt></div></blockquote>
|
||
<p>Ability.<strong>conquest_pokemon</strong>
|
||
(→ [<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>])</p>
|
||
<blockquote>
|
||
<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>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>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> <span class="pre">ASC</span></tt></p>
|
||
</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="language">
|
||
<h2>Language<a class="headerlink" href="#language" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-language">
|
||
<h3>Language<a class="headerlink" href="#dex-table-language" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Language">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Language</tt><a class="headerlink" href="#pokedex.db.tables.Language" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A language the Pokémon games have been translated into</p>
|
||
<p>Table name: <em>languages</em>
|
||
(single: <em>language</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>language_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Language.<strong>iso639</strong> (<em>unicode – identifier</em>):</p>
|
||
<blockquote>
|
||
<div>The two-letter code of the country where this language is spoken. Note that it is not unique.</div></blockquote>
|
||
<p>Language.<strong>iso3166</strong> (<em>unicode – identifier</em>):</p>
|
||
<blockquote>
|
||
<div>The two-letter code of the language. Note that it is not unique.</div></blockquote>
|
||
<p>Language.<strong>official</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>True iff games are produced in the language.</div></blockquote>
|
||
<p>Language.<strong>order</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Order for sorting in foreign name lists.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="version-stuff">
|
||
<h2>Version stuff<a class="headerlink" href="#version-stuff" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-generation">
|
||
<h3>Generation<a class="headerlink" href="#dex-table-generation" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Generation">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Generation</tt><a class="headerlink" href="#pokedex.db.tables.Generation" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Generation of the Pokémon franchise</p>
|
||
<p>Table name: <em>generations</em>
|
||
(single: <em>generation</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>generation_names</em>.</p>
|
||
<hr><p>Columns:</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>
|
||
<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>
|
||
<p>Generation.<strong>moves</strong>
|
||
(→ [<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>])</p>
|
||
<p>Generation.<strong>pokemon_form_generations</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonFormGeneration" title="pokedex.db.tables.PokemonFormGeneration"><tt class="xref py py-class docutils literal"><span class="pre">PokemonFormGeneration</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_form_generations.game_index</span></tt></div></blockquote>
|
||
<p>Generation.<strong>species</strong>
|
||
(→ [<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>])</p>
|
||
<p>Generation.<strong>types</strong>
|
||
(→ [<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>])</p>
|
||
<p>Generation.<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></tt></div></blockquote>
|
||
<p>Generation.<strong>versions</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>])</p>
|
||
<blockquote>
|
||
<div>Association table: <tt class="docutils literal"><span class="pre">version_groups</span></tt></div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-versiongroup">
|
||
<h3>VersionGroup<a class="headerlink" href="#dex-table-versiongroup" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.VersionGroup">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">VersionGroup</tt><a class="headerlink" href="#pokedex.db.tables.VersionGroup" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A group of versions, containing either two paired versions (such as Red
|
||
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> 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>order</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Order for sorting. Almost by date of release, except similar versions are grouped together.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>VersionGroup.<strong>ability_changelog</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.AbilityChangelog" title="pokedex.db.tables.AbilityChangelog"><tt class="xref py py-class docutils literal"><span class="pre">AbilityChangelog</span></tt></a>])</p>
|
||
<p>VersionGroup.<strong>machines</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Machine" title="pokedex.db.tables.Machine"><tt class="xref py py-class docutils literal"><span class="pre">Machine</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">machines.machine_number</span></tt></div></blockquote>
|
||
<p>VersionGroup.<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>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>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.VersionGroupRegion" title="pokedex.db.tables.VersionGroupRegion"><tt class="xref py py-class docutils literal"><span class="pre">VersionGroupRegion</span></tt></a>])</p>
|
||
<p>VersionGroup.<strong>versions</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>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">versions.id</span></tt></div></blockquote>
|
||
<hr><p>Association Proxies:</p>
|
||
<p>VersionGroup.<strong>regions</strong>:
|
||
<tt class="docutils literal"><span class="pre">region</span></tt> of <tt class="docutils literal"><span class="pre">self.version_group_regions</span></tt></p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-version">
|
||
<h3>Version<a class="headerlink" href="#dex-table-version" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Version">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Version</tt><a class="headerlink" href="#pokedex.db.tables.Version" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An individual main-series Pokémon game.</p>
|
||
<p>Table name: <em>versions</em>
|
||
(single: <em>version</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>version_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Version.<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>The ID of the version group this game belongs to.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>Version.<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>
|
||
<hr><p>Association Proxies:</p>
|
||
<p>Version.<strong>generation</strong>:
|
||
<tt class="docutils literal"><span class="pre">generation</span></tt> of <tt class="docutils literal"><span class="pre">self.version_group</span></tt></p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokedex">
|
||
<h3>Pokedex<a class="headerlink" href="#dex-table-pokedex" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Pokedex">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Pokedex</tt><a class="headerlink" href="#pokedex.db.tables.Pokedex" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A collection of Pokémon species ordered in a particular way</p>
|
||
<p>Table name: <em>pokedexes</em>
|
||
(single: <em>pokedex</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>pokedex_prose</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Pokedex.<strong>region</strong> (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 Pokédex is used in, or None if it’s global</div></blockquote>
|
||
<p>Pokedex.<strong>is_main_series</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>True if this Pokédex appears in the main series.</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>Pokedex.<strong>description</strong> (<em>unicode – plaintext</em>) via <em>pokedex_prose</em></p>
|
||
<blockquote>
|
||
<div>A longer description of the Pokédex</div></blockquote>
|
||
<hr><p>Relationships:</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><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>
|
||
<div class="section" id="dex-table-region">
|
||
<h3>Region<a class="headerlink" href="#dex-table-region" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Region">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Region</tt><a class="headerlink" href="#pokedex.db.tables.Region" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Major areas of the world: Kanto, Johto, etc.</p>
|
||
<p>Table name: <em>regions</em>
|
||
(single: <em>region</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>region_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>Region.<strong>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>Region.<strong>locations</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Location" title="pokedex.db.tables.Location"><tt class="xref py py-class docutils literal"><span class="pre">Location</span></tt></a>])</p>
|
||
<p>Region.<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>
|
||
<p>Region.<strong>version_group_regions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.VersionGroupRegion" title="pokedex.db.tables.VersionGroupRegion"><tt class="xref py py-class docutils literal"><span class="pre">VersionGroupRegion</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">version_group_regions.version_group_id</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
<p>Region.<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><p>Association table: <tt class="docutils literal"><span class="pre">version_group_regions</span></tt></p>
|
||
<p>Ordered by: <tt class="docutils literal"><span class="pre">version_groups.order</span></tt></p>
|
||
</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="encounters">
|
||
<h2>Encounters<a class="headerlink" href="#encounters" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-location">
|
||
<h3>Location<a class="headerlink" href="#dex-table-location" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Location">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Location</tt><a class="headerlink" href="#pokedex.db.tables.Location" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A place in the Pokémon world</p>
|
||
<p>Table name: <em>locations</em>
|
||
(single: <em>location</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>location_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Location.<strong>region</strong> (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 location is in</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>Location.<strong>areas</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.LocationArea" title="pokedex.db.tables.LocationArea"><tt class="xref py py-class docutils literal"><span class="pre">LocationArea</span></tt></a>])</p>
|
||
<p>Location.<strong>game_indices</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.LocationGameIndex" title="pokedex.db.tables.LocationGameIndex"><tt class="xref py py-class docutils literal"><span class="pre">LocationGameIndex</span></tt></a>])</p>
|
||
<p>Location.<strong>triggered_evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonEvolution" title="pokedex.db.tables.PokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">PokemonEvolution</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-locationarea">
|
||
<h3>LocationArea<a class="headerlink" href="#dex-table-locationarea" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.LocationArea">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">LocationArea</tt><a class="headerlink" href="#pokedex.db.tables.LocationArea" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A sub-area of a location</p>
|
||
<p>Table name: <em>location_areas</em>
|
||
(single: <em>location_area</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>location_area_prose</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>LocationArea.<strong>location</strong> (location_id → <a class="reference internal" href="#pokedex.db.tables.Location" title="pokedex.db.tables.Location"><tt class="xref py py-class docutils literal"><span class="pre">Location</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the location this area is part of</div></blockquote>
|
||
<p>LocationArea.<strong>game_index</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>ID the games use for this area</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>LocationArea.<strong>encounter_rates</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.LocationAreaEncounterRate" title="pokedex.db.tables.LocationAreaEncounterRate"><tt class="xref py py-class docutils literal"><span class="pre">LocationAreaEncounterRate</span></tt></a>])</p>
|
||
<p>LocationArea.<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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-locationareaencounterrate">
|
||
<h3>LocationAreaEncounterRate<a class="headerlink" href="#dex-table-locationareaencounterrate" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.LocationAreaEncounterRate">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">LocationAreaEncounterRate</tt><a class="headerlink" href="#pokedex.db.tables.LocationAreaEncounterRate" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>None</p>
|
||
<p>Table name: <em>location_area_encounter_rates</em></p>
|
||
<p>Primary key: <strong>location_area_id</strong>, <strong>encounter_method_id</strong>, <strong>version_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>LocationAreaEncounterRate.<strong>location_area</strong> (location_area_id → <a class="reference internal" href="#pokedex.db.tables.LocationArea" title="pokedex.db.tables.LocationArea"><tt class="xref py py-class docutils literal"><span class="pre">LocationArea</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the area</div></blockquote>
|
||
<p>LocationAreaEncounterRate.<strong>encounter_method_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.EncounterMethod" title="pokedex.db.tables.EncounterMethod"><tt class="xref py py-class docutils literal"><span class="pre">EncounterMethod</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>ID of the method</div></blockquote>
|
||
<p>LocationAreaEncounterRate.<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>ID of the version</div></blockquote>
|
||
<p>LocationAreaEncounterRate.<strong>rate</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The encounter rate</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>LocationAreaEncounterRate.<strong>method</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.EncounterMethod" title="pokedex.db.tables.EncounterMethod"><tt class="xref py py-class docutils literal"><span class="pre">EncounterMethod</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-encounter">
|
||
<h3>Encounter<a class="headerlink" href="#dex-table-encounter" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Encounter">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Encounter</tt><a class="headerlink" href="#pokedex.db.tables.Encounter" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Encounters with wild Pokémon.</p>
|
||
<p>Bear with me, here.</p>
|
||
<p>Within a given area in a given game, encounters are differentiated by the
|
||
“slot” they are in and the state of the game world.</p>
|
||
<p>What the player is doing to get an encounter, such as surfing or walking
|
||
through tall grass, is called a method. Each method has its own set of
|
||
encounter slots.</p>
|
||
<p>Within a method, slots are defined primarily by rarity. Each slot can
|
||
also be affected by world conditions; for example, the 20% slot for walking
|
||
in tall grass is affected by whether a swarm is in effect in that area.
|
||
“Is there a swarm?” is a condition; “there is a swarm” and “there is not a
|
||
swarm” are the possible values of this condition.</p>
|
||
<p>A slot (20% walking in grass) and any appropriate world conditions (no
|
||
swarm) are thus enough to define a specific encounter.</p>
|
||
<p>Well, okay, almost: each slot actually appears twice.</p>
|
||
<p>Table name: <em>encounters</em></p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Encounter.<strong>version</strong> (version_id → <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>The ID of the version this applies to</div></blockquote>
|
||
<p>Encounter.<strong>location_area</strong> (location_area_id → <a class="reference internal" href="#pokedex.db.tables.LocationArea" title="pokedex.db.tables.LocationArea"><tt class="xref py py-class docutils literal"><span class="pre">LocationArea</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the location of this encounter</div></blockquote>
|
||
<p>Encounter.<strong>encounter_slot_id</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>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the encounter slot, which determines method and rarity</div></blockquote>
|
||
<p>Encounter.<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>The ID of the encountered Pokémon</div></blockquote>
|
||
<p>Encounter.<strong>min_level</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The minimum level of the encountered Pokémon</div></blockquote>
|
||
<p>Encounter.<strong>max_level</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The maxmum level of the encountered Pokémon</div></blockquote>
|
||
<hr><p>Relationships:</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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-encountercondition">
|
||
<h3>EncounterCondition<a class="headerlink" href="#dex-table-encountercondition" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.EncounterCondition">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">EncounterCondition</tt><a class="headerlink" href="#pokedex.db.tables.EncounterCondition" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A conditions in the game world that affects Pokémon encounters, such as time of day.</p>
|
||
<p>Table name: <em>encounter_conditions</em>
|
||
(single: <em>encounter_condition</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>encounter_condition_prose</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>EncounterCondition.<strong>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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-encounterconditionvalue">
|
||
<h3>EncounterConditionValue<a class="headerlink" href="#dex-table-encounterconditionvalue" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.EncounterConditionValue">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">EncounterConditionValue</tt><a class="headerlink" href="#pokedex.db.tables.EncounterConditionValue" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A possible state for a condition; for example, the state of ‘swarm’ could be ‘swarm’ or ‘no swarm’.</p>
|
||
<p>Table name: <em>encounter_condition_values</em>
|
||
(single: <em>encounter_condition_value</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>encounter_condition_value_prose</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>EncounterConditionValue.<strong>encounter_condition_id</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>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the encounter condition this is a value of</div></blockquote>
|
||
<p>EncounterConditionValue.<strong>is_default</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>Set if this value is the default state for the condition</div></blockquote>
|
||
<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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-encountermethod">
|
||
<h3>EncounterMethod<a class="headerlink" href="#dex-table-encountermethod" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.EncounterMethod">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">EncounterMethod</tt><a class="headerlink" href="#pokedex.db.tables.EncounterMethod" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A way the player can enter a wild encounter, e.g., surfing, fishing, or walking through tall grass.</p>
|
||
<p>Table name: <em>encounter_methods</em>
|
||
(single: <em>encounter_method</em>)</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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-encounterslot">
|
||
<h3>EncounterSlot<a class="headerlink" href="#dex-table-encounterslot" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.EncounterSlot">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">EncounterSlot</tt><a class="headerlink" href="#pokedex.db.tables.EncounterSlot" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An abstract “slot” within a method, associated with both some set of conditions and a rarity.</p>
|
||
<p>Note that there are two encounters per slot, so the rarities will only add
|
||
up to 50.</p>
|
||
<p>Table name: <em>encounter_slots</em></p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>EncounterSlot.<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>The ID of the version group this slot is in</div></blockquote>
|
||
<p>EncounterSlot.<strong>encounter_method_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.EncounterMethod" title="pokedex.db.tables.EncounterMethod"><tt class="xref py py-class docutils literal"><span class="pre">EncounterMethod</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the method</div></blockquote>
|
||
<p>EncounterSlot.<strong>slot</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>This slot’s order for the location and method</div></blockquote>
|
||
<p>EncounterSlot.<strong>rarity</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The chance of the encounter as a percentage</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>EncounterSlot.<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>EncounterSlot.<strong>method</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.EncounterMethod" title="pokedex.db.tables.EncounterMethod"><tt class="xref py py-class docutils literal"><span class="pre">EncounterMethod</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="contests">
|
||
<h2>Contests<a class="headerlink" href="#contests" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-contestcombo">
|
||
<h3>ContestCombo<a class="headerlink" href="#dex-table-contestcombo" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ContestCombo">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ContestCombo</tt><a class="headerlink" href="#pokedex.db.tables.ContestCombo" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Combo of two moves in a Contest.</p>
|
||
<p>Table name: <em>contest_combos</em></p>
|
||
<p>Primary key: <strong>first_move_id</strong>, <strong>second_move_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ContestCombo.<strong>first_move_id</strong> (→ <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 first move in the combo</div></blockquote>
|
||
<p>ContestCombo.<strong>second_move_id</strong> (→ <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 second and final move in the combo</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ContestCombo.<strong>first</strong>
|
||
(→ <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>)</p>
|
||
<p>ContestCombo.<strong>second</strong>
|
||
(→ <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>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-contesteffect">
|
||
<h3>ContestEffect<a class="headerlink" href="#dex-table-contesteffect" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ContestEffect">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ContestEffect</tt><a class="headerlink" href="#pokedex.db.tables.ContestEffect" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Effect of a move when used in a Contest.</p>
|
||
<p>Table name: <em>contest_effects</em>
|
||
(single: <em>contest_effect</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ContestEffect.<strong>appeal</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The base number of hearts the user of this move gets</div></blockquote>
|
||
<p>ContestEffect.<strong>jam</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The base number of hearts the user’s opponent loses</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>ContestEffect.<strong>flavor_text</strong> (<em>unicode – gametext</em>) via <em>contest_effect_prose</em></p>
|
||
<blockquote>
|
||
<div>The in-game description of this effect</div></blockquote>
|
||
<p>ContestEffect.<strong>effect</strong> (<em>unicode – plaintext</em>) via <em>contest_effect_prose</em></p>
|
||
<blockquote>
|
||
<div>A detailed description of the effect</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ContestEffect.<strong>moves</strong>
|
||
(→ [<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>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-supercontestcombo">
|
||
<h3>SuperContestCombo<a class="headerlink" href="#dex-table-supercontestcombo" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.SuperContestCombo">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">SuperContestCombo</tt><a class="headerlink" href="#pokedex.db.tables.SuperContestCombo" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Combo of two moves in a Super Contest.</p>
|
||
<p>Table name: <em>super_contest_combos</em></p>
|
||
<p>Primary key: <strong>first_move_id</strong>, <strong>second_move_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>SuperContestCombo.<strong>first_move_id</strong> (→ <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 first move in the combo.</div></blockquote>
|
||
<p>SuperContestCombo.<strong>second_move_id</strong> (→ <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 second and last move.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>SuperContestCombo.<strong>first</strong>
|
||
(→ <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>)</p>
|
||
<p>SuperContestCombo.<strong>second</strong>
|
||
(→ <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>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-supercontesteffect">
|
||
<h3>SuperContestEffect<a class="headerlink" href="#dex-table-supercontesteffect" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.SuperContestEffect">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">SuperContestEffect</tt><a class="headerlink" href="#pokedex.db.tables.SuperContestEffect" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An effect a move can have when used in the Super Contest</p>
|
||
<p>Table name: <em>super_contest_effects</em>
|
||
(single: <em>super_contest_effect</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>SuperContestEffect.<strong>appeal</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The number of hearts the user gains.</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>SuperContestEffect.<strong>flavor_text</strong> (<em>unicode – plaintext</em>) via <em>super_contest_effect_prose</em></p>
|
||
<blockquote>
|
||
<div>A description of the effect.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>SuperContestEffect.<strong>moves</strong>
|
||
(→ [<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>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="enum-tables">
|
||
<h2>Enum tables<a class="headerlink" href="#enum-tables" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-berryfirmness">
|
||
<h3>BerryFirmness<a class="headerlink" href="#dex-table-berryfirmness" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.BerryFirmness">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">BerryFirmness</tt><a class="headerlink" href="#pokedex.db.tables.BerryFirmness" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Berry firmness, such as “hard” or “very soft”.</p>
|
||
<p>Table name: <em>berry_firmness</em>
|
||
(single: <em>berry_firmness</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>berry_firmness_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>BerryFirmness.<strong>berries</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Berry" title="pokedex.db.tables.Berry"><tt class="xref py py-class docutils literal"><span class="pre">Berry</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-contesttype">
|
||
<h3>ContestType<a class="headerlink" href="#dex-table-contesttype" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ContestType">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ContestType</tt><a class="headerlink" href="#pokedex.db.tables.ContestType" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Contest type, such as “cool” or “smart”, and their associated Berry flavors and Pokéblock colors.</p>
|
||
<p>Table name: <em>contest_types</em>
|
||
(single: <em>contest_type</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>contest_type_names</em>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>ContestType.<strong>flavor</strong> (<em>unicode – plaintext</em>) via <em>contest_type_names</em></p>
|
||
<blockquote>
|
||
<div>The name of the corresponding Berry flavor</div></blockquote>
|
||
<p>ContestType.<strong>color</strong> (<em>unicode – plaintext</em>) via <em>contest_type_names</em></p>
|
||
<blockquote>
|
||
<div>The name of the corresponding Pokéblock color</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ContestType.<strong>hating_natures</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Nature" title="pokedex.db.tables.Nature"><tt class="xref py py-class docutils literal"><span class="pre">Nature</span></tt></a>])</p>
|
||
<p>ContestType.<strong>liking_natures</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Nature" title="pokedex.db.tables.Nature"><tt class="xref py py-class docutils literal"><span class="pre">Nature</span></tt></a>])</p>
|
||
<p>ContestType.<strong>moves</strong>
|
||
(→ [<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>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-egggroup">
|
||
<h3>EggGroup<a class="headerlink" href="#dex-table-egggroup" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.EggGroup">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">EggGroup</tt><a class="headerlink" href="#pokedex.db.tables.EggGroup" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An Egg group. Usually, two Pokémon can breed if they share an Egg Group.</p>
|
||
<p>(exceptions are the Ditto and No Eggs groups)</p>
|
||
<p>Table name: <em>egg_groups</em>
|
||
(single: <em>egg_group</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>egg_group_prose</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>EggGroup.<strong>species</strong>
|
||
(→ [<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>])</p>
|
||
<blockquote>
|
||
<div><p>Association table: <tt class="docutils literal"><span class="pre">pokemon_egg_groups</span></tt></p>
|
||
<p>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_species."order"</span> <span class="pre">ASC</span></tt></p>
|
||
</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-evolutiontrigger">
|
||
<h3>EvolutionTrigger<a class="headerlink" href="#dex-table-evolutiontrigger" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.EvolutionTrigger">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">EvolutionTrigger</tt><a class="headerlink" href="#pokedex.db.tables.EvolutionTrigger" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An evolution type, such as “level” or “trade”.</p>
|
||
<p>Table name: <em>evolution_triggers</em>
|
||
(single: <em>evolution_trigger</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>evolution_trigger_prose</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>EvolutionTrigger.<strong>evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonEvolution" title="pokedex.db.tables.PokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">PokemonEvolution</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-gender">
|
||
<h3>Gender<a class="headerlink" href="#dex-table-gender" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Gender">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Gender</tt><a class="headerlink" href="#pokedex.db.tables.Gender" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A gender.</p>
|
||
<p>Table name: <em>genders</em>
|
||
(single: <em>gender</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong> and <strong>identifier</strong>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>Gender.<strong>conquest_evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestPokemonEvolution" title="pokedex.db.tables.ConquestPokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">ConquestPokemonEvolution</span></tt></a>])</p>
|
||
<p>Gender.<strong>required_for_evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.PokemonEvolution" title="pokedex.db.tables.PokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">PokemonEvolution</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-growthrate">
|
||
<h3>GrowthRate<a class="headerlink" href="#dex-table-growthrate" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.GrowthRate">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">GrowthRate</tt><a class="headerlink" href="#pokedex.db.tables.GrowthRate" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Growth rate of a Pokémon, i.e. the EXP → level function.</p>
|
||
<p>Table name: <em>growth_rates</em>
|
||
(single: <em>growth_rate</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>growth_rate_prose</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>GrowthRate.<strong>formula</strong> (<em>unicode – latex</em>):</p>
|
||
<blockquote>
|
||
<div>The formula</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>GrowthRate.<strong>evolution_chains</strong>
|
||
(→ [<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>])</p>
|
||
<p>GrowthRate.<strong>experience_table</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Experience" title="pokedex.db.tables.Experience"><tt class="xref py py-class docutils literal"><span class="pre">Experience</span></tt></a>])</p>
|
||
<p>GrowthRate.<strong>max_experience_obj</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.Experience" title="pokedex.db.tables.Experience"><tt class="xref py py-class docutils literal"><span class="pre">Experience</span></tt></a>)</p>
|
||
<hr><p>Association Proxies:</p>
|
||
<p>GrowthRate.<strong>max_experience</strong>:
|
||
<tt class="docutils literal"><span class="pre">experience</span></tt> of <tt class="docutils literal"><span class="pre">self.max_experience_obj</span></tt></p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-itemcategory">
|
||
<h3>ItemCategory<a class="headerlink" href="#dex-table-itemcategory" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ItemCategory">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ItemCategory</tt><a class="headerlink" href="#pokedex.db.tables.ItemCategory" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An item category</p>
|
||
<p>Table name: <em>item_categories</em>
|
||
(single: <em>item_category</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>item_category_prose</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ItemCategory.<strong>pocket</strong> (pocket_id → <a class="reference internal" href="#pokedex.db.tables.ItemPocket" title="pokedex.db.tables.ItemPocket"><tt class="xref py py-class docutils literal"><span class="pre">ItemPocket</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the pocket these items go to</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ItemCategory.<strong>items</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">items.identifier</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-itemflingeffect">
|
||
<h3>ItemFlingEffect<a class="headerlink" href="#dex-table-itemflingeffect" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ItemFlingEffect">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ItemFlingEffect</tt><a class="headerlink" href="#pokedex.db.tables.ItemFlingEffect" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An effect of the move Fling when used with a specific item</p>
|
||
<p>Table name: <em>item_fling_effects</em>
|
||
(single: <em>item_fling_effect</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>ItemFlingEffect.<strong>effect</strong> (<em>unicode – plaintext</em>) via <em>item_fling_effect_prose</em></p>
|
||
<blockquote>
|
||
<div>Description of the effect</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ItemFlingEffect.<strong>items</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-itempocket">
|
||
<h3>ItemPocket<a class="headerlink" href="#dex-table-itempocket" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ItemPocket">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ItemPocket</tt><a class="headerlink" href="#pokedex.db.tables.ItemPocket" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A pocket that categorizes items</p>
|
||
<p>Table name: <em>item_pockets</em>
|
||
(single: <em>item_pocket</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>item_pocket_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>ItemPocket.<strong>categories</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ItemCategory" title="pokedex.db.tables.ItemCategory"><tt class="xref py py-class docutils literal"><span class="pre">ItemCategory</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">item_categories.identifier</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-movebattlestyle">
|
||
<h3>MoveBattleStyle<a class="headerlink" href="#dex-table-movebattlestyle" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveBattleStyle">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveBattleStyle</tt><a class="headerlink" href="#pokedex.db.tables.MoveBattleStyle" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A battle style of a move</p>
|
||
<p>Table name: <em>move_battle_styles</em>
|
||
(single: <em>move_battle_style</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>move_battle_style_prose</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveBattleStyle.<strong>nature_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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-movedamageclass">
|
||
<h3>MoveDamageClass<a class="headerlink" href="#dex-table-movedamageclass" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveDamageClass">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveDamageClass</tt><a class="headerlink" href="#pokedex.db.tables.MoveDamageClass" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Any of the damage classes moves can have, i.e. physical, special, or non-damaging.</p>
|
||
<p>Table name: <em>move_damage_classes</em>
|
||
(single: <em>move_damage_class</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>move_damage_class_prose</em>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>MoveDamageClass.<strong>description</strong> (<em>unicode – plaintext</em>) via <em>move_damage_class_prose</em></p>
|
||
<blockquote>
|
||
<div>A description of the class</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveDamageClass.<strong>moves</strong>
|
||
(→ [<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>])</p>
|
||
<p>MoveDamageClass.<strong>stats</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Stat" title="pokedex.db.tables.Stat"><tt class="xref py py-class docutils literal"><span class="pre">Stat</span></tt></a>])</p>
|
||
<p>MoveDamageClass.<strong>types</strong>
|
||
(→ [<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>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-movemetaailment">
|
||
<h3>MoveMetaAilment<a class="headerlink" href="#dex-table-movemetaailment" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveMetaAilment">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveMetaAilment</tt><a class="headerlink" href="#pokedex.db.tables.MoveMetaAilment" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Common status ailments moves can inflict on a single Pokémon, including
|
||
major ailments like paralysis and minor ailments like trapping.</p>
|
||
<p>Table name: <em>move_meta_ailments</em>
|
||
(single: <em>move_meta_ailment</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>move_meta_ailment_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveMetaAilment.<strong>move_meta</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.MoveMeta" title="pokedex.db.tables.MoveMeta"><tt class="xref py py-class docutils literal"><span class="pre">MoveMeta</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-movemetacategory">
|
||
<h3>MoveMetaCategory<a class="headerlink" href="#dex-table-movemetacategory" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveMetaCategory">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveMetaCategory</tt><a class="headerlink" href="#pokedex.db.tables.MoveMetaCategory" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Very general categories that loosely group move effects.</p>
|
||
<p>Table name: <em>move_meta_categories</em>
|
||
(single: <em>move_meta_category</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong> and <strong>identifier</strong>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>MoveMetaCategory.<strong>description</strong> (<em>unicode – plaintext</em>) via <em>move_meta_category_prose</em></p>
|
||
<blockquote>
|
||
<div>A description of the category</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveMetaCategory.<strong>move_meta</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.MoveMeta" title="pokedex.db.tables.MoveMeta"><tt class="xref py py-class docutils literal"><span class="pre">MoveMeta</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-movetarget">
|
||
<h3>MoveTarget<a class="headerlink" href="#dex-table-movetarget" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveTarget">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveTarget</tt><a class="headerlink" href="#pokedex.db.tables.MoveTarget" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Targetting or “range” of a move, e.g. “Affects all opponents” or “Affects user”.</p>
|
||
<p>Table name: <em>move_targets</em>
|
||
(single: <em>move_target</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>move_target_prose</em>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>MoveTarget.<strong>description</strong> (<em>unicode – plaintext</em>) via <em>move_target_prose</em></p>
|
||
<blockquote>
|
||
<div>A description</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveTarget.<strong>moves</strong>
|
||
(→ [<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>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-nature">
|
||
<h3>Nature<a class="headerlink" href="#dex-table-nature" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Nature">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Nature</tt><a class="headerlink" href="#pokedex.db.tables.Nature" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A nature a Pokémon can have, such as Calm or Brave</p>
|
||
<p>Table name: <em>natures</em>
|
||
(single: <em>nature</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>nature_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Nature.<strong>decreased_stat</strong> (decreased_stat_id → <a class="reference internal" href="#pokedex.db.tables.Stat" title="pokedex.db.tables.Stat"><tt class="xref py py-class docutils literal"><span class="pre">Stat</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the stat that this nature decreases by 10% (if decreased_stat_id is the same, the effects cancel out)</div></blockquote>
|
||
<p>Nature.<strong>increased_stat</strong> (increased_stat_id → <a class="reference internal" href="#pokedex.db.tables.Stat" title="pokedex.db.tables.Stat"><tt class="xref py py-class docutils literal"><span class="pre">Stat</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the stat that this nature increases by 10% (if decreased_stat_id is the same, the effects cancel out)</div></blockquote>
|
||
<p>Nature.<strong>hates_flavor</strong> (hates_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 hates (if likes_flavor_id is the same, the effects cancel out)</div></blockquote>
|
||
<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>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">nature_battle_style_preferences.move_battle_style_id</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
<p>Nature.<strong>pokeathlon_effects</strong>
|
||
(→ [<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>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">nature_pokeathlon_stats.pokeathlon_stat_id</span> <span class="pre">ASC</span></tt></div></blockquote>
|
||
<hr><dl class="attribute">
|
||
<dt id="pokedex.db.tables.Nature.is_neutral">
|
||
<tt class="descname">is_neutral</tt><a class="headerlink" href="#pokedex.db.tables.Nature.is_neutral" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Returns True iff this nature doesn’t alter a Pokémon’s stats,
|
||
bestow taste preferences, etc.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-palparkarea">
|
||
<h3>PalParkArea<a class="headerlink" href="#dex-table-palparkarea" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PalParkArea">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PalParkArea</tt><a class="headerlink" href="#pokedex.db.tables.PalParkArea" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A distinct area of Pal Park in which Pokémon appear.</p>
|
||
<p>Table name: <em>pal_park_areas</em>
|
||
(single: <em>pal_park_area</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>pal_park_area_names</em>.</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemoncolor">
|
||
<h3>PokemonColor<a class="headerlink" href="#dex-table-pokemoncolor" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonColor">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonColor</tt><a class="headerlink" href="#pokedex.db.tables.PokemonColor" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The “Pokédex color” of a Pokémon species. Usually based on the Pokémon’s color.</p>
|
||
<p>Table name: <em>pokemon_colors</em>
|
||
(single: <em>pokemon_color</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>pokemon_color_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>PokemonColor.<strong>species</strong>
|
||
(→ [<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>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonmovemethod">
|
||
<h3>PokemonMoveMethod<a class="headerlink" href="#dex-table-pokemonmovemethod" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonMoveMethod">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonMoveMethod</tt><a class="headerlink" href="#pokedex.db.tables.PokemonMoveMethod" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A method a move can be learned by, such as “Level up” or “Tutor”.</p>
|
||
<p>Table name: <em>pokemon_move_methods</em>
|
||
(single: <em>pokemon_move_method</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>pokemon_move_method_prose</em>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>PokemonMoveMethod.<strong>description</strong> (<em>unicode – plaintext</em>) via <em>pokemon_move_method_prose</em></p>
|
||
<blockquote>
|
||
<div>A detailed description of how the method works</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>PokemonMoveMethod.<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>PokemonMoveMethod.<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>Association table: <tt class="docutils literal"><span class="pre">version_group_pokemon_move_methods</span></tt></div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonshape">
|
||
<h3>PokemonShape<a class="headerlink" href="#dex-table-pokemonshape" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonShape">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonShape</tt><a class="headerlink" href="#pokedex.db.tables.PokemonShape" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The shape of a Pokémon’s body. Used for flavor in generation IV and V
|
||
Pokédexes.</p>
|
||
<p>Table name: <em>pokemon_shapes</em>
|
||
(single: <em>pokemon_shape</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>pokemon_shape_prose</em>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>PokemonShape.<strong>awesome_name</strong> (<em>unicode – plaintext</em>) via <em>pokemon_shape_prose</em></p>
|
||
<blockquote>
|
||
<div>A splendiferous name of the body shape</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>PokemonShape.<strong>species</strong>
|
||
(→ [<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>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-stat">
|
||
<h3>Stat<a class="headerlink" href="#dex-table-stat" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Stat">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Stat</tt><a class="headerlink" href="#pokedex.db.tables.Stat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Stat, such as Attack or Speed</p>
|
||
<p>Table name: <em>stats</em>
|
||
(single: <em>stat</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>stat_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Stat.<strong>damage_class</strong> (damage_class_id → <a class="reference internal" href="#pokedex.db.tables.MoveDamageClass" title="pokedex.db.tables.MoveDamageClass"><tt class="xref py py-class docutils literal"><span class="pre">MoveDamageClass</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>For offensive and defensive stats, the damage this stat relates to; otherwise None (the NULL value)</div></blockquote>
|
||
<p>Stat.<strong>is_battle_only</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>Whether this stat only exists within a battle</div></blockquote>
|
||
<p>Stat.<strong>game_index</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The stat order the games use internally for the persistent stats. NULL for battle-only stats.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>Stat.<strong>decreasing_natures</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Nature" title="pokedex.db.tables.Nature"><tt class="xref py py-class docutils literal"><span class="pre">Nature</span></tt></a>])</p>
|
||
<p>Stat.<strong>hints</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.StatHint" title="pokedex.db.tables.StatHint"><tt class="xref py py-class docutils literal"><span class="pre">StatHint</span></tt></a>])</p>
|
||
<p>Stat.<strong>increasing_natures</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.Nature" title="pokedex.db.tables.Nature"><tt class="xref py py-class docutils literal"><span class="pre">Nature</span></tt></a>])</p>
|
||
<p>Stat.<strong>move_meta_stat_changes</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.MoveMetaStatChange" title="pokedex.db.tables.MoveMetaStatChange"><tt class="xref py py-class docutils literal"><span class="pre">MoveMetaStatChange</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="changelogs">
|
||
<h2>Changelogs<a class="headerlink" href="#changelogs" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-abilitychangelog">
|
||
<h3>AbilityChangelog<a class="headerlink" href="#dex-table-abilitychangelog" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.AbilityChangelog">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">AbilityChangelog</tt><a class="headerlink" href="#pokedex.db.tables.AbilityChangelog" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>History of changes to abilities across main game versions.</p>
|
||
<p>Table name: <em>ability_changelog</em>
|
||
(single: <em>ability_changelog</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>AbilityChangelog.<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>The ID of the ability that changed</div></blockquote>
|
||
<p>AbilityChangelog.<strong>changed_in_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 in which the ability changed</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>AbilityChangelog.<strong>effect</strong> (<em>unicode – markdown</em>) via <em>ability_changelog_prose</em></p>
|
||
<blockquote>
|
||
<div>A description of the old behavior</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>AbilityChangelog.<strong>changed_in</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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-moveeffectchangelog">
|
||
<h3>MoveEffectChangelog<a class="headerlink" href="#dex-table-moveeffectchangelog" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveEffectChangelog">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveEffectChangelog</tt><a class="headerlink" href="#pokedex.db.tables.MoveEffectChangelog" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>History of changes to move effects across main game versions.</p>
|
||
<p>Table name: <em>move_effect_changelog</em>
|
||
(single: <em>move_effect_changelog</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>MoveEffectChangelog.<strong>effect</strong> (effect_id → <a class="reference internal" href="#pokedex.db.tables.MoveEffect" title="pokedex.db.tables.MoveEffect"><tt class="xref py py-class docutils literal"><span class="pre">MoveEffect</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the effect that changed</div></blockquote>
|
||
<p>MoveEffectChangelog.<strong>changed_in_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 in which the effect changed</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>MoveEffectChangelog.<strong>effect</strong> (<em>unicode – markdown</em>) via <em>move_effect_changelog_prose</em></p>
|
||
<blockquote>
|
||
<div>A description of the old behavior</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveEffectChangelog.<strong>changed_in</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>
|
||
<p>MoveEffectChangelog.<strong>move_effect</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.MoveEffect" title="pokedex.db.tables.MoveEffect"><tt class="xref py py-class docutils literal"><span class="pre">MoveEffect</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-movechangelog">
|
||
<h3>MoveChangelog<a class="headerlink" href="#dex-table-movechangelog" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveChangelog">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveChangelog</tt><a class="headerlink" href="#pokedex.db.tables.MoveChangelog" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>History of changes to moves across main game versions.</p>
|
||
<p>Table name: <em>move_changelog</em>
|
||
(single: <em>move_changelog</em>)</p>
|
||
<p>Primary key: <strong>move_id</strong>, <strong>changed_in_version_group_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>MoveChangelog.<strong>move</strong> (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>ID of the move that changed</div></blockquote>
|
||
<p>MoveChangelog.<strong>changed_in_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>ID of the version group in which the move changed</div></blockquote>
|
||
<p>MoveChangelog.<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>Prior type of the move, or NULL if unchanged</div></blockquote>
|
||
<p>MoveChangelog.<strong>power</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Prior base power of the move, or NULL if unchanged</div></blockquote>
|
||
<p>MoveChangelog.<strong>pp</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Prior base PP of the move, or NULL if unchanged</div></blockquote>
|
||
<p>MoveChangelog.<strong>accuracy</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Prior accuracy of the move, or NULL if unchanged</div></blockquote>
|
||
<p>MoveChangelog.<strong>effect</strong> (effect_id → <a class="reference internal" href="#pokedex.db.tables.MoveEffect" title="pokedex.db.tables.MoveEffect"><tt class="xref py py-class docutils literal"><span class="pre">MoveEffect</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>Prior ID of the effect, or NULL if unchanged</div></blockquote>
|
||
<p>MoveChangelog.<strong>effect_chance</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Prior effect chance, or NULL if unchanged</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveChangelog.<strong>changed_in</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>
|
||
<p>MoveChangelog.<strong>move_effect</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.MoveEffect" title="pokedex.db.tables.MoveEffect"><tt class="xref py py-class docutils literal"><span class="pre">MoveEffect</span></tt></a>)</p>
|
||
<hr><p>Undocumented:</p>
|
||
<p>MoveChangelog.<strong>effect_map</strong></p>
|
||
<p>MoveChangelog.<strong>short_effect</strong></p>
|
||
<p>MoveChangelog.<strong>short_effect_map</strong></p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="flavor-text">
|
||
<h2>Flavor text<a class="headerlink" href="#flavor-text" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-itemflavortext">
|
||
<h3>ItemFlavorText<a class="headerlink" href="#dex-table-itemflavortext" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ItemFlavorText">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ItemFlavorText</tt><a class="headerlink" href="#pokedex.db.tables.ItemFlavorText" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An in-game description of an item</p>
|
||
<p>Table name: <em>item_flavor_text</em>
|
||
(single: <em>item_flavor_text</em>)</p>
|
||
<p>Primary key: <strong>item_id</strong>, <strong>version_group_id</strong>, <strong>language_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ItemFlavorText.<strong>item</strong> (item_id → <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the item</div></blockquote>
|
||
<p>ItemFlavorText.<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>ID of the version group that sports this text</div></blockquote>
|
||
<p>ItemFlavorText.<strong>language</strong> (language_id → <a class="reference internal" href="#pokedex.db.tables.Language" title="pokedex.db.tables.Language"><tt class="xref py py-class docutils literal"><span class="pre">Language</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The language</div></blockquote>
|
||
<p>ItemFlavorText.<strong>flavor_text</strong> (<em>unicode – gametext</em>):</p>
|
||
<blockquote>
|
||
<div>The flavor text itself</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-abilityflavortext">
|
||
<h3>AbilityFlavorText<a class="headerlink" href="#dex-table-abilityflavortext" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.AbilityFlavorText">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">AbilityFlavorText</tt><a class="headerlink" href="#pokedex.db.tables.AbilityFlavorText" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>In-game flavor text of an ability</p>
|
||
<p>Table name: <em>ability_flavor_text</em></p>
|
||
<p>Primary key: <strong>ability_id</strong>, <strong>version_group_id</strong>, <strong>language_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>AbilityFlavorText.<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>The ID of the ability</div></blockquote>
|
||
<p>AbilityFlavorText.<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>The ID of the version group this flavor text is taken from</div></blockquote>
|
||
<p>AbilityFlavorText.<strong>language</strong> (language_id → <a class="reference internal" href="#pokedex.db.tables.Language" title="pokedex.db.tables.Language"><tt class="xref py py-class docutils literal"><span class="pre">Language</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The language</div></blockquote>
|
||
<p>AbilityFlavorText.<strong>flavor_text</strong> (<em>unicode – gametext</em>):</p>
|
||
<blockquote>
|
||
<div>The actual flavor text</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-moveflavortext">
|
||
<h3>MoveFlavorText<a class="headerlink" href="#dex-table-moveflavortext" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveFlavorText">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveFlavorText</tt><a class="headerlink" href="#pokedex.db.tables.MoveFlavorText" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>In-game description of a move</p>
|
||
<p>Table name: <em>move_flavor_text</em></p>
|
||
<p>Primary key: <strong>move_id</strong>, <strong>version_group_id</strong>, <strong>language_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>MoveFlavorText.<strong>move</strong> (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>ID of the move</div></blockquote>
|
||
<p>MoveFlavorText.<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>ID of the version group this text appears in</div></blockquote>
|
||
<p>MoveFlavorText.<strong>language</strong> (language_id → <a class="reference internal" href="#pokedex.db.tables.Language" title="pokedex.db.tables.Language"><tt class="xref py py-class docutils literal"><span class="pre">Language</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The language</div></blockquote>
|
||
<p>MoveFlavorText.<strong>flavor_text</strong> (<em>unicode – gametext</em>):</p>
|
||
<blockquote>
|
||
<div>The flavor text</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonspeciesflavortext">
|
||
<h3>PokemonSpeciesFlavorText<a class="headerlink" href="#dex-table-pokemonspeciesflavortext" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonSpeciesFlavorText">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonSpeciesFlavorText</tt><a class="headerlink" href="#pokedex.db.tables.PokemonSpeciesFlavorText" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>In-game Pokédex descrption of a Pokémon.</p>
|
||
<p>Table name: <em>pokemon_species_flavor_text</em></p>
|
||
<p>Primary key: <strong>species_id</strong>, <strong>version_id</strong>, <strong>language_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonSpeciesFlavorText.<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>
|
||
<div>ID of the Pokémon</div></blockquote>
|
||
<p>PokemonSpeciesFlavorText.<strong>version</strong> (version_id → <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>ID of the version that has this flavor text</div></blockquote>
|
||
<p>PokemonSpeciesFlavorText.<strong>language</strong> (language_id → <a class="reference internal" href="#pokedex.db.tables.Language" title="pokedex.db.tables.Language"><tt class="xref py py-class docutils literal"><span class="pre">Language</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The language</div></blockquote>
|
||
<p>PokemonSpeciesFlavorText.<strong>flavor_text</strong> (<em>unicode – gametext</em>):</p>
|
||
<blockquote>
|
||
<div>The flavor text</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="association-tables">
|
||
<h2>Association tables<a class="headerlink" href="#association-tables" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-berryflavor">
|
||
<h3>BerryFlavor<a class="headerlink" href="#dex-table-berryflavor" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.BerryFlavor">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">BerryFlavor</tt><a class="headerlink" href="#pokedex.db.tables.BerryFlavor" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Berry flavor level.</p>
|
||
<p>Table name: <em>berry_flavors</em></p>
|
||
<p>Primary key: <strong>berry_id</strong>, <strong>contest_type_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>BerryFlavor.<strong>berry</strong> (berry_id → <a class="reference internal" href="#pokedex.db.tables.Berry" title="pokedex.db.tables.Berry"><tt class="xref py py-class docutils literal"><span class="pre">Berry</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the berry</div></blockquote>
|
||
<p>BerryFlavor.<strong>contest_type</strong> (contest_type_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>The ID of the flavor</div></blockquote>
|
||
<p>BerryFlavor.<strong>flavor</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The level of the flavor in the berry</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-encounterconditionvaluemap">
|
||
<h3>EncounterConditionValueMap<a class="headerlink" href="#dex-table-encounterconditionvaluemap" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.EncounterConditionValueMap">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">EncounterConditionValueMap</tt><a class="headerlink" href="#pokedex.db.tables.EncounterConditionValueMap" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Maps encounters to the specific conditions under which they occur.</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_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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-itemflag">
|
||
<h3>ItemFlag<a class="headerlink" href="#dex-table-itemflag" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ItemFlag">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ItemFlag</tt><a class="headerlink" href="#pokedex.db.tables.ItemFlag" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An item attribute such as “consumable” or “holdable”.</p>
|
||
<p>Table name: <em>item_flags</em>
|
||
(single: <em>item_flag</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>item_flag_prose</em>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>ItemFlag.<strong>description</strong> (<em>unicode – plaintext</em>) via <em>item_flag_prose</em></p>
|
||
<blockquote>
|
||
<div>Short description of the flag</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-itemflagmap">
|
||
<h3>ItemFlagMap<a class="headerlink" href="#dex-table-itemflagmap" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ItemFlagMap">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ItemFlagMap</tt><a class="headerlink" href="#pokedex.db.tables.ItemFlagMap" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Maps an item flag to its item.</p>
|
||
<p>Table name: <em>item_flag_map</em></p>
|
||
<p>Primary key: <strong>item_id</strong>, <strong>item_flag_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ItemFlagMap.<strong>item_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the item</div></blockquote>
|
||
<p>ItemFlagMap.<strong>item_flag_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ItemFlag" title="pokedex.db.tables.ItemFlag"><tt class="xref py py-class docutils literal"><span class="pre">ItemFlag</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the item flag</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-machine">
|
||
<h3>Machine<a class="headerlink" href="#dex-table-machine" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Machine">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Machine</tt><a class="headerlink" href="#pokedex.db.tables.Machine" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A TM or HM; numbered item that can teach a move to a Pokémon</p>
|
||
<p>Table name: <em>machines</em></p>
|
||
<p>Primary key: <strong>machine_number</strong>, <strong>version_group_id</strong>.</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 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>
|
||
<p>Machine.<strong>item</strong> (item_id → <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the corresponding Item</div></blockquote>
|
||
<p>Machine.<strong>move</strong> (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>ID of the taught move</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>Machine.<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>
|
||
<hr><dl class="attribute">
|
||
<dt id="pokedex.db.tables.Machine.is_hm">
|
||
<tt class="descname">is_hm</tt><a class="headerlink" href="#pokedex.db.tables.Machine.is_hm" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>True if this machine is a HM, False if it’s a TM</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-moveflag">
|
||
<h3>MoveFlag<a class="headerlink" href="#dex-table-moveflag" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveFlag">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveFlag</tt><a class="headerlink" href="#pokedex.db.tables.MoveFlag" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Move attribute such as “snatchable” or “contact”.</p>
|
||
<p>Table name: <em>move_flags</em>
|
||
(single: <em>move_flag</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>move_flag_prose</em>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>MoveFlag.<strong>description</strong> (<em>unicode – markdown</em>) via <em>move_flag_prose</em></p>
|
||
<blockquote>
|
||
<div>A short description of the flag</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-moveflagmap">
|
||
<h3>MoveFlagMap<a class="headerlink" href="#dex-table-moveflagmap" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveFlagMap">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveFlagMap</tt><a class="headerlink" href="#pokedex.db.tables.MoveFlagMap" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Maps a move flag to a move</p>
|
||
<p>Table name: <em>move_flag_map</em></p>
|
||
<p>Primary key: <strong>move_id</strong>, <strong>move_flag_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>MoveFlagMap.<strong>move</strong> (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>ID of the move</div></blockquote>
|
||
<p>MoveFlagMap.<strong>move_flag_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.MoveFlag" title="pokedex.db.tables.MoveFlag"><tt class="xref py py-class docutils literal"><span class="pre">MoveFlag</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>ID of the flag</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>MoveFlagMap.<strong>flag</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.MoveFlag" title="pokedex.db.tables.MoveFlag"><tt class="xref py py-class docutils literal"><span class="pre">MoveFlag</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-movemetastatchange">
|
||
<h3>MoveMetaStatChange<a class="headerlink" href="#dex-table-movemetastatchange" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.MoveMetaStatChange">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">MoveMetaStatChange</tt><a class="headerlink" href="#pokedex.db.tables.MoveMetaStatChange" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Stat changes moves (may) make.</p>
|
||
<p>Table name: <em>move_meta_stat_changes</em></p>
|
||
<p>Primary key: <strong>move_id</strong>, <strong>stat_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>MoveMetaStatChange.<strong>move_id</strong> (→ <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>ID of the move</div></blockquote>
|
||
<p>MoveMetaStatChange.<strong>stat</strong> (stat_id → <a class="reference internal" href="#pokedex.db.tables.Stat" title="pokedex.db.tables.Stat"><tt class="xref py py-class docutils literal"><span class="pre">Stat</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the stat</div></blockquote>
|
||
<p>MoveMetaStatChange.<strong>change</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Amount of increase/decrease, in stages</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-naturebattlestylepreference">
|
||
<h3>NatureBattleStylePreference<a class="headerlink" href="#dex-table-naturebattlestylepreference" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.NatureBattleStylePreference">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">NatureBattleStylePreference</tt><a class="headerlink" href="#pokedex.db.tables.NatureBattleStylePreference" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Battle Palace move preference</p>
|
||
<p>Specifies how likely a Pokémon with a specific Nature is to use a move of
|
||
a particular battl style in Battle Palace or Battle Tent</p>
|
||
<p>Table name: <em>nature_battle_style_preferences</em></p>
|
||
<p>Primary key: <strong>nature_id</strong>, <strong>move_battle_style_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>NatureBattleStylePreference.<strong>nature</strong> (nature_id → <a class="reference internal" href="#pokedex.db.tables.Nature" title="pokedex.db.tables.Nature"><tt class="xref py py-class docutils literal"><span class="pre">Nature</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the Pokémon’s nature</div></blockquote>
|
||
<p>NatureBattleStylePreference.<strong>move_battle_style_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.MoveBattleStyle" title="pokedex.db.tables.MoveBattleStyle"><tt class="xref py py-class docutils literal"><span class="pre">MoveBattleStyle</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>ID of the battle style</div></blockquote>
|
||
<p>NatureBattleStylePreference.<strong>low_hp_preference</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Chance of using the move, in percent, if HP is under ½</div></blockquote>
|
||
<p>NatureBattleStylePreference.<strong>high_hp_preference</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Chance of using the move, in percent, if HP is over ½</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>NatureBattleStylePreference.<strong>battle_style</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.MoveBattleStyle" title="pokedex.db.tables.MoveBattleStyle"><tt class="xref py py-class docutils literal"><span class="pre">MoveBattleStyle</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-naturepokeathlonstat">
|
||
<h3>NaturePokeathlonStat<a class="headerlink" href="#dex-table-naturepokeathlonstat" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.NaturePokeathlonStat">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">NaturePokeathlonStat</tt><a class="headerlink" href="#pokedex.db.tables.NaturePokeathlonStat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Specifies how a Nature affects a Pokéathlon stat</p>
|
||
<p>Table name: <em>nature_pokeathlon_stats</em></p>
|
||
<p>Primary key: <strong>nature_id</strong>, <strong>pokeathlon_stat_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>NaturePokeathlonStat.<strong>nature_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Nature" title="pokedex.db.tables.Nature"><tt class="xref py py-class docutils literal"><span class="pre">Nature</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>ID of the nature</div></blockquote>
|
||
<p>NaturePokeathlonStat.<strong>pokeathlon_stat</strong> (pokeathlon_stat_id → <a class="reference internal" href="#pokedex.db.tables.PokeathlonStat" title="pokedex.db.tables.PokeathlonStat"><tt class="xref py py-class docutils literal"><span class="pre">PokeathlonStat</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the stat</div></blockquote>
|
||
<p>NaturePokeathlonStat.<strong>max_change</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Maximum change</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokeathlonstat">
|
||
<h3>PokeathlonStat<a class="headerlink" href="#dex-table-pokeathlonstat" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokeathlonStat">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokeathlonStat</tt><a class="headerlink" href="#pokedex.db.tables.PokeathlonStat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Pokéathlon stat, such as “Stamina” or “Jump”.</p>
|
||
<p>Table name: <em>pokeathlon_stats</em>
|
||
(single: <em>pokeathlon_stat</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>pokeathlon_stat_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>PokeathlonStat.<strong>nature_effects</strong>
|
||
(→ [<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>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonAbility">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonAbility</tt><a class="headerlink" href="#pokedex.db.tables.PokemonAbility" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Maps an ability to a Pokémon that can have it</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</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</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_hidden</strong> (<em>bool</em>):</p>
|
||
<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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonegggroup">
|
||
<h3>PokemonEggGroup<a class="headerlink" href="#dex-table-pokemonegggroup" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonEggGroup">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonEggGroup</tt><a class="headerlink" href="#pokedex.db.tables.PokemonEggGroup" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Maps an Egg group to a species; each species belongs to one or two egg groups</p>
|
||
<p>Table name: <em>pokemon_egg_groups</em></p>
|
||
<p>Primary key: <strong>species_id</strong>, <strong>egg_group_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonEggGroup.<strong>species_id</strong> (→ <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>ID of the species</div></blockquote>
|
||
<p>PokemonEggGroup.<strong>egg_group_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.EggGroup" title="pokedex.db.tables.EggGroup"><tt class="xref py py-class docutils literal"><span class="pre">EggGroup</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>ID of the egg group</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonformpokeathlonstat">
|
||
<h3>PokemonFormPokeathlonStat<a class="headerlink" href="#dex-table-pokemonformpokeathlonstat" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonFormPokeathlonStat">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonFormPokeathlonStat</tt><a class="headerlink" href="#pokedex.db.tables.PokemonFormPokeathlonStat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Pokémon form’s performance in one Pokéathlon stat.</p>
|
||
<p>Table name: <em>pokemon_form_pokeathlon_stats</em></p>
|
||
<p>Primary key: <strong>pokemon_form_id</strong>, <strong>pokeathlon_stat_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonFormPokeathlonStat.<strong>pokemon_form</strong> (pokemon_form_id → <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>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the Pokémon form.</div></blockquote>
|
||
<p>PokemonFormPokeathlonStat.<strong>pokeathlon_stat</strong> (pokeathlon_stat_id → <a class="reference internal" href="#pokedex.db.tables.PokeathlonStat" title="pokedex.db.tables.PokeathlonStat"><tt class="xref py py-class docutils literal"><span class="pre">PokeathlonStat</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the Pokéathlon stat.</div></blockquote>
|
||
<p>PokemonFormPokeathlonStat.<strong>minimum_stat</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The minimum value for this stat for this Pokémon form.</div></blockquote>
|
||
<p>PokemonFormPokeathlonStat.<strong>base_stat</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The default value for this stat for this Pokémon form.</div></blockquote>
|
||
<p>PokemonFormPokeathlonStat.<strong>maximum_stat</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The maximum value for this stat for this Pokémon form.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonhabitat">
|
||
<h3>PokemonHabitat<a class="headerlink" href="#dex-table-pokemonhabitat" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonHabitat">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonHabitat</tt><a class="headerlink" href="#pokedex.db.tables.PokemonHabitat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The habitat of a Pokémon, as given in the FireRed/LeafGreen version Pokédex</p>
|
||
<p>Table name: <em>pokemon_habitats</em>
|
||
(single: <em>pokemon_habitat</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>pokemon_habitat_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>PokemonHabitat.<strong>species</strong>
|
||
(→ [<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>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonmove">
|
||
<h3>PokemonMove<a class="headerlink" href="#dex-table-pokemonmove" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonMove">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonMove</tt><a class="headerlink" href="#pokedex.db.tables.PokemonMove" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Record of a move a Pokémon can learn</p>
|
||
<p>Table name: <em>pokemon_moves</em></p>
|
||
<p>Primary key: <strong>pokemon_id</strong>, <strong>version_group_id</strong>, <strong>move_id</strong>, <strong>pokemon_move_method_id</strong>, <strong>level</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonMove.<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>PokemonMove.<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>ID of the version group this applies to</div></blockquote>
|
||
<p>PokemonMove.<strong>move</strong> (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>ID of the move</div></blockquote>
|
||
<p>PokemonMove.<strong>pokemon_move_method_id</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>.id):</p>
|
||
<blockquote>
|
||
<div>ID of the method this move is learned by</div></blockquote>
|
||
<p>PokemonMove.<strong>level</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Level the move is learned at, if applicable</div></blockquote>
|
||
<p>PokemonMove.<strong>order</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>A sort key to produce the correct ordering when all else is equal</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>PokemonMove.<strong>machine</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.Machine" title="pokedex.db.tables.Machine"><tt class="xref py py-class docutils literal"><span class="pre">Machine</span></tt></a>)</p>
|
||
<p>PokemonMove.<strong>method</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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonstat">
|
||
<h3>PokemonStat<a class="headerlink" href="#dex-table-pokemonstat" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonStat">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonStat</tt><a class="headerlink" href="#pokedex.db.tables.PokemonStat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A stat value of a Pokémon</p>
|
||
<p>Table name: <em>pokemon_stats</em></p>
|
||
<p>Primary key: <strong>pokemon_id</strong>, <strong>stat_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonStat.<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>PokemonStat.<strong>stat</strong> (stat_id → <a class="reference internal" href="#pokedex.db.tables.Stat" title="pokedex.db.tables.Stat"><tt class="xref py py-class docutils literal"><span class="pre">Stat</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the stat</div></blockquote>
|
||
<p>PokemonStat.<strong>base_stat</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The base stat</div></blockquote>
|
||
<p>PokemonStat.<strong>effort</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The effort increase in this stat gained when this Pokémon is defeated</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonitem">
|
||
<h3>PokemonItem<a class="headerlink" href="#dex-table-pokemonitem" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonItem">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonItem</tt><a class="headerlink" href="#pokedex.db.tables.PokemonItem" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Record of an item a Pokémon can hold in the wild</p>
|
||
<p>Table name: <em>pokemon_items</em></p>
|
||
<p>Primary key: <strong>pokemon_id</strong>, <strong>version_id</strong>, <strong>item_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonItem.<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>PokemonItem.<strong>version</strong> (version_id → <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>ID of the version this applies to</div></blockquote>
|
||
<p>PokemonItem.<strong>item</strong> (item_id → <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the item</div></blockquote>
|
||
<p>PokemonItem.<strong>rarity</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Chance of the Pokémon holding the item, in percent</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemontype">
|
||
<h3>PokemonType<a class="headerlink" href="#dex-table-pokemontype" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonType">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonType</tt><a class="headerlink" href="#pokedex.db.tables.PokemonType" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Maps a type to a Pokémon. Each Pokémon has 1 or 2 types.</p>
|
||
<p>Table name: <em>pokemon_types</em></p>
|
||
<p>Primary key: <strong>pokemon_id</strong>, <strong>slot</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonType.<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>ID of the Pokémon</div></blockquote>
|
||
<p>PokemonType.<strong>type_id</strong> (→ <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>ID of the type</div></blockquote>
|
||
<p>PokemonType.<strong>slot</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The type’s slot, 1 or 2, used to sort types if there are two of them</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-typeefficacy">
|
||
<h3>TypeEfficacy<a class="headerlink" href="#dex-table-typeefficacy" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.TypeEfficacy">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">TypeEfficacy</tt><a class="headerlink" href="#pokedex.db.tables.TypeEfficacy" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The damage multiplier used when a move of a particular type damages a
|
||
Pokémon of a particular other type.</p>
|
||
<p>Table name: <em>type_efficacy</em></p>
|
||
<p>Primary key: <strong>damage_type_id</strong>, <strong>target_type_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>TypeEfficacy.<strong>damage_type</strong> (damage_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 damaging type.</div></blockquote>
|
||
<p>TypeEfficacy.<strong>target_type</strong> (target_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 defending Pokémon’s type.</div></blockquote>
|
||
<p>TypeEfficacy.<strong>damage_factor</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The multiplier, as a percentage of damage inflicted.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-versiongrouppokemonmovemethod">
|
||
<h3>VersionGroupPokemonMoveMethod<a class="headerlink" href="#dex-table-versiongrouppokemonmovemethod" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.VersionGroupPokemonMoveMethod">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">VersionGroupPokemonMoveMethod</tt><a class="headerlink" href="#pokedex.db.tables.VersionGroupPokemonMoveMethod" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Maps a version group to a move learn methods it supports.</p>
|
||
<p>“Supporting” means simply that the method appears in the game.
|
||
For example, Breeding didn’t exist in Gen.I, so it’s not in this table.</p>
|
||
<p>Table name: <em>version_group_pokemon_move_methods</em></p>
|
||
<p>Primary key: <strong>version_group_id</strong>, <strong>pokemon_move_method_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>VersionGroupPokemonMoveMethod.<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>The ID of the version group.</div></blockquote>
|
||
<p>VersionGroupPokemonMoveMethod.<strong>pokemon_move_method</strong> (pokemon_move_method_id → <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>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the move method.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-versiongroupregion">
|
||
<h3>VersionGroupRegion<a class="headerlink" href="#dex-table-versiongroupregion" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.VersionGroupRegion">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">VersionGroupRegion</tt><a class="headerlink" href="#pokedex.db.tables.VersionGroupRegion" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Maps a version group to a region that appears in it.</p>
|
||
<p>Table name: <em>version_group_regions</em></p>
|
||
<p>Primary key: <strong>version_group_id</strong>, <strong>region_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>VersionGroupRegion.<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>The ID of the version group.</div></blockquote>
|
||
<p>VersionGroupRegion.<strong>region</strong> (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>The ID of the region.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="index-maps">
|
||
<h2>Index maps<a class="headerlink" href="#index-maps" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-itemgameindex">
|
||
<h3>ItemGameIndex<a class="headerlink" href="#dex-table-itemgameindex" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ItemGameIndex">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ItemGameIndex</tt><a class="headerlink" href="#pokedex.db.tables.ItemGameIndex" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The internal ID number a game uses for an item</p>
|
||
<p>Table name: <em>item_game_indices</em></p>
|
||
<p>Primary key: <strong>item_id</strong>, <strong>generation_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ItemGameIndex.<strong>item</strong> (item_id → <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The database ID of the item</div></blockquote>
|
||
<p>ItemGameIndex.<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>ID of the generation of games</div></blockquote>
|
||
<p>ItemGameIndex.<strong>game_index</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Internal ID of the item in the generation</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-locationgameindex">
|
||
<h3>LocationGameIndex<a class="headerlink" href="#dex-table-locationgameindex" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.LocationGameIndex">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">LocationGameIndex</tt><a class="headerlink" href="#pokedex.db.tables.LocationGameIndex" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>IDs the games use internally for locations</p>
|
||
<p>Table name: <em>location_game_indices</em></p>
|
||
<p>Primary key: <strong>location_id</strong>, <strong>generation_id</strong>, <strong>game_index</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>LocationGameIndex.<strong>location</strong> (location_id → <a class="reference internal" href="#pokedex.db.tables.Location" title="pokedex.db.tables.Location"><tt class="xref py py-class docutils literal"><span class="pre">Location</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>Database ID of the locaion</div></blockquote>
|
||
<p>LocationGameIndex.<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>ID of the generation this entry to</div></blockquote>
|
||
<p>LocationGameIndex.<strong>game_index</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Internal game ID of the location</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemondexnumber">
|
||
<h3>PokemonDexNumber<a class="headerlink" href="#dex-table-pokemondexnumber" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonDexNumber">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonDexNumber</tt><a class="headerlink" href="#pokedex.db.tables.PokemonDexNumber" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The number of a species in a particular Pokédex (e.g. Jigglypuff is #138 in Hoenn’s ‘dex)</p>
|
||
<p>Table name: <em>pokemon_dex_numbers</em></p>
|
||
<p>Primary key: <strong>species_id</strong>, <strong>pokedex_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonDexNumber.<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>
|
||
<div>ID of the species</div></blockquote>
|
||
<p>PokemonDexNumber.<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>ID of the Pokédex</div></blockquote>
|
||
<p>PokemonDexNumber.<strong>pokedex_number</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Number of the Pokémon in that the Pokédex</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemonformgeneration">
|
||
<h3>PokemonFormGeneration<a class="headerlink" href="#dex-table-pokemonformgeneration" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonFormGeneration">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PokemonFormGeneration</tt><a class="headerlink" href="#pokedex.db.tables.PokemonFormGeneration" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Links Pokémon forms to the generations they exist in</p>
|
||
<p>Table name: <em>pokemon_form_generations</em></p>
|
||
<p>Primary key: <strong>pokemon_form_id</strong>, <strong>generation_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PokemonFormGeneration.<strong>pokemon_form_id</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>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the Pokémon form.</div></blockquote>
|
||
<p>PokemonFormGeneration.<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.</div></blockquote>
|
||
<p>PokemonFormGeneration.<strong>game_index</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The internal ID the games use for this form.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>PokemonFormGeneration.<strong>form</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>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-pokemongameindex">
|
||
<h3>PokemonGameIndex<a class="headerlink" href="#dex-table-pokemongameindex" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PokemonGameIndex">
|
||
<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>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>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 version</div></blockquote>
|
||
<p>PokemonGameIndex.<strong>game_index</strong> (<em>int</em>):</p>
|
||
<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>
|
||
</div>
|
||
<div class="section" id="mics-tables">
|
||
<h2>Mics tables<a class="headerlink" href="#mics-tables" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-experience">
|
||
<h3>Experience<a class="headerlink" href="#dex-table-experience" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.Experience">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">Experience</tt><a class="headerlink" href="#pokedex.db.tables.Experience" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>EXP needed for a certain level with a certain growth rate</p>
|
||
<p>Table name: <em>experience</em></p>
|
||
<p>Primary key: <strong>growth_rate_id</strong>, <strong>level</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>Experience.<strong>growth_rate</strong> (growth_rate_id → <a class="reference internal" href="#pokedex.db.tables.GrowthRate" title="pokedex.db.tables.GrowthRate"><tt class="xref py py-class docutils literal"><span class="pre">GrowthRate</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the growth rate</div></blockquote>
|
||
<p>Experience.<strong>level</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The level</div></blockquote>
|
||
<p>Experience.<strong>experience</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The number of EXP points needed to get to that level</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-palpark">
|
||
<h3>PalPark<a class="headerlink" href="#dex-table-palpark" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.PalPark">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">PalPark</tt><a class="headerlink" href="#pokedex.db.tables.PalPark" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Data for the Pal Park mini-game in Generation IV</p>
|
||
<p>Table name: <em>pal_park</em>
|
||
(single: <em>pal_park</em>)</p>
|
||
<p>Primary key: <strong>species_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>PalPark.<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>
|
||
<div>The Pokémon species this data pertains to</div></blockquote>
|
||
<p>PalPark.<strong>area</strong> (area_id → <a class="reference internal" href="#pokedex.db.tables.PalParkArea" title="pokedex.db.tables.PalParkArea"><tt class="xref py py-class docutils literal"><span class="pre">PalParkArea</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The area in which this Pokémon is found</div></blockquote>
|
||
<p>PalPark.<strong>base_score</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Used in calculating the player’s score at the end of a Pal Park run</div></blockquote>
|
||
<p>PalPark.<strong>rate</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Base rate for encountering this Pokémon</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-stathint">
|
||
<h3>StatHint<a class="headerlink" href="#dex-table-stathint" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.StatHint">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">StatHint</tt><a class="headerlink" href="#pokedex.db.tables.StatHint" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Flavor text for genes that appears in a Pokémon’s summary. Sometimes
|
||
called “characteristics”.</p>
|
||
<p>Table name: <em>stat_hints</em>
|
||
(single: <em>stat_hint</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>StatHint.<strong>stat</strong> (stat_id → <a class="reference internal" href="#pokedex.db.tables.Stat" title="pokedex.db.tables.Stat"><tt class="xref py py-class docutils literal"><span class="pre">Stat</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>ID of the highest stat</div></blockquote>
|
||
<p>StatHint.<strong>gene_mod_5</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>Value of the highest stat modulo 5</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>StatHint.<strong>message</strong> (<em>unicode – plaintext</em>) via <em>stat_hint_names</em></p>
|
||
<blockquote>
|
||
<div>The text displayed</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
<div class="section" id="conquest-tables">
|
||
<h2>Conquest tables<a class="headerlink" href="#conquest-tables" title="Permalink to this headline">¶</a></h2>
|
||
<div class="section" id="dex-table-conquestepisode">
|
||
<h3>ConquestEpisode<a class="headerlink" href="#dex-table-conquestepisode" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestEpisode">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestEpisode</tt><a class="headerlink" href="#pokedex.db.tables.ConquestEpisode" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An episode from Pokémon Conquest: one of a bunch of mini-stories
|
||
featuring a particular warrior.</p>
|
||
<p>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.</p>
|
||
<p>Table name: <em>conquest_episodes</em>
|
||
(single: <em>episode</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>conquest_episode_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestEpisode.<strong>warriors</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestWarrior" title="pokedex.db.tables.ConquestWarrior"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarrior</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Association table: <tt class="docutils literal"><span class="pre">conquest_episode_warriors</span></tt></div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestepisodewarrior">
|
||
<h3>ConquestEpisodeWarrior<a class="headerlink" href="#dex-table-conquestepisodewarrior" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestEpisodeWarrior">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestEpisodeWarrior</tt><a class="headerlink" href="#pokedex.db.tables.ConquestEpisodeWarrior" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A warrior featured in an episode in Pokémon Conquest.</p>
|
||
<p>This needs its own table because of the player having two episodes and
|
||
there being two players.</p>
|
||
<p>Table name: <em>conquest_episode_warriors</em></p>
|
||
<p>Primary key: <strong>episode_id</strong>, <strong>warrior_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestEpisodeWarrior.<strong>episode_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestEpisode" title="pokedex.db.tables.ConquestEpisode"><tt class="xref py py-class docutils literal"><span class="pre">ConquestEpisode</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the episode.</div></blockquote>
|
||
<p>ConquestEpisodeWarrior.<strong>warrior_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarrior" title="pokedex.db.tables.ConquestWarrior"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarrior</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the warrior.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestkingdom">
|
||
<h3>ConquestKingdom<a class="headerlink" href="#dex-table-conquestkingdom" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestKingdom">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestKingdom</tt><a class="headerlink" href="#pokedex.db.tables.ConquestKingdom" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A kingdom in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_kingdoms</em>
|
||
(single: <em>kingdom</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>conquest_kingdom_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestKingdom.<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 associated with this kingdom in-game.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestKingdom.<strong>evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestPokemonEvolution" title="pokedex.db.tables.ConquestPokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">ConquestPokemonEvolution</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestmaxlink">
|
||
<h3>ConquestMaxLink<a class="headerlink" href="#dex-table-conquestmaxlink" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestMaxLink">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestMaxLink</tt><a class="headerlink" href="#pokedex.db.tables.ConquestMaxLink" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The maximum link a warrior rank can reach with a Pokémon in Pokémon
|
||
Conquest.</p>
|
||
<p>Table name: <em>conquest_max_links</em></p>
|
||
<p>Primary key: <strong>warrior_rank_id</strong>, <strong>pokemon_species_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestMaxLink.<strong>warrior_rank</strong> (warrior_rank_id → <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorRank" title="pokedex.db.tables.ConquestWarriorRank"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorRank</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the warrior rank.</div></blockquote>
|
||
<p>ConquestMaxLink.<strong>pokemon_species_id</strong> (→ <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 Pokémon species.</div></blockquote>
|
||
<p>ConquestMaxLink.<strong>max_link</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The maximum link percentage this warrior rank and Pokémon can reach.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestMaxLink.<strong>pokemon</strong>
|
||
(→ <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>)</p>
|
||
<hr><p>Association Proxies:</p>
|
||
<p>ConquestMaxLink.<strong>warrior</strong>:
|
||
<tt class="docutils literal"><span class="pre">warrior</span></tt> of <tt class="docutils literal"><span class="pre">self.warrior_rank</span></tt></p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestmovedata">
|
||
<h3>ConquestMoveData<a class="headerlink" href="#dex-table-conquestmovedata" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestMoveData">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestMoveData</tt><a class="headerlink" href="#pokedex.db.tables.ConquestMoveData" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Data about a move in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_move_data</em></p>
|
||
<p>Primary key: <strong>move_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestMoveData.<strong>move</strong> (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.</div></blockquote>
|
||
<p>ConquestMoveData.<strong>power</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The move’s power, null if it does no damage.</div></blockquote>
|
||
<p>ConquestMoveData.<strong>accuracy</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The move’s base accuracy, null if it is self-targetted or never misses.</div></blockquote>
|
||
<p>ConquestMoveData.<strong>effect_chance</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The chance as a percentage that the move’s secondary effect will trigger.</div></blockquote>
|
||
<p>ConquestMoveData.<strong>effect</strong> (effect_id → <a class="reference internal" href="#pokedex.db.tables.ConquestMoveEffect" title="pokedex.db.tables.ConquestMoveEffect"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMoveEffect</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the move’s effect.</div></blockquote>
|
||
<p>ConquestMoveData.<strong>range</strong> (range_id → <a class="reference internal" href="#pokedex.db.tables.ConquestMoveRange" title="pokedex.db.tables.ConquestMoveRange"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMoveRange</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the move’s range.</div></blockquote>
|
||
<p>ConquestMoveData.<strong>displacement</strong> (displacement_id → <a class="reference internal" href="#pokedex.db.tables.ConquestMoveDisplacement" title="pokedex.db.tables.ConquestMoveDisplacement"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMoveDisplacement</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the move’s displacement.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestMoveData.<strong>move_displacement</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestMoveDisplacement" title="pokedex.db.tables.ConquestMoveDisplacement"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMoveDisplacement</span></tt></a>)</p>
|
||
<p>ConquestMoveData.<strong>move_effect</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestMoveEffect" title="pokedex.db.tables.ConquestMoveEffect"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMoveEffect</span></tt></a>)</p>
|
||
<hr><p>Undocumented:</p>
|
||
<p>ConquestMoveData.<strong>effect_map</strong></p>
|
||
<p>ConquestMoveData.<strong>short_effect</strong></p>
|
||
<p>ConquestMoveData.<strong>short_effect_map</strong></p>
|
||
<hr><dl class="attribute">
|
||
<dt id="pokedex.db.tables.ConquestMoveData.star_rating">
|
||
<tt class="descname">star_rating</tt><a class="headerlink" href="#pokedex.db.tables.ConquestMoveData.star_rating" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Return the move’s in-game power rating as a number of stars.</p>
|
||
</dd></dl>
|
||
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestmovedisplacement">
|
||
<h3>ConquestMoveDisplacement<a class="headerlink" href="#dex-table-conquestmovedisplacement" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestMoveDisplacement">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestMoveDisplacement</tt><a class="headerlink" href="#pokedex.db.tables.ConquestMoveDisplacement" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A way in which a move can cause the user or target to move to a
|
||
different tile.</p>
|
||
<p>If a move displaces its user, the move’s range is relative to the user’s
|
||
original position.</p>
|
||
<p>Table name: <em>conquest_move_displacements</em>
|
||
(single: <em>move_displacement</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>conquest_move_displacement_prose</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestMoveDisplacement.<strong>affects_target</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>True iff the move displaces its target(s) and not its user.</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>ConquestMoveDisplacement.<strong>short_effect</strong> (<em>unicode – markdown</em>) via <em>conquest_move_displacement_prose</em></p>
|
||
<blockquote>
|
||
<div>A short summary of how the displacement works, to be used in the move’s short effect.</div></blockquote>
|
||
<p>ConquestMoveDisplacement.<strong>effect</strong> (<em>unicode – markdown</em>) via <em>conquest_move_displacement_prose</em></p>
|
||
<blockquote>
|
||
<div>A detailed description of how the displacement works, to be used alongside the move’s long effect.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestMoveDisplacement.<strong>move_data</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestMoveData" title="pokedex.db.tables.ConquestMoveData"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMoveData</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestmoveeffect">
|
||
<h3>ConquestMoveEffect<a class="headerlink" href="#dex-table-conquestmoveeffect" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestMoveEffect">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestMoveEffect</tt><a class="headerlink" href="#pokedex.db.tables.ConquestMoveEffect" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An effect moves can have in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_move_effects</em>
|
||
(single: <em>conquest_move_effect</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>ConquestMoveEffect.<strong>short_effect</strong> (<em>unicode – markdown</em>) via <em>conquest_move_effect_prose</em></p>
|
||
<blockquote>
|
||
<div>A short summary of the effect</div></blockquote>
|
||
<p>ConquestMoveEffect.<strong>effect</strong> (<em>unicode – markdown</em>) via <em>conquest_move_effect_prose</em></p>
|
||
<blockquote>
|
||
<div>A detailed description of the effect</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestMoveEffect.<strong>move_data</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestMoveData" title="pokedex.db.tables.ConquestMoveData"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMoveData</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestmoverange">
|
||
<h3>ConquestMoveRange<a class="headerlink" href="#dex-table-conquestmoverange" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestMoveRange">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestMoveRange</tt><a class="headerlink" href="#pokedex.db.tables.ConquestMoveRange" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A set of tiles moves can target in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_move_ranges</em>
|
||
(single: <em>conquest_move_range</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>conquest_move_range_prose</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestMoveRange.<strong>targets</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The number of tiles this range targets.</div></blockquote>
|
||
<hr><p>Internationalized strings:</p>
|
||
<p>ConquestMoveRange.<strong>description</strong> (<em>unicode – plaintext</em>) via <em>conquest_move_range_prose</em></p>
|
||
<blockquote>
|
||
<div>A detailed description of the range</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestMoveRange.<strong>move_data</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestMoveData" title="pokedex.db.tables.ConquestMoveData"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMoveData</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestpokemonability">
|
||
<h3>ConquestPokemonAbility<a class="headerlink" href="#dex-table-conquestpokemonability" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestPokemonAbility">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestPokemonAbility</tt><a class="headerlink" href="#pokedex.db.tables.ConquestPokemonAbility" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An ability a Pokémon species has in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_pokemon_abilities</em></p>
|
||
<p>Primary key: <strong>pokemon_species_id</strong>, <strong>slot</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestPokemonAbility.<strong>pokemon_species_id</strong> (→ <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 Pokémon species with this ability.</div></blockquote>
|
||
<p>ConquestPokemonAbility.<strong>slot</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The order abilities are listed in. Upon evolution, if a Pokémon’s abilities change, it will receive the one in the same slot.</div></blockquote>
|
||
<p>ConquestPokemonAbility.<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>
|
||
<blockquote>
|
||
<div>The ID of the ability.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestpokemonevolution">
|
||
<h3>ConquestPokemonEvolution<a class="headerlink" href="#dex-table-conquestpokemonevolution" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestPokemonEvolution">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestPokemonEvolution</tt><a class="headerlink" href="#pokedex.db.tables.ConquestPokemonEvolution" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The conditions under which a Pokémon must successfully complete an
|
||
action to evolve in Pokémon Conquest.</p>
|
||
<p>Any condition may be null if it does not apply for a particular Pokémon.</p>
|
||
<p>Table name: <em>conquest_pokemon_evolution</em></p>
|
||
<p>Primary key: <strong>evolved_species_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestPokemonEvolution.<strong>evolved_species</strong> (evolved_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 post-evolution species.</div></blockquote>
|
||
<p>ConquestPokemonEvolution.<strong>required_stat_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestStat" title="pokedex.db.tables.ConquestStat"><tt class="xref py py-class docutils literal"><span class="pre">ConquestStat</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the stat which minimum_stat applies to.</div></blockquote>
|
||
<p>ConquestPokemonEvolution.<strong>minimum_stat</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The minimum value the Pokémon must have in a particular stat.</div></blockquote>
|
||
<p>ConquestPokemonEvolution.<strong>minimum_link</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The minimum link percentage the Pokémon must have with its warrior.</div></blockquote>
|
||
<p>ConquestPokemonEvolution.<strong>kingdom</strong> (kingdom_id → <a class="reference internal" href="#pokedex.db.tables.ConquestKingdom" title="pokedex.db.tables.ConquestKingdom"><tt class="xref py py-class docutils literal"><span class="pre">ConquestKingdom</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the kingdom in which this Pokémon must complete an action after meeting all other requirements.</div></blockquote>
|
||
<p>ConquestPokemonEvolution.<strong>warrior_gender_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Gender" title="pokedex.db.tables.Gender"><tt class="xref py py-class docutils literal"><span class="pre">Gender</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the gender the Pokémon’s warrior must be.</div></blockquote>
|
||
<p>ConquestPokemonEvolution.<strong>item</strong> (item_id → <a class="reference internal" href="#pokedex.db.tables.Item" title="pokedex.db.tables.Item"><tt class="xref py py-class docutils literal"><span class="pre">Item</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the item the Pokémon’s warrior must have equipped.</div></blockquote>
|
||
<p>ConquestPokemonEvolution.<strong>recruiting_ko_required</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>If true, the Pokémon must KO a Pokémon under the right conditions to recruit that Pokémon’s warrior.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestPokemonEvolution.<strong>gender</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.Gender" title="pokedex.db.tables.Gender"><tt class="xref py py-class docutils literal"><span class="pre">Gender</span></tt></a>)</p>
|
||
<p>ConquestPokemonEvolution.<strong>stat</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestStat" title="pokedex.db.tables.ConquestStat"><tt class="xref py py-class docutils literal"><span class="pre">ConquestStat</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestpokemonmove">
|
||
<h3>ConquestPokemonMove<a class="headerlink" href="#dex-table-conquestpokemonmove" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestPokemonMove">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestPokemonMove</tt><a class="headerlink" href="#pokedex.db.tables.ConquestPokemonMove" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Pokémon’s move in Pokémon Conquest.</p>
|
||
<p>Yes, “move”; each Pokémon has exactly one.</p>
|
||
<p>Table name: <em>conquest_pokemon_moves</em></p>
|
||
<p>Primary key: <strong>pokemon_species_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestPokemonMove.<strong>pokemon_species_id</strong> (→ <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 Pokémon species.</div></blockquote>
|
||
<p>ConquestPokemonMove.<strong>move_id</strong> (→ <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.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestpokemonstat">
|
||
<h3>ConquestPokemonStat<a class="headerlink" href="#dex-table-conquestpokemonstat" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestPokemonStat">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestPokemonStat</tt><a class="headerlink" href="#pokedex.db.tables.ConquestPokemonStat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Pokémon’s base stat in Pokémon Conquest.</p>
|
||
<p>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.</p>
|
||
<p>Table name: <em>conquest_pokemon_stats</em></p>
|
||
<p>Primary key: <strong>pokemon_species_id</strong>, <strong>conquest_stat_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestPokemonStat.<strong>pokemon_species_id</strong> (→ <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 Pokémon species.</div></blockquote>
|
||
<p>ConquestPokemonStat.<strong>conquest_stat_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestStat" title="pokedex.db.tables.ConquestStat"><tt class="xref py py-class docutils literal"><span class="pre">ConquestStat</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the stat.</div></blockquote>
|
||
<p>ConquestPokemonStat.<strong>base_stat</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The base stat.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestPokemonStat.<strong>pokemon</strong>
|
||
(→ <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>)</p>
|
||
<p>ConquestPokemonStat.<strong>stat</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestStat" title="pokedex.db.tables.ConquestStat"><tt class="xref py py-class docutils literal"><span class="pre">ConquestStat</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conqueststat">
|
||
<h3>ConquestStat<a class="headerlink" href="#dex-table-conqueststat" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestStat">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestStat</tt><a class="headerlink" href="#pokedex.db.tables.ConquestStat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A stat Pokémon have in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_stats</em>
|
||
(single: <em>conquest_stat</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>conquest_stat_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestStat.<strong>is_base</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>True iff this is one of the main stats, calculated for individual Pokémon.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestStat.<strong>evolutions</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestPokemonEvolution" title="pokedex.db.tables.ConquestPokemonEvolution"><tt class="xref py py-class docutils literal"><span class="pre">ConquestPokemonEvolution</span></tt></a>])</p>
|
||
<p>ConquestStat.<strong>pokemon_stats</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestPokemonStat" title="pokedex.db.tables.ConquestPokemonStat"><tt class="xref py py-class docutils literal"><span class="pre">ConquestPokemonStat</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquesttransformationpokemon">
|
||
<h3>ConquestTransformationPokemon<a class="headerlink" href="#dex-table-conquesttransformationpokemon" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestTransformationPokemon">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestTransformationPokemon</tt><a class="headerlink" href="#pokedex.db.tables.ConquestTransformationPokemon" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A Pokémon that satisfies a warrior transformation’s link condition.</p>
|
||
<p>If a warrior has one or more Pokémon listed here, they only need to raise
|
||
one of them to the required link.</p>
|
||
<p>Table name: <em>conquest_transformation_pokemon</em></p>
|
||
<p>Primary key: <strong>transformation_id</strong>, <strong>pokemon_species_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestTransformationPokemon.<strong>transformation_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorTransformation" title="pokedex.db.tables.ConquestWarriorTransformation"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorTransformation</span></tt></a>.transformed_warrior_rank_id):</p>
|
||
<blockquote>
|
||
<div>The ID of the corresponding transformation, in turn a warrior rank ID.</div></blockquote>
|
||
<p>ConquestTransformationPokemon.<strong>pokemon_species_id</strong> (→ <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 Pokémon species.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquesttransformationwarrior">
|
||
<h3>ConquestTransformationWarrior<a class="headerlink" href="#dex-table-conquesttransformationwarrior" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestTransformationWarrior">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestTransformationWarrior</tt><a class="headerlink" href="#pokedex.db.tables.ConquestTransformationWarrior" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A warrior who must be present in the same nation as another warrior for
|
||
the latter to transform into their next rank.</p>
|
||
<p>If a warrior has one or more other warriors listed here, they <em>all</em> need to
|
||
gather in the same nation for the transformation to take place.</p>
|
||
<p>Table name: <em>conquest_transformation_warriors</em></p>
|
||
<p>Primary key: <strong>transformation_id</strong>, <strong>present_warrior_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestTransformationWarrior.<strong>transformation_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorTransformation" title="pokedex.db.tables.ConquestWarriorTransformation"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorTransformation</span></tt></a>.transformed_warrior_rank_id):</p>
|
||
<blockquote>
|
||
<div>The ID of the corresponding transformation, in turn a warrior rank ID.</div></blockquote>
|
||
<p>ConquestTransformationWarrior.<strong>present_warrior_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarrior" title="pokedex.db.tables.ConquestWarrior"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarrior</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the other warrior who must be present.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestwarrior">
|
||
<h3>ConquestWarrior<a class="headerlink" href="#dex-table-conquestwarrior" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestWarrior">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestWarrior</tt><a class="headerlink" href="#pokedex.db.tables.ConquestWarrior" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A warrior in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_warriors</em>
|
||
(single: <em>warrior</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>conquest_warrior_names</em>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestWarrior.<strong>gender_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.Gender" title="pokedex.db.tables.Gender"><tt class="xref py py-class docutils literal"><span class="pre">Gender</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the warrior’s gender.</div></blockquote>
|
||
<p>ConquestWarrior.<strong>archetype</strong> (archetype_id → <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorArchetype" title="pokedex.db.tables.ConquestWarriorArchetype"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorArchetype</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of this warrior’s archetype. Null for unique warriors.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestWarrior.<strong>episodes</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestEpisode" title="pokedex.db.tables.ConquestEpisode"><tt class="xref py py-class docutils literal"><span class="pre">ConquestEpisode</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Association table: <tt class="docutils literal"><span class="pre">conquest_episode_warriors</span></tt></div></blockquote>
|
||
<p>ConquestWarrior.<strong>ranks</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestWarriorRank" title="pokedex.db.tables.ConquestWarriorRank"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorRank</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">conquest_warrior_ranks.rank</span></tt></div></blockquote>
|
||
<p>ConquestWarrior.<strong>types</strong>
|
||
(→ [<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>])</p>
|
||
<blockquote>
|
||
<div><p>Association table: <tt class="docutils literal"><span class="pre">conquest_warrior_specialties</span></tt></p>
|
||
<p>Ordered by: <tt class="docutils literal"><span class="pre">conquest_warrior_specialties.slot</span></tt></p>
|
||
</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestwarriorarchetype">
|
||
<h3>ConquestWarriorArchetype<a class="headerlink" href="#dex-table-conquestwarriorarchetype" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestWarriorArchetype">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestWarriorArchetype</tt><a class="headerlink" href="#pokedex.db.tables.ConquestWarriorArchetype" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>An archetype that generic warriors in Pokémon Conquest can have. All
|
||
warriors of a particular archetype share sprites and dialogue.</p>
|
||
<p>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.</p>
|
||
<p>Table name: <em>conquest_warrior_archetypes</em>
|
||
(single: <em>archetype</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong> and <strong>identifier</strong>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestWarriorArchetype.<strong>warriors</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestWarrior" title="pokedex.db.tables.ConquestWarrior"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarrior</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestwarriorrank">
|
||
<h3>ConquestWarriorRank<a class="headerlink" href="#dex-table-conquestwarriorrank" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestWarriorRank">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestWarriorRank</tt><a class="headerlink" href="#pokedex.db.tables.ConquestWarriorRank" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A warrior at a particular rank in Pokémon Conquest.</p>
|
||
<p>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.</p>
|
||
<p>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”.</p>
|
||
<p>Table name: <em>conquest_warrior_ranks</em>
|
||
(single: <em>warrior_rank</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestWarriorRank.<strong>warrior</strong> (warrior_id → <a class="reference internal" href="#pokedex.db.tables.ConquestWarrior" title="pokedex.db.tables.ConquestWarrior"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarrior</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the warrior.</div></blockquote>
|
||
<p>ConquestWarriorRank.<strong>rank</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The rank number.</div></blockquote>
|
||
<p>ConquestWarriorRank.<strong>skill</strong> (skill_id → <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorSkill" title="pokedex.db.tables.ConquestWarriorSkill"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorSkill</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of this warrior rank’s warrior skill.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestWarriorRank.<strong>max_links</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestMaxLink" title="pokedex.db.tables.ConquestMaxLink"><tt class="xref py py-class docutils literal"><span class="pre">ConquestMaxLink</span></tt></a>])</p>
|
||
<p>ConquestWarriorRank.<strong>stats</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestWarriorRankStatMap" title="pokedex.db.tables.ConquestWarriorRankStatMap"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorRankStatMap</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">conquest_warrior_rank_stat_map.warrior_stat_id</span></tt></div></blockquote>
|
||
<p>ConquestWarriorRank.<strong>transformation</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorTransformation" title="pokedex.db.tables.ConquestWarriorTransformation"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorTransformation</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestwarriorrankstatmap">
|
||
<h3>ConquestWarriorRankStatMap<a class="headerlink" href="#dex-table-conquestwarriorrankstatmap" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestWarriorRankStatMap">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestWarriorRankStatMap</tt><a class="headerlink" href="#pokedex.db.tables.ConquestWarriorRankStatMap" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>Any of a warrior rank’s warrior stats in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_warrior_rank_stat_map</em></p>
|
||
<p>Primary key: <strong>warrior_rank_id</strong>, <strong>warrior_stat_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestWarriorRankStatMap.<strong>warrior_rank</strong> (warrior_rank_id → <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorRank" title="pokedex.db.tables.ConquestWarriorRank"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorRank</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the warrior rank.</div></blockquote>
|
||
<p>ConquestWarriorRankStatMap.<strong>warrior_stat_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorStat" title="pokedex.db.tables.ConquestWarriorStat"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorStat</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the warrior stat.</div></blockquote>
|
||
<p>ConquestWarriorRankStatMap.<strong>base_stat</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The stat.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestWarriorRankStatMap.<strong>stat</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorStat" title="pokedex.db.tables.ConquestWarriorStat"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorStat</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestwarriorskill">
|
||
<h3>ConquestWarriorSkill<a class="headerlink" href="#dex-table-conquestwarriorskill" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestWarriorSkill">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestWarriorSkill</tt><a class="headerlink" href="#pokedex.db.tables.ConquestWarriorSkill" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A warrior skill in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_warrior_skills</em>
|
||
(single: <em>skill</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>conquest_warrior_skill_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestWarriorSkill.<strong>warrior_ranks</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestWarriorRank" title="pokedex.db.tables.ConquestWarriorRank"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorRank</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div>Ordered by: <tt class="docutils literal"><span class="pre">conquest_warrior_ranks.id</span></tt></div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestwarriorspecialty">
|
||
<h3>ConquestWarriorSpecialty<a class="headerlink" href="#dex-table-conquestwarriorspecialty" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestWarriorSpecialty">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestWarriorSpecialty</tt><a class="headerlink" href="#pokedex.db.tables.ConquestWarriorSpecialty" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A warrior’s specialty types in Pokémon Conquest.</p>
|
||
<p>These have no actual effect on gameplay; they just indicate which types of
|
||
Pokémon each warrior generally has strong maximum links with.</p>
|
||
<p>Table name: <em>conquest_warrior_specialties</em></p>
|
||
<p>Primary key: <strong>warrior_id</strong>, <strong>type_id</strong>, <strong>slot</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestWarriorSpecialty.<strong>warrior_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarrior" title="pokedex.db.tables.ConquestWarrior"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarrior</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the warrior.</div></blockquote>
|
||
<p>ConquestWarriorSpecialty.<strong>type_id</strong> (→ <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.</div></blockquote>
|
||
<p>ConquestWarriorSpecialty.<strong>slot</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The order in which the warrior’s types are listed.</div></blockquote>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestwarriorstat">
|
||
<h3>ConquestWarriorStat<a class="headerlink" href="#dex-table-conquestwarriorstat" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestWarriorStat">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestWarriorStat</tt><a class="headerlink" href="#pokedex.db.tables.ConquestWarriorStat" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>A stat that warriors have in Pokémon Conquest.</p>
|
||
<p>Table name: <em>conquest_warrior_stats</em>
|
||
(single: <em>warrior_stat</em>)</p>
|
||
<p>Primary key: <strong>id</strong>.</p>
|
||
<p>Has
|
||
<strong>id</strong>, <strong>identifier</strong>, and <strong>name</strong> via <em>conquest_warrior_stat_names</em>.</p>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestWarriorStat.<strong>stat_map</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestWarriorRankStatMap" title="pokedex.db.tables.ConquestWarriorRankStatMap"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorRankStatMap</span></tt></a>])</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
<div class="section" id="dex-table-conquestwarriortransformation">
|
||
<h3>ConquestWarriorTransformation<a class="headerlink" href="#dex-table-conquestwarriortransformation" title="Permalink to this headline">¶</a></h3>
|
||
<dl class="dex-table">
|
||
<dt id="pokedex.db.tables.ConquestWarriorTransformation">
|
||
<tt class="descclassname">pokedex.db.tables.</tt><tt class="descname">ConquestWarriorTransformation</tt><a class="headerlink" href="#pokedex.db.tables.ConquestWarriorTransformation" title="Permalink to this definition">¶</a></dt>
|
||
<dd><p>The conditions under which a warrior must perform an action in order
|
||
to transform to the next rank.</p>
|
||
<p>Or most of them, anyway. See also ConquestTransformationPokemon and
|
||
ConquestTransformationWarrior.</p>
|
||
<p>Table name: <em>conquest_warrior_transformation</em></p>
|
||
<p>Primary key: <strong>transformed_warrior_rank_id</strong>.</p>
|
||
<hr><p>Columns:</p>
|
||
<p>ConquestWarriorTransformation.<strong>transformed_warrior_rank_id</strong> (→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorRank" title="pokedex.db.tables.ConquestWarriorRank"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorRank</span></tt></a>.id):</p>
|
||
<blockquote>
|
||
<div>The ID of the post-transformation warrior rank.</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>is_automatic</strong> (<em>bool</em>):</p>
|
||
<blockquote>
|
||
<div>True iff the transformation happens automatically in the story with no further requirements.</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>required_link</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The link percentage the warrior must reach with one of several specific Pokémon, if any.</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>completed_episode</strong> (completed_episode_id → <a class="reference internal" href="#pokedex.db.tables.ConquestEpisode" title="pokedex.db.tables.ConquestEpisode"><tt class="xref py py-class docutils literal"><span class="pre">ConquestEpisode</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the episode the player must have completed, if any.</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>current_episode</strong> (current_episode_id → <a class="reference internal" href="#pokedex.db.tables.ConquestEpisode" title="pokedex.db.tables.ConquestEpisode"><tt class="xref py py-class docutils literal"><span class="pre">ConquestEpisode</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of the episode the player must currently be playing, if any.</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>distant_warrior</strong> (distant_warrior_id → <a class="reference internal" href="#pokedex.db.tables.ConquestWarrior" title="pokedex.db.tables.ConquestWarrior"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarrior</span></tt></a>.id)</p>
|
||
<blockquote>
|
||
<div>The ID of another warrior who must be in the army, but not in the same kingdom or in any adjacent kingdom.</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>female_warlord_count</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The number of female warlords who must be in the same nation.</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>pokemon_count</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The number of Pokémon that must be registered in the gallery.</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>collection_type_id</strong> (→ <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 all Pokémon of which must be registered in the gallery.</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>warrior_count</strong> (<em>int</em>):</p>
|
||
<blockquote>
|
||
<div>The number of warriors that must be registered in the gallery.</div></blockquote>
|
||
<hr><p>Relationships:</p>
|
||
<p>ConquestWarriorTransformation.<strong>pokemon</strong>
|
||
(→ [<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>])</p>
|
||
<blockquote>
|
||
<div><p>Association table: <tt class="docutils literal"><span class="pre">conquest_transformation_pokemon</span></tt></p>
|
||
<p>Ordered by: <tt class="docutils literal"><span class="pre">pokemon_species.conquest_order</span></tt></p>
|
||
</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>present_warriors</strong>
|
||
(→ [<a class="reference internal" href="#pokedex.db.tables.ConquestWarrior" title="pokedex.db.tables.ConquestWarrior"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarrior</span></tt></a>])</p>
|
||
<blockquote>
|
||
<div><p>Association table: <tt class="docutils literal"><span class="pre">conquest_transformation_warriors</span></tt></p>
|
||
<p>Ordered by: <tt class="docutils literal"><span class="pre">conquest_warriors.id</span></tt></p>
|
||
</div></blockquote>
|
||
<p>ConquestWarriorTransformation.<strong>type</strong>
|
||
(→ <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>)</p>
|
||
<p>ConquestWarriorTransformation.<strong>warrior_rank</strong>
|
||
(→ <a class="reference internal" href="#pokedex.db.tables.ConquestWarriorRank" title="pokedex.db.tables.ConquestWarriorRank"><tt class="xref py py-class docutils literal"><span class="pre">ConquestWarriorRank</span></tt></a>)</p>
|
||
</dd></dl>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="sphinxsidebar">
|
||
<div class="sphinxsidebarwrapper">
|
||
<h3><a href="index.html">Table Of Contents</a></h3>
|
||
<ul>
|
||
<li><a class="reference internal" href="#">The pokédex tables</a><ul>
|
||
<li><a class="reference internal" href="#pokemon">Pokémon</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-pokemonspecies">PokemonSpecies</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemon">Pokemon</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemonform">PokemonForm</a></li>
|
||
<li><a class="reference internal" href="#dex-table-evolutionchain">EvolutionChain</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemonevolution">PokemonEvolution</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#moves">Moves</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-move">Move</a></li>
|
||
<li><a class="reference internal" href="#dex-table-moveeffect">MoveEffect</a></li>
|
||
<li><a class="reference internal" href="#dex-table-movemeta">MoveMeta</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#items">Items</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-item">Item</a></li>
|
||
<li><a class="reference internal" href="#dex-table-berry">Berry</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#types">Types</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-type">Type</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#abilities">Abilities</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-ability">Ability</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#language">Language</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-language">Language</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#version-stuff">Version stuff</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-generation">Generation</a></li>
|
||
<li><a class="reference internal" href="#dex-table-versiongroup">VersionGroup</a></li>
|
||
<li><a class="reference internal" href="#dex-table-version">Version</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokedex">Pokedex</a></li>
|
||
<li><a class="reference internal" href="#dex-table-region">Region</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#encounters">Encounters</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-location">Location</a></li>
|
||
<li><a class="reference internal" href="#dex-table-locationarea">LocationArea</a></li>
|
||
<li><a class="reference internal" href="#dex-table-locationareaencounterrate">LocationAreaEncounterRate</a></li>
|
||
<li><a class="reference internal" href="#dex-table-encounter">Encounter</a></li>
|
||
<li><a class="reference internal" href="#dex-table-encountercondition">EncounterCondition</a></li>
|
||
<li><a class="reference internal" href="#dex-table-encounterconditionvalue">EncounterConditionValue</a></li>
|
||
<li><a class="reference internal" href="#dex-table-encountermethod">EncounterMethod</a></li>
|
||
<li><a class="reference internal" href="#dex-table-encounterslot">EncounterSlot</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#contests">Contests</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-contestcombo">ContestCombo</a></li>
|
||
<li><a class="reference internal" href="#dex-table-contesteffect">ContestEffect</a></li>
|
||
<li><a class="reference internal" href="#dex-table-supercontestcombo">SuperContestCombo</a></li>
|
||
<li><a class="reference internal" href="#dex-table-supercontesteffect">SuperContestEffect</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#enum-tables">Enum tables</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-berryfirmness">BerryFirmness</a></li>
|
||
<li><a class="reference internal" href="#dex-table-contesttype">ContestType</a></li>
|
||
<li><a class="reference internal" href="#dex-table-egggroup">EggGroup</a></li>
|
||
<li><a class="reference internal" href="#dex-table-evolutiontrigger">EvolutionTrigger</a></li>
|
||
<li><a class="reference internal" href="#dex-table-gender">Gender</a></li>
|
||
<li><a class="reference internal" href="#dex-table-growthrate">GrowthRate</a></li>
|
||
<li><a class="reference internal" href="#dex-table-itemcategory">ItemCategory</a></li>
|
||
<li><a class="reference internal" href="#dex-table-itemflingeffect">ItemFlingEffect</a></li>
|
||
<li><a class="reference internal" href="#dex-table-itempocket">ItemPocket</a></li>
|
||
<li><a class="reference internal" href="#dex-table-movebattlestyle">MoveBattleStyle</a></li>
|
||
<li><a class="reference internal" href="#dex-table-movedamageclass">MoveDamageClass</a></li>
|
||
<li><a class="reference internal" href="#dex-table-movemetaailment">MoveMetaAilment</a></li>
|
||
<li><a class="reference internal" href="#dex-table-movemetacategory">MoveMetaCategory</a></li>
|
||
<li><a class="reference internal" href="#dex-table-movetarget">MoveTarget</a></li>
|
||
<li><a class="reference internal" href="#dex-table-nature">Nature</a></li>
|
||
<li><a class="reference internal" href="#dex-table-palparkarea">PalParkArea</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemoncolor">PokemonColor</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemonmovemethod">PokemonMoveMethod</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemonshape">PokemonShape</a></li>
|
||
<li><a class="reference internal" href="#dex-table-stat">Stat</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#changelogs">Changelogs</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-abilitychangelog">AbilityChangelog</a></li>
|
||
<li><a class="reference internal" href="#dex-table-moveeffectchangelog">MoveEffectChangelog</a></li>
|
||
<li><a class="reference internal" href="#dex-table-movechangelog">MoveChangelog</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#flavor-text">Flavor text</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-itemflavortext">ItemFlavorText</a></li>
|
||
<li><a class="reference internal" href="#dex-table-abilityflavortext">AbilityFlavorText</a></li>
|
||
<li><a class="reference internal" href="#dex-table-moveflavortext">MoveFlavorText</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemonspeciesflavortext">PokemonSpeciesFlavorText</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#association-tables">Association tables</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-berryflavor">BerryFlavor</a></li>
|
||
<li><a class="reference internal" href="#dex-table-encounterconditionvaluemap">EncounterConditionValueMap</a></li>
|
||
<li><a class="reference internal" href="#dex-table-itemflag">ItemFlag</a></li>
|
||
<li><a class="reference internal" href="#dex-table-itemflagmap">ItemFlagMap</a></li>
|
||
<li><a class="reference internal" href="#dex-table-machine">Machine</a></li>
|
||
<li><a class="reference internal" href="#dex-table-moveflag">MoveFlag</a></li>
|
||
<li><a class="reference internal" href="#dex-table-moveflagmap">MoveFlagMap</a></li>
|
||
<li><a class="reference internal" href="#dex-table-movemetastatchange">MoveMetaStatChange</a></li>
|
||
<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>
|
||
<li><a class="reference internal" href="#dex-table-pokemonhabitat">PokemonHabitat</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemonmove">PokemonMove</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemonstat">PokemonStat</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemonitem">PokemonItem</a></li>
|
||
<li><a class="reference internal" href="#dex-table-pokemontype">PokemonType</a></li>
|
||
<li><a class="reference internal" href="#dex-table-typeefficacy">TypeEfficacy</a></li>
|
||
<li><a class="reference internal" href="#dex-table-versiongrouppokemonmovemethod">VersionGroupPokemonMoveMethod</a></li>
|
||
<li><a class="reference internal" href="#dex-table-versiongroupregion">VersionGroupRegion</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#index-maps">Index maps</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-itemgameindex">ItemGameIndex</a></li>
|
||
<li><a class="reference internal" href="#dex-table-locationgameindex">LocationGameIndex</a></li>
|
||
<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>
|
||
<li><a class="reference internal" href="#dex-table-experience">Experience</a></li>
|
||
<li><a class="reference internal" href="#dex-table-palpark">PalPark</a></li>
|
||
<li><a class="reference internal" href="#dex-table-stathint">StatHint</a></li>
|
||
</ul>
|
||
</li>
|
||
<li><a class="reference internal" href="#conquest-tables">Conquest tables</a><ul>
|
||
<li><a class="reference internal" href="#dex-table-conquestepisode">ConquestEpisode</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestepisodewarrior">ConquestEpisodeWarrior</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestkingdom">ConquestKingdom</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestmaxlink">ConquestMaxLink</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestmovedata">ConquestMoveData</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestmovedisplacement">ConquestMoveDisplacement</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestmoveeffect">ConquestMoveEffect</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestmoverange">ConquestMoveRange</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestpokemonability">ConquestPokemonAbility</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestpokemonevolution">ConquestPokemonEvolution</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestpokemonmove">ConquestPokemonMove</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestpokemonstat">ConquestPokemonStat</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conqueststat">ConquestStat</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquesttransformationpokemon">ConquestTransformationPokemon</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquesttransformationwarrior">ConquestTransformationWarrior</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestwarrior">ConquestWarrior</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestwarriorarchetype">ConquestWarriorArchetype</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestwarriorrank">ConquestWarriorRank</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestwarriorrankstatmap">ConquestWarriorRankStatMap</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestwarriorskill">ConquestWarriorSkill</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestwarriorspecialty">ConquestWarriorSpecialty</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestwarriorstat">ConquestWarriorStat</a></li>
|
||
<li><a class="reference internal" href="#dex-table-conquestwarriortransformation">ConquestWarriorTransformation</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
|
||
<h4>Previous topic</h4>
|
||
<p class="topless"><a href="schema.html"
|
||
title="previous chapter">The database schema</a></p>
|
||
<h3>This Page</h3>
|
||
<ul class="this-page-menu">
|
||
<li><a href="_sources/main-tables.txt"
|
||
rel="nofollow">Show Source</a></li>
|
||
</ul>
|
||
<div id="searchbox" style="display: none">
|
||
<h3>Quick search</h3>
|
||
<form class="search" action="search.html" method="get">
|
||
<input type="text" name="q" />
|
||
<input type="submit" value="Go" />
|
||
<input type="hidden" name="check_keywords" value="yes" />
|
||
<input type="hidden" name="area" value="default" />
|
||
</form>
|
||
<p class="searchtip" style="font-size: 90%">
|
||
Enter search terms or a module, class or function name.
|
||
</p>
|
||
</div>
|
||
<script type="text/javascript">$('#searchbox').show(0);</script>
|
||
</div>
|
||
</div>
|
||
<div class="clearer"></div>
|
||
</div>
|
||
<div class="related">
|
||
<h3>Navigation</h3>
|
||
<ul>
|
||
<li class="right" style="margin-right: 10px">
|
||
<a href="genindex.html" title="General Index"
|
||
>index</a></li>
|
||
<li class="right" >
|
||
<a href="py-modindex.html" title="Python Module Index"
|
||
>modules</a> |</li>
|
||
<li class="right" >
|
||
<a href="schema.html" title="The database schema"
|
||
>previous</a> |</li>
|
||
<li><a href="index.html">pokedex 0.1 documentation</a> »</li>
|
||
<li><a href="schema.html" >The database schema</a> »</li>
|
||
</ul>
|
||
</div>
|
||
<div class="footer">
|
||
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
|
||
</div>
|
||
</body>
|
||
</html> |