1
0
Fork 0
mirror of https://github.com/veekun/pokedex.git synced 2024-08-20 18:16:34 +00:00

Merge pull request from jrubinator/record-gift-pokemon

Record gift pokemon
This commit is contained in:
Andrew Ekstedt 2019-07-12 19:40:29 -07:00 committed by GitHub
commit db824220d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 689 additions and 1 deletions
pokedex/db

View file

@ -850,7 +850,17 @@ create_translation_table('encounter_method_prose', EncounterMethod, 'prose',
)
class EncounterSlot(TableBase):
u"""An abstract "slot" within a method, associated with both some set of conditions and a rarity."""
u"""An abstract "slot" within a method, associated with both some set of conditions and a rarity.
"slot" has a very specific meaning:
If during gameplay you know sufficient details about the current game state,
you can predict which slot (and therefore which pokemon) will spawn.
There are currently two reasons that "slot" might be empty:
1) The slot corresponds to a gift pokemon.
2) Red/Blue's Super Rod slots, which don't correspond to in-game slots.
See https://github.com/veekun/pokedex/issues/166#issuecomment-220101455
"""
__tablename__ = 'encounter_slots'
id = Column(Integer, primary_key=True, nullable=False,