summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-28 22:31:55 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-28 22:31:55 +0000
commit49f32a9e0a5a3c3598eaa9413f8661b4aaa2c8c4 (patch)
tree23f03558ecfa173b582d3b32e56838efc4210c70 /src/map/itemdb.h
parentf4e33de65bca782f34061cd9610792dbffad8b08 (diff)
downloadhercules-49f32a9e0a5a3c3598eaa9413f8661b4aaa2c8c4.tar.gz
hercules-49f32a9e0a5a3c3598eaa9413f8661b4aaa2c8c4.tar.bz2
hercules-49f32a9e0a5a3c3598eaa9413f8661b4aaa2c8c4.tar.xz
hercules-49f32a9e0a5a3c3598eaa9413f8661b4aaa2c8c4.zip
added setiteminfo function, updated setitemscript func, added NPC sample for them
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9938 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r--src/map/itemdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index e8f1a07ef..55b02ab55 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -51,6 +51,7 @@ struct item_data {
int look;
int elv;
int wlv;
+ int view_id;
//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)
@@ -73,7 +74,6 @@ struct item_data {
unsigned autoequip: 1;
} flag;
short gm_lv_trade_override; //GM-level to override trade_restriction
- int view_id;
};
struct item_group {