mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Marked sprite forms with what version group introduced them.
This commit is contained in:
parent
9ec97e2bc3
commit
6eb581d76e
2 changed files with 81 additions and 77 deletions
|
@ -1,77 +1,79 @@
|
||||||
id,pokemon_id,name
|
id,pokemon_id,introduced_in_version_group_id,name
|
||||||
1,201,a
|
1,201,3,a
|
||||||
2,201,b
|
2,201,3,b
|
||||||
3,201,c
|
3,201,3,c
|
||||||
4,201,d
|
4,201,3,d
|
||||||
5,201,e
|
5,201,3,e
|
||||||
6,201,f
|
6,201,3,f
|
||||||
7,201,g
|
7,201,3,g
|
||||||
8,201,h
|
8,201,3,h
|
||||||
9,201,i
|
9,201,3,i
|
||||||
10,201,j
|
10,201,3,j
|
||||||
11,201,k
|
11,201,3,k
|
||||||
12,201,l
|
12,201,3,l
|
||||||
13,201,m
|
13,201,3,m
|
||||||
14,201,n
|
14,201,3,n
|
||||||
15,201,o
|
15,201,3,o
|
||||||
16,201,p
|
16,201,3,p
|
||||||
17,201,q
|
17,201,3,q
|
||||||
18,201,r
|
18,201,3,r
|
||||||
19,201,s
|
19,201,3,s
|
||||||
20,201,t
|
20,201,3,t
|
||||||
21,201,u
|
21,201,3,u
|
||||||
22,201,v
|
22,201,3,v
|
||||||
23,201,w
|
23,201,3,w
|
||||||
24,201,x
|
24,201,3,x
|
||||||
25,201,y
|
25,201,3,y
|
||||||
26,201,z
|
26,201,3,z
|
||||||
27,201,?
|
27,201,5,?
|
||||||
28,201,!
|
28,201,5,!
|
||||||
29,351,
|
29,351,5,
|
||||||
30,351,sun
|
30,351,5,sun
|
||||||
31,351,rain
|
31,351,5,rain
|
||||||
32,351,hail
|
32,351,5,hail
|
||||||
33,386,
|
33,386,5,
|
||||||
34,386,attack
|
34,386,7,attack
|
||||||
35,386,defense
|
35,386,7,defense
|
||||||
36,386,speed
|
36,386,6,speed
|
||||||
37,412,plant
|
37,412,8,plant
|
||||||
38,412,sandy
|
38,412,8,sandy
|
||||||
39,412,trash
|
39,412,8,trash
|
||||||
40,413,plant
|
40,413,8,plant
|
||||||
41,413,sandy
|
41,413,8,sandy
|
||||||
42,413,trash
|
42,413,8,trash
|
||||||
43,421,
|
43,421,8,
|
||||||
44,421,sunshine
|
44,421,8,sunshine
|
||||||
45,422,east
|
45,422,8,east
|
||||||
46,422,west
|
46,422,8,west
|
||||||
47,423,east
|
47,423,8,east
|
||||||
48,423,west
|
48,423,8,west
|
||||||
49,479,
|
49,479,8,
|
||||||
50,479,fan
|
50,479,9,fan
|
||||||
51,479,frost
|
51,479,9,frost
|
||||||
52,479,heat
|
52,479,9,heat
|
||||||
53,479,mow
|
53,479,9,mow
|
||||||
54,479,wash
|
54,479,9,wash
|
||||||
55,487,
|
55,487,8,
|
||||||
56,487,origin
|
56,487,9,origin
|
||||||
57,492,
|
57,492,8,
|
||||||
58,492,sky
|
58,492,9,sky
|
||||||
59,493,bug
|
59,493,8,bug
|
||||||
60,493,dark
|
60,493,8,dark
|
||||||
61,493,dragon
|
61,493,8,dragon
|
||||||
62,493,electric
|
62,493,8,electric
|
||||||
63,493,fighting
|
63,493,8,fighting
|
||||||
64,493,fire
|
64,493,8,fire
|
||||||
65,493,flying
|
65,493,8,flying
|
||||||
66,493,ghost
|
66,493,8,ghost
|
||||||
67,493,grass
|
67,493,8,grass
|
||||||
68,493,ground
|
68,493,8,ground
|
||||||
69,493,ice
|
69,493,8,ice
|
||||||
70,493,normal
|
70,493,8,normal
|
||||||
71,493,?????
|
71,493,8,?????
|
||||||
72,493,poison
|
72,493,8,poison
|
||||||
73,493,psychic
|
73,493,8,psychic
|
||||||
74,493,rock
|
74,493,8,rock
|
||||||
75,493,steel
|
75,493,8,steel
|
||||||
76,493,water
|
76,493,8,water
|
||||||
|
77,172,3,
|
||||||
|
78,172,10,gizamimi
|
||||||
|
|
|
|
@ -332,6 +332,7 @@ class PokemonFormSprite(TableBase):
|
||||||
__tablename__ = 'pokemon_form_sprites'
|
__tablename__ = 'pokemon_form_sprites'
|
||||||
id = Column(Integer, primary_key=True, nullable=False)
|
id = Column(Integer, primary_key=True, nullable=False)
|
||||||
pokemon_id = Column(Integer, ForeignKey('pokemon.id'), primary_key=True, nullable=False, autoincrement=False)
|
pokemon_id = Column(Integer, ForeignKey('pokemon.id'), primary_key=True, nullable=False, autoincrement=False)
|
||||||
|
introduced_in_version_group_id = Column(Integer, ForeignKey('version_groups.id'), primary_key=True, nullable=False, autoincrement=False)
|
||||||
name = Column(Unicode(16), nullable=True)
|
name = Column(Unicode(16), nullable=True)
|
||||||
|
|
||||||
class PokemonItem(TableBase):
|
class PokemonItem(TableBase):
|
||||||
|
@ -493,6 +494,7 @@ PokemonItem.version = relation(Version)
|
||||||
PokemonFormGroup.pokemon = relation(Pokemon, backref=backref('form_group',
|
PokemonFormGroup.pokemon = relation(Pokemon, backref=backref('form_group',
|
||||||
uselist=False))
|
uselist=False))
|
||||||
PokemonFormSprite.pokemon = relation(Pokemon, backref='form_sprites')
|
PokemonFormSprite.pokemon = relation(Pokemon, backref='form_sprites')
|
||||||
|
PokemonFormSprite.introduced_in = relation(VersionGroup)
|
||||||
|
|
||||||
PokemonMove.pokemon = relation(Pokemon, backref='pokemon_moves')
|
PokemonMove.pokemon = relation(Pokemon, backref='pokemon_moves')
|
||||||
PokemonMove.version_group = relation(VersionGroup)
|
PokemonMove.version_group = relation(VersionGroup)
|
||||||
|
|
Loading…
Reference in a new issue