Clarify that natures.game_index is 1-indexed.

Given that nature was determined by pid % 25 for a long time, I think
this is important to note.
This commit is contained in:
Lynn "Zhorken" Vaughan 2014-06-21 22:47:17 -04:00
parent a71e4a2c13
commit f4b73bcd5a

View file

@ -1393,7 +1393,7 @@ class Nature(TableBase):
likes_flavor_id = Column(Integer, ForeignKey('contest_types.id'), nullable=False, likes_flavor_id = Column(Integer, ForeignKey('contest_types.id'), nullable=False,
info=dict(description=u"ID of the Berry flavor the Pokémon likes (if hates_flavor_id is the same, the effects cancel out)")) info=dict(description=u"ID of the Berry flavor the Pokémon likes (if hates_flavor_id is the same, the effects cancel out)"))
game_index = Column(Integer, unique=True, nullable=False, game_index = Column(Integer, unique=True, nullable=False,
info=dict(description=u"This nature's internal ID in the games.")) info=dict(description=u"This nature's internal order in the games (starting from 1, not 0)."))
@property @property
def is_neutral(self): def is_neutral(self):