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
commit91f9047dcf18bdccda51c1066d6d0d76ababa61c (patch)
tree2b24b88dc2e860ac737c0cca72e9035586e704fe /src/map/itemdb.h
parent9a87c5b5ad061c2f92b87feadfd8baa6ad661ba5 (diff)
downloadhercules-91f9047dcf18bdccda51c1066d6d0d76ababa61c.tar.gz
hercules-91f9047dcf18bdccda51c1066d6d0d76ababa61c.tar.bz2
hercules-91f9047dcf18bdccda51c1066d6d0d76ababa61c.tar.xz
hercules-91f9047dcf18bdccda51c1066d6d0d76ababa61c.zip
Added an item_delay database usable for item-specific use delays.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@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)