From 49f32a9e0a5a3c3598eaa9413f8661b4aaa2c8c4 Mon Sep 17 00:00:00 2001 From: Lupus Date: Wed, 28 Feb 2007 22:31:55 +0000 Subject: 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 --- src/map/itemdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/itemdb.h') 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 { -- cgit v1.2.3-60-g2f50