summaryrefslogtreecommitdiff
path: root/db/const.txt
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 22:33:32 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 22:33:32 +0000
commitb4bcbd1a2dca417a61f70eb9d1524fa92b2e0aa9 (patch)
tree64e357255f2460a8c93fb46e315e606416f84583 /db/const.txt
parente6b8222bdb14b6e1e8b3cd12733ae1bce97a23fb (diff)
downloadhercules-b4bcbd1a2dca417a61f70eb9d1524fa92b2e0aa9.tar.gz
hercules-b4bcbd1a2dca417a61f70eb9d1524fa92b2e0aa9.tar.bz2
hercules-b4bcbd1a2dca417a61f70eb9d1524fa92b2e0aa9.tar.xz
hercules-b4bcbd1a2dca417a61f70eb9d1524fa92b2e0aa9.zip
* Various code tweaks and updates related to item types.
- Replaced item type literals with their appropriate constants. - Added itemdb_typename to replace the ugly "BUG!" filled array in @iteminfo (since r1741, follow up to r14550). - Made the item database parser verify item type for validity. - Added item type constants to const.txt for use in scripts (getiteminfo). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14551 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'db/const.txt')
-rw-r--r--db/const.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/const.txt b/db/const.txt
index 9e876661e..d5e222239 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -1853,3 +1853,15 @@ DIR_SOUTH 4
DIR_SOUTHEAST 5
DIR_EAST 6
DIR_NORTHEAST 7
+
+IT_HEALING 0
+IT_USABLE 2
+IT_ETC 3
+IT_WEAPON 4
+IT_ARMOR 5
+IT_CARD 6
+IT_PETEGG 7
+IT_PETARMOR 8
+IT_AMMO 10
+IT_DELAYCONSUME 11
+IT_CASH 18