item_db.txt 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. (FIXME: Someone give this file better formatting)
  2. - Explanation of the item_db.txt file and structure.
  3. ID: Item id
  4. AegisName: Server name to reference the item in scripts and lookups,
  5. should use no spaces.
  6. Name: Name in english for displaying as output for @ and script commands.
  7. Type:
  8. 0 Healing item.
  9. 2 Usable item.
  10. 3 Etc item
  11. 4 Weapon
  12. 5 Armor/Garment/Boots/Headgear
  13. 6 Card
  14. 7 Pet egg
  15. 8 Pet equipment
  16. 10 Ammo (Arrows/Bullets/etc)
  17. 11 Usable with delayed consumption (item is lost from inventory
  18. after selecting a target, for use with skills and pet lures)
  19. 18 Another delayed consume that requires user confirmation before
  20. using item.
  21. Buy: Default buying price. When not specified, becomes double the sell price.
  22. Sell: Default selling price. When not specified, becomes half the buy price.
  23. Weight: Item's weight. Each 10 is 1 weight.
  24. ATK: Weapon's attack
  25. DEF: Armor's defense
  26. Range: Weapon's attack range
  27. Slots: Amount of slots the item possesses.
  28. Job: Equippable jobs. Uses the following bitmask table:
  29. (S.) Novice (2^00): 0x00000001
  30. Swordman (2^01): 0x00000002
  31. Magician (2^02): 0x00000004
  32. Archer (2^03): 0x00000008
  33. Acolyte (2^04): 0x00000010
  34. Merchant (2^05): 0x00000020
  35. Thief (2^06): 0x00000040
  36. Knight (2^07): 0x00000080
  37. Priest (2^08): 0x00000100
  38. Wizard (2^09): 0x00000200
  39. Blacksmith (2^10): 0x00000400
  40. Hunter (2^11): 0x00000800
  41. Assassin (2^12): 0x00001000
  42. Unused (2^13): 0x00002000
  43. Crusader (2^14): 0x00004000
  44. Monk (2^15): 0x00008000
  45. Sage (2^16): 0x00010000
  46. Rogue (2^17): 0x00020000
  47. Alchemist (2^18): 0x00040000
  48. Bard/Dancer (2^19): 0x00080000
  49. Unused (2^20): 0x00100000
  50. Taekwon (2^21): 0x00200000
  51. Star Gladiator (2^22): 0x00400000
  52. Soul Linker (2^23): 0x00800000
  53. Gunslinger (2^24): 0x01000000
  54. Ninja (2^25): 0x02000000
  55. Gangsi (2^26): 0x04000000
  56. Death Knight (2^27): 0x08000000
  57. Dark Collector (2^28): 0x10000000
  58. Kagerou/Oboro (2^29): 0x20000000
  59. Upper: Equippable upper-types. Uses the following bitmasks:
  60. 1: Normal jobs
  61. 2: Upper jobs
  62. 4: Baby jobs
  63. 8: Third jobs
  64. Gender: Gender restriction. 0 is female, 1 is male, 2 for both.
  65. Loc: Equipment's placement. Values are:
  66. 2^12 4096 = Costume Low Headgear
  67. 2^11 2048 = Costume Mid Headgear
  68. 2^10 1024 = Costume Top Headgear
  69. 2^8 256 = Upper Headgear
  70. 2^9 512 = Middle Headgear
  71. 2^0 001 = Lower Headgear
  72. 2^4 016 = Armor
  73. 2^1 002 = Weapon
  74. 2^5 032 = Shield
  75. 2^2 004 = Garment
  76. 2^6 064 = Footgear
  77. 2^3 008 = Accessory 1
  78. 2^7 128 = Accessory 2
  79. wLV: Weapon level.
  80. eLV: Base level required to be able to equip.
  81. Refineable: 1 if the item can be refined, 0 otherwise.
  82. View: For normal items, defines a replacement view-sprite for the item (eg:
  83. Making apples look like apple juice). The special case are weapons
  84. and ammo where this value indicates the weapon-class of the item.
  85. For weapons, the types are:
  86. 0: bare fist
  87. 1: Daggers
  88. 2: One-handed swords
  89. 3: Two-handed swords
  90. 4: One-handed spears
  91. 5: Two-handed spears
  92. 6: One-handed axes
  93. 7: Two-handed axes
  94. 8: Maces
  95. 9: Unused
  96. 10: Staves
  97. 11: Bows
  98. 12: Knuckles
  99. 13: Musical Instruments
  100. 14: Whips
  101. 15: Books
  102. 16: Katars
  103. 17: Revolvers
  104. 18: Rifles
  105. 19: Gatling guns
  106. 20: Shotguns
  107. 21: Grenade launchers
  108. 22: Fuuma Shurikens
  109. For ammo, the types are:
  110. 1: Arrows
  111. 2: Throwable daggers
  112. 3: Bullets
  113. 4: Shells
  114. 5: Grenades
  115. 6: Shuriken
  116. 7: Kunai
  117. 7: Cannonballs
  118. 7: Throwable Items (Sling Item)
  119. Script: Script to execute when the item is used/equipped.
  120. OnEquip_Script: Script to execute when the item is equipped.
  121. Warning, not all item bonuses will work here as expected.
  122. OnUnequip_Script: Script to execute when the item is unequipped.
  123. Warning, not all item bonuses will work here as expected.