Remove old move effect categories. #389

This commit is contained in:
Eevee 2011-04-09 22:58:40 -07:00
parent 8de33be206
commit f666327fa0
4 changed files with 0 additions and 509 deletions

View file

@ -1,38 +0,0 @@
id,identifier,can_affect_user
1,regular-damage,1
2,power-varies,1
3,special-damage,1
4,double-damage,1
5,faints,1
6,critical,0
7,ignores-type,0
8,ignores-accuracy-modifiers,0
9,meta,1
10,multiple-turnshits,0
11,charge-or-recovery-turn,0
12,heals-hp,1
13,cures-status,1
14,protection,1
15,attack-up,1
16,attack-down,1
17,defense-up,1
18,defense-down,1
19,special-attack-up,1
20,special-attack-down,1
21,special-defense-up,1
22,special-defense-down,1
23,speed-up,1
24,speed-down,1
25,accuracy-up,1
26,accuracy-down,1
27,evasion-up,1
28,evasion-down,1
29,sleep,1
30,burn,1
31,paralysis,1
32,freeze,1
33,poison,1
34,confusion,1
35,flinch,1
36,trap,1
37,weather,0
1 id identifier can_affect_user
2 1 regular-damage 1
3 2 power-varies 1
4 3 special-damage 1
5 4 double-damage 1
6 5 faints 1
7 6 critical 0
8 7 ignores-type 0
9 8 ignores-accuracy-modifiers 0
10 9 meta 1
11 10 multiple-turnshits 0
12 11 charge-or-recovery-turn 0
13 12 heals-hp 1
14 13 cures-status 1
15 14 protection 1
16 15 attack-up 1
17 16 attack-down 1
18 17 defense-up 1
19 18 defense-down 1
20 19 special-attack-up 1
21 20 special-attack-down 1
22 21 special-defense-up 1
23 22 special-defense-down 1
24 23 speed-up 1
25 24 speed-down 1
26 25 accuracy-up 1
27 26 accuracy-down 1
28 27 evasion-up 1
29 28 evasion-down 1
30 29 sleep 1
31 30 burn 1
32 31 paralysis 1
33 32 freeze 1
34 33 poison 1
35 34 confusion 1
36 35 flinch 1
37 36 trap 1
38 37 weather 0

View file

@ -1,402 +0,0 @@
move_effect_id,move_effect_category_id,affects_user
1,1,0
2,29,0
3,1,0
3,33,0
4,1,0
4,12,1
5,1,0
5,30,0
6,1,0
6,32,0
7,1,0
7,31,0
8,1,0
8,5,1
9,1,0
9,12,1
10,9,0
11,15,1
12,17,1
14,19,1
17,27,1
18,1,0
18,8,0
19,16,0
20,18,0
21,24,0
24,26,0
25,28,0
26,13,1
27,3,0
27,10,0
28,1,0
28,10,0
28,34,1
30,1,0
30,10,0
32,1,0
32,35,0
33,12,1
34,33,0
35,1,0
36,14,1
37,1,0
37,30,0
37,31,0
37,32,0
38,12,1
38,13,1
38,29,1
39,5,0
39,8,0
40,1,0
40,6,0
40,11,0
41,3,0
42,3,0
43,1,0
43,10,0
43,36,0
44,1,0
44,6,0
45,1,0
45,10,0
46,1,0
46,3,1
47,14,1
49,1,0
49,3,1
50,34,0
51,15,1
52,17,1
53,23,1
54,19,1
55,21,1
58,9,0
59,16,0
60,18,0
61,24,0
63,22,0
66,14,1
67,33,0
68,31,0
69,1,0
69,16,0
70,1,0
70,18,0
71,1,0
71,24,0
72,1,0
72,20,0
73,1,0
73,22,0
74,1,0
74,26,0
76,1,0
76,11,0
76,35,0
77,1,0
77,34,0
78,1,0
78,10,0
78,33,0
79,1,0
79,8,0
80,3,1
80,14,1
81,1,0
81,11,0
82,1,0
82,15,1
83,9,0
84,9,0
85,3,0
85,12,1
88,3,0
88,7,0
89,3,0
89,7,0
90,3,0
92,3,0
92,3,1
92,12,0
92,12,1
93,1,0
93,35,0
94,14,0
96,9,0
98,9,0
99,5,0
100,1,0
100,2,0
102,1,0
102,14,0
103,13,1
104,1,0
105,1,0
105,2,0
105,10,0
106,1,0
107,8,0
107,36,0
108,3,0
108,10,0
109,27,1
110,3,0
110,3,1
110,10,0
110,15,1
110,17,1
110,24,1
112,14,1
114,8,0
114,27,0
114,28,0
115,5,0
115,5,1
115,10,0
116,37,0
117,14,1
118,1,0
118,2,0
119,15,0
119,34,0
120,1,0
120,2,0
122,1,0
122,2,0
123,1,0
123,2,0
123,12,0
124,1,0
124,2,0
125,14,1
126,1,0
126,30,0
127,1,0
127,2,0
129,1,0
129,4,0
130,1,0
130,13,1
131,3,0
133,12,1
136,1,0
136,2,0
137,37,0
138,37,0
139,1,0
139,17,1
140,1,0
140,15,1
141,1,0
141,15,1
141,17,1
141,19,1
141,21,1
141,23,1
143,3,1
143,15,1
145,3,0
146,1,0
146,11,0
146,17,1
147,1,0
147,35,0
148,1,0
149,1,0
149,7,0
149,10,0
150,1,0
151,1,0
151,35,0
152,1,0
152,11,0
153,1,0
153,31,0
155,1,0
155,7,0
155,10,0
156,1,0
156,11,0
157,17,1
159,1,0
159,35,0
160,1,0
160,10,0
161,17,1
161,21,1
162,1,0
162,2,0
163,12,1
165,37,0
167,19,0
167,34,0
168,30,0
169,5,1
169,16,0
169,20,0
170,1,0
170,4,0
171,1,0
172,1,0
172,4,0
172,13,0
173,14,1
174,9,0
175,21,1
179,8,0
180,12,1
181,9,0
182,12,1
182,36,1
183,1,0
183,16,1
183,18,1
186,1,0
186,4,0
187,1,0
188,29,0
189,1,0
190,3,0
191,1,0
191,2,0
192,8,0
194,13,1
196,9,0
197,1,0
197,2,0
198,1,0
198,16,0
198,26,0
198,29,0
198,31,0
198,32,0
198,35,0
199,1,0
199,3,1
200,34,0
201,1,0
201,6,0
201,30,0
203,1,0
203,33,0
204,1,0
204,4,0
205,1,0
205,20,1
206,16,0
206,18,0
207,20,0
207,22,0
208,1,0
209,15,1
209,17,1
210,1,0
210,6,0
210,33,0
212,19,1
212,21,1
213,15,1
213,23,1
215,12,1
217,8,0
217,28,0
218,1,0
218,4,0
218,13,0
219,1,0
219,24,1
220,1,0
220,2,0
221,5,1
221,12,1
221,13,1
222,1,0
222,4,0
223,1,0
223,2,0
224,1,0
225,1,0
225,4,0
226,23,1
227,15,1
227,17,1
227,19,1
227,21,1
227,23,1
228,3,0
229,1,0
230,1,0
230,18,1
230,22,1
231,1,0
231,2,0
232,1,0
232,2,0
234,1,0
234,2,0
235,13,1
236,1,0
236,2,0
238,1,0
238,2,0
239,15,1
239,16,1
239,17,1
239,18,1
242,9,0
243,9,0
246,1,0
246,2,0
247,1,0
249,1,0
252,12,1
254,1,0
254,3,1
254,30,0
255,1,0
255,3,1
255,7,0
256,1,0
256,11,0
257,1,0
257,11,0
258,1,0
259,28,0
261,1,0
261,32,0
262,1,0
262,4,0
262,10,0
262,36,0
263,1,0
263,3,1
263,31,0
264,1,0
264,11,0
266,20,0
268,1,0
268,34,0
269,1,0
270,1,0
270,3,1
271,3,1
271,12,1
271,13,1
272,1,0
272,22,0
273,1,0
273,11,0
274,1,0
274,30,0
274,35,0
275,1,0
275,32,0
275,35,0
276,1,0
276,31,0
276,35,0
277,1,0
277,19,1
1 move_effect_id move_effect_category_id affects_user
2 1 1 0
3 2 29 0
4 3 1 0
5 3 33 0
6 4 1 0
7 4 12 1
8 5 1 0
9 5 30 0
10 6 1 0
11 6 32 0
12 7 1 0
13 7 31 0
14 8 1 0
15 8 5 1
16 9 1 0
17 9 12 1
18 10 9 0
19 11 15 1
20 12 17 1
21 14 19 1
22 17 27 1
23 18 1 0
24 18 8 0
25 19 16 0
26 20 18 0
27 21 24 0
28 24 26 0
29 25 28 0
30 26 13 1
31 27 3 0
32 27 10 0
33 28 1 0
34 28 10 0
35 28 34 1
36 30 1 0
37 30 10 0
38 32 1 0
39 32 35 0
40 33 12 1
41 34 33 0
42 35 1 0
43 36 14 1
44 37 1 0
45 37 30 0
46 37 31 0
47 37 32 0
48 38 12 1
49 38 13 1
50 38 29 1
51 39 5 0
52 39 8 0
53 40 1 0
54 40 6 0
55 40 11 0
56 41 3 0
57 42 3 0
58 43 1 0
59 43 10 0
60 43 36 0
61 44 1 0
62 44 6 0
63 45 1 0
64 45 10 0
65 46 1 0
66 46 3 1
67 47 14 1
68 49 1 0
69 49 3 1
70 50 34 0
71 51 15 1
72 52 17 1
73 53 23 1
74 54 19 1
75 55 21 1
76 58 9 0
77 59 16 0
78 60 18 0
79 61 24 0
80 63 22 0
81 66 14 1
82 67 33 0
83 68 31 0
84 69 1 0
85 69 16 0
86 70 1 0
87 70 18 0
88 71 1 0
89 71 24 0
90 72 1 0
91 72 20 0
92 73 1 0
93 73 22 0
94 74 1 0
95 74 26 0
96 76 1 0
97 76 11 0
98 76 35 0
99 77 1 0
100 77 34 0
101 78 1 0
102 78 10 0
103 78 33 0
104 79 1 0
105 79 8 0
106 80 3 1
107 80 14 1
108 81 1 0
109 81 11 0
110 82 1 0
111 82 15 1
112 83 9 0
113 84 9 0
114 85 3 0
115 85 12 1
116 88 3 0
117 88 7 0
118 89 3 0
119 89 7 0
120 90 3 0
121 92 3 0
122 92 3 1
123 92 12 0
124 92 12 1
125 93 1 0
126 93 35 0
127 94 14 0
128 96 9 0
129 98 9 0
130 99 5 0
131 100 1 0
132 100 2 0
133 102 1 0
134 102 14 0
135 103 13 1
136 104 1 0
137 105 1 0
138 105 2 0
139 105 10 0
140 106 1 0
141 107 8 0
142 107 36 0
143 108 3 0
144 108 10 0
145 109 27 1
146 110 3 0
147 110 3 1
148 110 10 0
149 110 15 1
150 110 17 1
151 110 24 1
152 112 14 1
153 114 8 0
154 114 27 0
155 114 28 0
156 115 5 0
157 115 5 1
158 115 10 0
159 116 37 0
160 117 14 1
161 118 1 0
162 118 2 0
163 119 15 0
164 119 34 0
165 120 1 0
166 120 2 0
167 122 1 0
168 122 2 0
169 123 1 0
170 123 2 0
171 123 12 0
172 124 1 0
173 124 2 0
174 125 14 1
175 126 1 0
176 126 30 0
177 127 1 0
178 127 2 0
179 129 1 0
180 129 4 0
181 130 1 0
182 130 13 1
183 131 3 0
184 133 12 1
185 136 1 0
186 136 2 0
187 137 37 0
188 138 37 0
189 139 1 0
190 139 17 1
191 140 1 0
192 140 15 1
193 141 1 0
194 141 15 1
195 141 17 1
196 141 19 1
197 141 21 1
198 141 23 1
199 143 3 1
200 143 15 1
201 145 3 0
202 146 1 0
203 146 11 0
204 146 17 1
205 147 1 0
206 147 35 0
207 148 1 0
208 149 1 0
209 149 7 0
210 149 10 0
211 150 1 0
212 151 1 0
213 151 35 0
214 152 1 0
215 152 11 0
216 153 1 0
217 153 31 0
218 155 1 0
219 155 7 0
220 155 10 0
221 156 1 0
222 156 11 0
223 157 17 1
224 159 1 0
225 159 35 0
226 160 1 0
227 160 10 0
228 161 17 1
229 161 21 1
230 162 1 0
231 162 2 0
232 163 12 1
233 165 37 0
234 167 19 0
235 167 34 0
236 168 30 0
237 169 5 1
238 169 16 0
239 169 20 0
240 170 1 0
241 170 4 0
242 171 1 0
243 172 1 0
244 172 4 0
245 172 13 0
246 173 14 1
247 174 9 0
248 175 21 1
249 179 8 0
250 180 12 1
251 181 9 0
252 182 12 1
253 182 36 1
254 183 1 0
255 183 16 1
256 183 18 1
257 186 1 0
258 186 4 0
259 187 1 0
260 188 29 0
261 189 1 0
262 190 3 0
263 191 1 0
264 191 2 0
265 192 8 0
266 194 13 1
267 196 9 0
268 197 1 0
269 197 2 0
270 198 1 0
271 198 16 0
272 198 26 0
273 198 29 0
274 198 31 0
275 198 32 0
276 198 35 0
277 199 1 0
278 199 3 1
279 200 34 0
280 201 1 0
281 201 6 0
282 201 30 0
283 203 1 0
284 203 33 0
285 204 1 0
286 204 4 0
287 205 1 0
288 205 20 1
289 206 16 0
290 206 18 0
291 207 20 0
292 207 22 0
293 208 1 0
294 209 15 1
295 209 17 1
296 210 1 0
297 210 6 0
298 210 33 0
299 212 19 1
300 212 21 1
301 213 15 1
302 213 23 1
303 215 12 1
304 217 8 0
305 217 28 0
306 218 1 0
307 218 4 0
308 218 13 0
309 219 1 0
310 219 24 1
311 220 1 0
312 220 2 0
313 221 5 1
314 221 12 1
315 221 13 1
316 222 1 0
317 222 4 0
318 223 1 0
319 223 2 0
320 224 1 0
321 225 1 0
322 225 4 0
323 226 23 1
324 227 15 1
325 227 17 1
326 227 19 1
327 227 21 1
328 227 23 1
329 228 3 0
330 229 1 0
331 230 1 0
332 230 18 1
333 230 22 1
334 231 1 0
335 231 2 0
336 232 1 0
337 232 2 0
338 234 1 0
339 234 2 0
340 235 13 1
341 236 1 0
342 236 2 0
343 238 1 0
344 238 2 0
345 239 15 1
346 239 16 1
347 239 17 1
348 239 18 1
349 242 9 0
350 243 9 0
351 246 1 0
352 246 2 0
353 247 1 0
354 249 1 0
355 252 12 1
356 254 1 0
357 254 3 1
358 254 30 0
359 255 1 0
360 255 3 1
361 255 7 0
362 256 1 0
363 256 11 0
364 257 1 0
365 257 11 0
366 258 1 0
367 259 28 0
368 261 1 0
369 261 32 0
370 262 1 0
371 262 4 0
372 262 10 0
373 262 36 0
374 263 1 0
375 263 3 1
376 263 31 0
377 264 1 0
378 264 11 0
379 266 20 0
380 268 1 0
381 268 34 0
382 269 1 0
383 270 1 0
384 270 3 1
385 271 3 1
386 271 12 1
387 271 13 1
388 272 1 0
389 272 22 0
390 273 1 0
391 273 11 0
392 274 1 0
393 274 30 0
394 274 35 0
395 275 1 0
396 275 32 0
397 275 35 0
398 276 1 0
399 276 31 0
400 276 35 0
401 277 1 0
402 277 19 1

View file

@ -1,38 +0,0 @@
move_effect_category_id,local_language_id,name
1,9,Regular damage
2,9,Power varies
3,9,Special damage
4,9,Double damage
5,9,Faints
6,9,Critical
7,9,Ignores type
8,9,Ignores accuracy modifiers
9,9,Meta
10,9,Multiple turns/hits
11,9,Charge or recovery turn
12,9,Heals HP
13,9,Cures status
14,9,Protection
15,9,Attack up
16,9,Attack down
17,9,Defense up
18,9,Defense down
19,9,Special Attack up
20,9,Special Attack down
21,9,Special Defense up
22,9,Special Defense down
23,9,Speed up
24,9,Speed down
25,9,Accuracy up
26,9,Accuracy down
27,9,Evasion up
28,9,Evasion down
29,9,Sleep
30,9,Burn
31,9,Paralysis
32,9,Freeze
33,9,Poison
34,9,Confusion
35,9,Flinch
36,9,Trap
37,9,Weather
1 move_effect_category_id local_language_id name
2 1 9 Regular damage
3 2 9 Power varies
4 3 9 Special damage
5 4 9 Double damage
6 5 9 Faints
7 6 9 Critical
8 7 9 Ignores type
9 8 9 Ignores accuracy modifiers
10 9 9 Meta
11 10 9 Multiple turns/hits
12 11 9 Charge or recovery turn
13 12 9 Heals HP
14 13 9 Cures status
15 14 9 Protection
16 15 9 Attack up
17 16 9 Attack down
18 17 9 Defense up
19 18 9 Defense down
20 19 9 Special Attack up
21 20 9 Special Attack down
22 21 9 Special Defense up
23 22 9 Special Defense down
24 23 9 Speed up
25 24 9 Speed down
26 25 9 Accuracy up
27 26 9 Accuracy down
28 27 9 Evasion up
29 28 9 Evasion down
30 29 9 Sleep
31 30 9 Burn
32 31 9 Paralysis
33 32 9 Freeze
34 33 9 Poison
35 34 9 Confusion
36 35 9 Flinch
37 36 9 Trap
38 37 9 Weather

View file

@ -808,34 +808,6 @@ create_translation_table('move_effect_prose', MoveEffect, 'prose',
info=dict(description="A detailed description of the effect", format='plaintext')), info=dict(description="A detailed description of the effect", format='plaintext')),
) )
class MoveEffectCategory(TableBase):
u"""Category of a move effect
"""
__tablename__ = 'move_effect_categories'
__singlename__ = 'move_effect_category'
id = Column(Integer, primary_key=True, nullable=False,
info=dict(description="A numeric ID"))
identifier = Column(Unicode(64), nullable=False,
info=dict(description="An identifier", format='identifier'))
can_affect_user = Column(Boolean, nullable=False,
info=dict(description="Set if the user can be affected"))
create_translation_table('move_effect_category_prose', MoveEffectCategory, 'prose',
name = Column(Unicode(64), nullable=False, index=True,
info=dict(description="The name", format='plaintext', official=False)),
)
class MoveEffectCategoryMap(TableBase):
u"""Maps a move effect category to a move effect
"""
__tablename__ = 'move_effect_category_map'
move_effect_id = Column(Integer, ForeignKey('move_effects.id'), primary_key=True, nullable=False,
info=dict(description="ID of the move effect"))
move_effect_category_id = Column(Integer, ForeignKey('move_effect_categories.id'), primary_key=True, nullable=False,
info=dict(description="ID of the category"))
affects_user = Column(Boolean, primary_key=True, nullable=False,
info=dict(description="Set if the user is affected"))
class MoveEffectChangelog(TableBase): class MoveEffectChangelog(TableBase):
"""History of changes to move effects across main game versions.""" """History of changes to move effects across main game versions."""
__tablename__ = 'move_effect_changelog' __tablename__ = 'move_effect_changelog'
@ -1902,12 +1874,9 @@ MoveChangelog.effect_map = markdown.MoveEffectPropertyMap('effect_map')
MoveChangelog.short_effect = markdown.MoveEffectProperty('short_effect') MoveChangelog.short_effect = markdown.MoveEffectProperty('short_effect')
MoveChangelog.short_effect_map = markdown.MoveEffectPropertyMap('short_effect_map') MoveChangelog.short_effect_map = markdown.MoveEffectPropertyMap('short_effect_map')
MoveEffect.category_map = relation(MoveEffectCategoryMap)
MoveEffect.categories = association_proxy('category_map', 'category')
MoveEffect.changelog = relation(MoveEffectChangelog, MoveEffect.changelog = relation(MoveEffectChangelog,
order_by=MoveEffectChangelog.changed_in_version_group_id.desc(), order_by=MoveEffectChangelog.changed_in_version_group_id.desc(),
backref='move_effect') backref='move_effect')
MoveEffectCategoryMap.category = relation(MoveEffectCategory)
MoveEffectChangelog.changed_in = relation(VersionGroup, MoveEffectChangelog.changed_in = relation(VersionGroup,
innerjoin=True, lazy='joined', innerjoin=True, lazy='joined',