1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
|
item_db: (
// Items Additional Database
//
/******************************************************************************
************* Entry structure ************************************************
******************************************************************************
{
// =================== Mandatory fields ===============================
Id: ID (int)
AegisName: "Aegis_Name" (string, optional if Inherit: true)
Name: "Item Name" (string, optional if Inherit: true)
// =================== Optional fields ================================
Type: Item Type (int, defaults to 3 = etc item)
Buy: Buy Price (int, defaults to Sell * 2)
Sell: Sell Price (int, defaults to Buy / 2)
Weight: Item Weight (int, defaults to 0)
Atk: Attack (int, defaults to 0)
Matk: Magical Attack (int, defaults to 0, ignored in pre-re)
Def: Defense (int, defaults to 0)
Range: Attack Range (int, defaults to 0)
Slots: Slots (int, defaults to 0)
Job: Job mask (int, defaults to all jobs = 0xFFFFFFFF)
Upper: Upper mask (int, defaults to any = 0x3f)
Gender: Gender (int, defaults to both = 2)
Loc: Equip location (int, required value for equipment)
WeaponLv: Weapon Level (int, defaults to 0)
EquipLv: Equip required level (int, defaults to 0)
EquipLv: [min, max] (alternative syntax with min / max level)
Refine: Refineable (boolean, defaults to true)
View: View ID (int, defaults to 0)
Script: <"
Script
(it can be multi-line)
">
OnEquipScript: <" OnEquip Script (can also be multi-line) ">
OnUnequipScript: <" OnUnequip Script (can also be multi-line) ">
// =================== Optional fields (item_db2 only) ================
Inherit: true/false (boolean, if true, inherit the values
that weren't specified, from item_db.conf,
else override it and use default values)
},
******************************************************************************/
// THQ Quest Items
// =============================================================
/*
{
Id: 7950
AegisName: "THG_Membership"
Name: "THG Membership"
Type: 3
Sell: 10
Weight: 10
},
*/
/*
{
Id: 7951
AegisName: "Token_Bag"
Name: "Token Bag"
Type: 3
Sell: 10
Weight: 10
},
*/
/*
{
Id: 1998
AegisName: "Jeramiah's_Jur"
Name: "Jeramiah's Jur"
Type: 3
Sell: 10
Weight: 10
},
*/
/*
{
Id: 1999
AegisName: "Zed's_Staff"
Name: "Zed's Staff"
Type: 3
Sell: 10
Weight: 10
},
*/
// Official Event Items that had their Effects removed after the event was completed
/*
{
Id: 585
AegisName: "Wurst"
Name: "Brusti"
Type: 11
Buy: 2
Weight: 40
Script: <"
itemheal rand(15,20),0;
itemskill PR_MAGNIFICAT,3;
">
},
*/
/*
{
Id: 679
AegisName: "Gold_Pill"
Name: "Pilule"
Type: 0
Buy: 5000
Weight: 300
Script: <" percentheal 50,50; ">
},
*/
/*
{
Id: 2681
AegisName: "Republic_Ring"
Name: "Republic Anniversary Ring"
Type: 5
Buy: 20
Weight: 100
Loc: 136
Refine: false
Script: <" bonus bAllStats,3; ">
},
*/
/*
{
Id: 5134
AegisName: "Pumpkin_Hat"
Name: "Pumpkin-Head"
Type: 5
Buy: 20
Weight: 200
Def: 2
Loc: 256
View: 206
Script: <" bonus2 bSubRace,RC_Demon,5; ">
},
*/
/*
{
Id: 5136
AegisName: "Santa's_Hat_"
Name: "Louise's Santa Hat"
Type: 5
Buy: 20
Weight: 100
Def: 3
Loc: 256
View: 20
Script: <"
bonus bMdef,1;
bonus bLuk,1;
bonus3 bAutoSpellWhenHit,AL_HEAL,3,50;
bonus3 bAutoSpellWhenHit,AL_BLESSING,10,50;
">
},
*/
/*
{
Id: 5145
AegisName: "Carnival_Joker_Jester"
Name: "Carnival Jester"
Type: 5
Buy: 10
Weight: 100
Loc: 256
View: 89
Script: <" bonus bAllStats,3; ">
},
*/
/*
{
Id: 5147
AegisName: "Baseball_Cap"
Name: "Baseball Cap"
Type: 5
Buy: 0
Weight: 200
Def: 3
Loc: 256
View: 216
Script: <"
bonus2 bExpAddRace,RC_Boss,50;
bonus2 bExpAddRace,RC_NonBoss,50;
">
},
*/
/*
{
Id: 5201
AegisName: "Party_Hat_B"
Name: "2nd Anniversary Party Hat"
Type: 5
Buy: 20
Weight: 300
Def: 3
Loc: 256
View: 144
Script: <" bonus bAllStats,3; ">
},
*/
/*
{
Id: 5202
AegisName: "Pumpkin_Hat_"
Name: "Pumpkin Hat"
Type: 5
Buy: 20
Weight: 200
Def: 2
Loc: 256
View: 206
Script: <"
bonus bAllStats,2;
bonus2 bSubRace,RC_Demon,5;
bonus3 bAddMonsterDropItem,529,RC_DemiHuman,1500;
">
},
*/
/*
{
Id: 5204
AegisName: "Event_Pierrot_Nose"
Name: "Rudolf's Red Nose"
Type: 5
Buy: 20
Weight: 100
Loc: 1
Refine: false
View: 49
Script: <"
bonus2 bResEff,Eff_Blind,3000;
bonus2 bAddMonsterDropItem,12130,30;
">
},
*/
/*
{
Id: 5264
AegisName: "Aussie_Flag_Hat"
Name: "Australian Flag Hat"
Type: 5
Buy: 20
Weight: 500
Def: 4
Loc: 256
View: 304
Script: <" bonus bAllStats,2; ">
},
*/
/*
{
Id: 5356
AegisName: "Pumpkin_Hat_H"
Name: "Pumpkin Hat"
Type: 5
Buy: 20
Weight: 200
Def: 2
Loc: 256
View: 206
Script: <"
bonus bAllStats,2;
bonus2 bSubRace,RC_Demon,5;
bonus2 bMagicAddRace,RC_Demon,5;
">
},
*/
/*
{
Id: 5811
AegisName: "Santa_Beard"
Name: "Santa Beard"
Type: 5
Buy: 20
Weight: 100
Def: 5
Loc: 1
Refine: false
View: 25
Script: <" bonus2 bSubRace,RC_Brute,5; ">
},
*/
/*
{
Id: 11702
AegisName: "Moon_Cookie"
Name: "Moon Cookie"
Type: 11
Buy: 0
Weight: 10
Script: <"
sc_end SC_POISON;
sc_end SC_SILENCE;
sc_end SC_BLIND;
sc_end SC_CONFUSION;
sc_end SC_CURSE;
sc_end SC_ILLUSION;
itemskill AL_BLESSING,7;
">
},
*/
/*
{
Id: 12131
AegisName: "Lucky_Potion"
Name: "Lucky Potion"
Type: 0
Buy: 2
Weight: 100
Script: <" sc_start SC_FOOD_LUK,180000,15; ">
},
*/
/*
{
Id: 12143
AegisName: "Red_Can"
Name: "Red Can"
Type: 2
Buy: 50000
Weight: 300
Script: <" percentheal 25,25; ">
},
*/
// Event effect: Summon monster? Probably Rice_Cake. x_x
/*
{
Id: 12199
AegisName: "Rice_Scroll"
Name: "Rice Scroll"
Type: 2
Buy: 0
},
*/
/*
{
Id: 12200
AegisName: "Event_Cake"
Name: "Event Cake"
Type: 2
Buy: 20
Weight: 50
Script: <" itemskill PR_MAGNIFICAT,3; ">
},
*/
/*
{
Id: 12238
AegisName: "New_Year_Rice_Cake_1"
Name: "New Year Rice Cake"
Type: 0
Buy: 20
Weight: 100
Script: <"
percentheal 20,15;
sc_start SC_FOOD_STR,1200000,3;
sc_start SC_FOOD_INT,1200000,3;
sc_start SC_FOOD_LUK,1200000,3;
sc_start SC_MOVHASTE_INFINITY,5000,0;
">
},
*/
/*
{
Id: 12239
AegisName: "New_Year_Rice_Cake_2"
Name: "New Year Rice Cake"
Type: 0
Buy: 20
Weight: 100
Script: <"
percentheal 20,15;
sc_start SC_FOOD_DEX,1200000,3;
sc_start SC_FOOD_AGI,1200000,3;
sc_start SC_FOOD_VIT,1200000,3;
sc_start SC_MOVHASTE_INFINITY,5000,0;
">
},
*/
// iRO St. Patrick's Day Event 2008
// =============================================================
/*
{
Id: 12715
AegisName: "Black_Treasure_Chest"
Name: "Black Treasure Chest"
Type: 2
Buy: 0
Weight: 200
Script: <" callfunc "F_08stpattyseventbox"; ">
},
*/
// iRO Valentine's Day Event 2009
// =============================================================
/*
{
Id: 12742
AegisName: "Valentine_Gift_Box_M"
Name: "Valentine Gift Box"
Type: 2
Buy: 10
Script: <" getitem 7946,1; ">
},
*/
/*
{
Id: 12743
AegisName: "Valentine_Gift_Box_F"
Name: "Valentine Gift Box"
Type: 2
Buy: 10
Script: <" getitem 7947,1; ">
},
*/
/*
{
Id: 12744
AegisName: "Chocolate_Box"
Name: "Chocolate Box"
Type: 2
Buy: 10
Script: <" getitem 558,1; ">
},
*/
/*
{
Id: 14466
AegisName: "Valentine's_Emblem_Box"
Name: "Valentine's Emblem Box"
Type: 2
Buy: 10
Script: <" getitem 5817,1; ">
},
*/
/*
{
Id: 7946
AegisName: "Gold_Ring_Of_Valentine"
Name: "Gold Ring Of Valentine"
Type: 3
Buy: 10
},
*/
/*
{
Id: 7947
AegisName: "Silver_Ring_Of_Valentine"
Name: "Silver Ring Of Valentine"
Type: 3
Buy: 10
},
*/
/*
{
Id: 7948
AegisName: "Box"
Name: "Box"
Type: 3
Buy: 10
Weight: 10
},
*/
/*
{
Id: 5817
AegisName: "Valentine's_Emblem"
Name: "Valentine's Emblem"
Type: 5
Buy: 10
Def: 3
Loc: 136
Refine: false
Script: <"
bonus bAtkRate,3;
bonus bMatkRate,3;
bonus bAllStats,2;
bonus bFlee,10;
bonus bAspd,1;
bonus bMdef,3;
bonus2 bSkillAtk,"AL_HEAL",10;
bonus2 bSkillHeal,AL_HEAL,10;
bonus2 bSkillHeal,AM_POTIONPITCHER,10;
bonus2 bAddItemHealRate,IG_Potion,10;
">
},
*/
// iRO Halloween Event 2009
// =============================================================
/*
{
Id: 5668
AegisName: "Weird_Pumpkin_Hat"
Name: "Weird Pumpkin Hat"
Type: 5
Buy: 20
Def: 5
Loc: 256
View: 206
Script: <"
bonus bMdef,5;
bonus2 bAddMonsterDropItem,12192,2500;
">
},
*/
/*
{
Id: 6298
AegisName: "Crushed_Pumpkin"
Name: "Crushed Pumpkin"
Type: 3
Buy: 0
},
*/
/*
{
Id: 6299
AegisName: "Worn_Fabric"
Name: "Worn Fabric"
Type: 3
Buy: 0
},
*/
// Old Tuxedo and Wedding Dress, will display the outfit when worn.
// ==================================================================
/*
{
Id: 2338
AegisName: "Wedding_Dress"
Name: "Wedding Dress"
Type: 5
Buy: 43000
Weight: 500
Job: 0xFFFFFFFE
Loc: 16
OnEquipScript: <" sc_start SC_WEDDING,-1,0; ">
OnUnequipScript: <" sc_end SC_WEDDING; ">
},
*/
/*
{
Id: 7170
AegisName: "Tuxedo"
Name: "Tuxedo"
Type: 5
Buy: 43000
Weight: 10
Job: 0xFFFFFFFE
Gender: 1
Loc: 16
OnEquipScript: <" sc_start SC_WEDDING,-1,0; ">
OnUnequipScript: <" sc_end SC_WEDDING; ">
},
*/
)
|