diff options
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index a19ac45e0..f84330522 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -4,8 +4,9 @@ #ifndef _ITEMDB_H_ #define _ITEMDB_H_ +#include "../common/db.h" #include "../common/mmo.h" // ITEM_NAME_LENGTH -#include "map.h" //REMODE +#include "map.h" // 32k array entries in array (the rest goes to the db) #define MAX_ITEMDB 0x8000 @@ -17,6 +18,9 @@ #define MAX_SEARCH 5 //Designed for search functions, species max number of matches to display. +/* maximum amount of items a combo may require */ +#define MAX_ITEMS_PER_COMBO 6 + enum item_itemid { ITEMID_EMPERIUM = 714, ITEMID_YELLOW_GEMSTONE = 715, @@ -141,6 +145,10 @@ struct item_group { int qty; //Counts amount of items in the group. }; +struct item_combo { + char script[2048]; /* combo script */ +}; + struct item_data* itemdb_searchname(const char *name); int itemdb_searchname_array(struct item_data** data, int size, const char *str); struct item_data* itemdb_load(int nameid); |