Add slot index to encounter_slots

This commit is contained in:
a_magical_me 2010-03-16 02:45:25 -07:00
parent 584057e6ed
commit ef798afdcb
2 changed files with 125 additions and 124 deletions

View file

@ -1,123 +1,123 @@
id,version_group_id,encounter_terrain_id,rarity id,version_group_id,encounter_terrain_id,slot,rarity
1,8,1,20 1,8,1,1,20
2,8,1,20 2,8,1,2,20
3,8,1,10 3,8,1,3,10
4,8,1,10 4,8,1,4,10
5,8,1,10 5,8,1,5,10
6,8,1,10 6,8,1,6,10
7,8,1,5 7,8,1,7,5
8,8,1,5 8,8,1,8,5
9,8,1,4 9,8,1,9,4
10,8,1,4 10,8,1,10,4
11,8,1,1 11,8,1,11,1
12,8,1,1 12,8,1,12,1
13,8,2,60 13,8,2,1,60
14,8,2,30 14,8,2,2,30
15,8,2,5 15,8,2,3,5
16,8,2,4 16,8,2,4,4
17,8,2,1 17,8,2,5,1
18,8,3,40 18,8,3,1,40
19,8,3,40 19,8,3,2,40
20,8,3,15 20,8,3,3,15
21,8,3,4 21,8,3,4,4
22,8,3,1 22,8,3,5,1
23,8,4,40 23,8,4,1,40
24,8,4,40 24,8,4,2,40
25,8,4,15 25,8,4,3,15
26,8,4,4 26,8,4,4,4
27,8,4,1 27,8,4,5,1
28,8,5,60 28,8,5,1,60
29,8,5,30 29,8,5,2,30
30,8,5,5 30,8,5,3,5
31,8,5,4 31,8,5,4,4
32,8,5,1 32,8,5,5,1
33,9,1,20 33,9,1,1,20
34,9,1,20 34,9,1,2,20
35,9,1,10 35,9,1,3,10
36,9,1,10 36,9,1,4,10
37,9,1,10 37,9,1,5,10
38,9,1,10 38,9,1,6,10
39,9,1,5 39,9,1,7,5
40,9,1,5 40,9,1,8,5
41,9,1,4 41,9,1,9,4
42,9,1,4 42,9,1,10,4
43,9,1,1 43,9,1,11,1
44,9,1,1 44,9,1,12,1
45,9,2,60 45,9,2,1,60
46,9,2,30 46,9,2,2,30
47,9,2,5 47,9,2,3,5
48,9,2,4 48,9,2,4,4
49,9,2,1 49,9,2,5,1
50,9,3,60 50,9,3,1,60
51,9,3,30 51,9,3,2,30
52,9,3,5 52,9,3,3,5
53,9,3,4 53,9,3,4,4
54,9,3,1 54,9,3,5,1
55,9,4,60 55,9,4,1,60
56,9,4,30 56,9,4,2,30
57,9,4,5 57,9,4,3,5
58,9,4,4 58,9,4,4,4
59,9,4,1 59,9,4,5,1
60,9,5,60 60,9,5,1,60
61,9,5,30 61,9,5,2,30
62,9,5,5 62,9,5,3,5
63,9,5,4 63,9,5,4,4
64,9,5,1 64,9,5,5,1
65,9,6,90 65,9,6,1,90
66,9,6,10 66,9,6,2,10
67,1,1,25 67,1,1,1,25
68,1,1,15 68,1,1,2,15
69,1,1,15 69,1,1,3,15
70,1,1,10 70,1,1,4,10
71,1,1,10 71,1,1,5,10
72,1,1,10 72,1,1,6,10
73,1,1,5 73,1,1,7,5
74,1,1,5 74,1,1,8,5
75,1,1,4 75,1,1,9,4
76,1,1,1 76,1,1,10,1
77,1,5,25 77,1,5,1,25
78,1,5,15 78,1,5,2,15
79,1,5,15 79,1,5,3,15
80,1,5,10 80,1,5,4,10
81,1,5,10 81,1,5,5,10
82,1,5,10 82,1,5,6,10
83,1,5,5 83,1,5,7,5
84,1,5,5 84,1,5,8,5
85,1,5,4 85,1,5,9,4
86,1,5,1 86,1,5,10,1
87,2,1,25 87,2,1,1,25
88,2,1,15 88,2,1,2,15
89,2,1,15 89,2,1,3,15
90,2,1,10 90,2,1,4,10
91,2,1,10 91,2,1,5,10
92,2,1,10 92,2,1,6,10
93,2,1,5 93,2,1,7,5
94,2,1,5 94,2,1,8,5
95,2,1,4 95,2,1,9,4
96,2,1,1 96,2,1,10,1
97,2,5,25 97,2,5,1,25
98,2,5,15 98,2,5,2,15
99,2,5,15 99,2,5,3,15
100,2,5,10 100,2,5,4,10
101,2,5,10 101,2,5,5,10
102,2,5,10 102,2,5,6,10
103,2,5,5 103,2,5,7,5
104,2,5,5 104,2,5,8,5
105,2,5,4 105,2,5,9,4
106,2,5,1 106,2,5,10,1
107,1,2,100 107,1,2,1,100
108,1,3,50 108,1,3,1,50
109,1,3,50 109,1,3,2,50
110,1,4,25 110,1,4,,25
111,1,4,8 111,1,4,,8
112,1,4,17 112,1,4,,17
113,1,4,17 113,1,4,,17
114,1,4,8 114,1,4,,8
115,1,4,25 115,1,4,,25
116,2,2,100 116,2,2,1,100
117,2,3,50 117,2,3,1,50
118,2,3,50 118,2,3,2,50
119,2,4,40 119,2,4,1,40
120,2,4,30 120,2,4,2,30
121,2,4,20 121,2,4,3,20
122,2,4,10 122,2,4,4,10

1 id version_group_id encounter_terrain_id slot rarity
2 1 8 1 1 20
3 2 8 1 2 20
4 3 8 1 3 10
5 4 8 1 4 10
6 5 8 1 5 10
7 6 8 1 6 10
8 7 8 1 7 5
9 8 8 1 8 5
10 9 8 1 9 4
11 10 8 1 10 4
12 11 8 1 11 1
13 12 8 1 12 1
14 13 8 2 1 60
15 14 8 2 2 30
16 15 8 2 3 5
17 16 8 2 4 4
18 17 8 2 5 1
19 18 8 3 1 40
20 19 8 3 2 40
21 20 8 3 3 15
22 21 8 3 4 4
23 22 8 3 5 1
24 23 8 4 1 40
25 24 8 4 2 40
26 25 8 4 3 15
27 26 8 4 4 4
28 27 8 4 5 1
29 28 8 5 1 60
30 29 8 5 2 30
31 30 8 5 3 5
32 31 8 5 4 4
33 32 8 5 5 1
34 33 9 1 1 20
35 34 9 1 2 20
36 35 9 1 3 10
37 36 9 1 4 10
38 37 9 1 5 10
39 38 9 1 6 10
40 39 9 1 7 5
41 40 9 1 8 5
42 41 9 1 9 4
43 42 9 1 10 4
44 43 9 1 11 1
45 44 9 1 12 1
46 45 9 2 1 60
47 46 9 2 2 30
48 47 9 2 3 5
49 48 9 2 4 4
50 49 9 2 5 1
51 50 9 3 1 60
52 51 9 3 2 30
53 52 9 3 3 5
54 53 9 3 4 4
55 54 9 3 5 1
56 55 9 4 1 60
57 56 9 4 2 30
58 57 9 4 3 5
59 58 9 4 4 4
60 59 9 4 5 1
61 60 9 5 1 60
62 61 9 5 2 30
63 62 9 5 3 5
64 63 9 5 4 4
65 64 9 5 5 1
66 65 9 6 1 90
67 66 9 6 2 10
68 67 1 1 1 25
69 68 1 1 2 15
70 69 1 1 3 15
71 70 1 1 4 10
72 71 1 1 5 10
73 72 1 1 6 10
74 73 1 1 7 5
75 74 1 1 8 5
76 75 1 1 9 4
77 76 1 1 10 1
78 77 1 5 1 25
79 78 1 5 2 15
80 79 1 5 3 15
81 80 1 5 4 10
82 81 1 5 5 10
83 82 1 5 6 10
84 83 1 5 7 5
85 84 1 5 8 5
86 85 1 5 9 4
87 86 1 5 10 1
88 87 2 1 1 25
89 88 2 1 2 15
90 89 2 1 3 15
91 90 2 1 4 10
92 91 2 1 5 10
93 92 2 1 6 10
94 93 2 1 7 5
95 94 2 1 8 5
96 95 2 1 9 4
97 96 2 1 10 1
98 97 2 5 1 25
99 98 2 5 2 15
100 99 2 5 3 15
101 100 2 5 4 10
102 101 2 5 5 10
103 102 2 5 6 10
104 103 2 5 7 5
105 104 2 5 8 5
106 105 2 5 9 4
107 106 2 5 10 1
108 107 1 2 1 100
109 108 1 3 1 50
110 109 1 3 2 50
111 110 1 4 25
112 111 1 4 8
113 112 1 4 17
114 113 1 4 17
115 114 1 4 8
116 115 1 4 25
117 116 2 2 1 100
118 117 2 3 1 50
119 118 2 3 2 50
120 119 2 4 1 40
121 120 2 4 2 30
122 121 2 4 3 20
123 122 2 4 4 10

View file

@ -118,7 +118,8 @@ class EncounterSlot(TableBase):
id = Column(Integer, primary_key=True, nullable=False) id = Column(Integer, primary_key=True, nullable=False)
version_group_id = Column(Integer, ForeignKey('version_groups.id'), nullable=False, autoincrement=False) version_group_id = Column(Integer, ForeignKey('version_groups.id'), nullable=False, autoincrement=False)
encounter_terrain_id = Column(Integer, ForeignKey('encounter_terrain.id'), primary_key=False, nullable=False, autoincrement=False) encounter_terrain_id = Column(Integer, ForeignKey('encounter_terrain.id'), primary_key=False, nullable=False, autoincrement=False)
rarity = Column(Integer, nullable=False, autoincrement=False) slot = Column(Integer, nullable=True)
rarity = Column(Integer, nullable=False)
class EncounterSlotCondition(TableBase): class EncounterSlotCondition(TableBase):
"""Lists all conditions that affect each slot.""" """Lists all conditions that affect each slot."""