summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-10 18:57:14 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-11-10 18:57:14 +0000
commitd95751dcd8b3e17f773117dac3897f0cf7cb90af (patch)
tree8fafe10caae1f6b5f9649006dda165d1d4b7e13d /src/map/itemdb.h
parent84cdcd0f78c162511734466e1d1a37078ee1a786 (diff)
downloadhercules-d95751dcd8b3e17f773117dac3897f0cf7cb90af.tar.gz
hercules-d95751dcd8b3e17f773117dac3897f0cf7cb90af.tar.bz2
hercules-d95751dcd8b3e17f773117dac3897f0cf7cb90af.tar.xz
hercules-d95751dcd8b3e17f773117dac3897f0cf7cb90af.zip
Added an item_delay database usable for item-specific use delays.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14455 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r--src/map/itemdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index 62bbb2c5a..5b07b5c1b 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -8,6 +8,9 @@
#define MAX_RANDITEM 11000
+// The maximum number of item delays
+#define MAX_ITEMDELAYS 10
+
#define MAX_SEARCH 5 //Designed for search functions, species max number of matches to display.
#define ITEMID_YELLOW_GEMSTONE 715
@@ -54,6 +57,7 @@ struct item_data {
int elv;
int wlv;
int view_id;
+ int delay;
//Lupus: I rearranged order of these fields due to compatibility with ITEMINFO script command
// some script commands should be revised as well...
unsigned int class_base[3]; //Specifies if the base can wear this item (split in 3 indexes per type: 1-1, 2-1, 2-2)