Add identifiers to item_fling_effects.csv

This commit is contained in:
Philippe Matray 2016-10-23 18:56:43 +02:00
parent a967b787b7
commit 7612277ee4
2 changed files with 11 additions and 8 deletions

View file

@ -1,8 +1,8 @@
id id,identifier
1 1,badly-poison
2 2,burn
3 3,berry-effect
4 4,herb-effect
5 5,paralyze
6 6,poison
7 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' __singlename__ = 'item_fling_effect'
id = Column(Integer, primary_key=True, nullable=False, id = Column(Integer, primary_key=True, nullable=False,
doc=u"A numeric ID") 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', create_translation_table('item_fling_effect_prose', ItemFlingEffect, 'prose',
effect = Column(UnicodeText, nullable=False, effect = Column(UnicodeText, nullable=False,