From b4bcbd1a2dca417a61f70eb9d1524fa92b2e0aa9 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Thu, 2 Dec 2010 22:33:32 +0000 Subject: * 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 --- db/const.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'db/const.txt') 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 -- cgit v1.2.3-70-g09d2