Merge pull request #193 from phmatray/master

Add identifiers to item_fling_effects.csv
This commit is contained in:
Andrew Ekstedt 2016-11-20 10:55:41 -08:00 committed by GitHub
commit dfd13b8f95
2 changed files with 11 additions and 8 deletions

View File

@ -1,8 +1,8 @@
id
1
2
3
4
5
6
7
id,identifier
1,badly-poison
2,burn
3,berry-effect
4,herb-effect
5,paralyze
6,poison
7,flinch

1 id identifier
2 1 badly-poison
3 2 burn
4 3 berry-effect
5 4 herb-effect
6 5 paralyze
7 6 poison
8 7 flinch

View File

@ -1058,6 +1058,9 @@ class ItemFlingEffect(TableBase):
__singlename__ = 'item_fling_effect'
id = Column(Integer, primary_key=True, nullable=False,
doc=u"A numeric ID")
identifier = Column(Unicode(79), nullable=False,
doc=u"An identifier of this fling effect",
info=dict(format='identifier'))
create_translation_table('item_fling_effect_prose', ItemFlingEffect, 'prose',
effect = Column(UnicodeText, nullable=False,