diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-27 11:30:37 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-27 11:30:37 +0000 |
commit | c82d8121d5c52e42242d9f3f8be36f0aed569701 (patch) | |
tree | 9e22f1dec5282717cf32fe6fe7e1697a2289d181 /src/map/itemdb.h | |
parent | d10cf69aff5fdc4894535e62705de9f6bdfe2672 (diff) | |
download | hercules-c82d8121d5c52e42242d9f3f8be36f0aed569701.tar.gz hercules-c82d8121d5c52e42242d9f3f8be36f0aed569701.tar.bz2 hercules-c82d8121d5c52e42242d9f3f8be36f0aed569701.tar.xz hercules-c82d8121d5c52e42242d9f3f8be36f0aed569701.zip |
* Added item stacking limit database (item_stack.txt) required for runes and other 3rd class related skill items.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14635 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index 3fb14b2d4..bc1d5b3b0 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -77,6 +77,14 @@ struct item_data { unsigned trade_restriction : 7; //Item restrictions mask [Skotlex] unsigned autoequip: 1; } flag; + struct + {// item stacking limitation + unsigned short amount; + unsigned int inventory:1; + unsigned int cart:1; + unsigned int storage:1; + unsigned int guildstorage:1; + } stack; short gm_lv_trade_override; //GM-level to override trade_restriction }; |