summaryrefslogtreecommitdiffstats
path: root/source/Item.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Item.h')
-rw-r--r--source/Item.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Item.h b/source/Item.h
index 9384ece22..194b6bff6 100644
--- a/source/Item.h
+++ b/source/Item.h
@@ -106,6 +106,9 @@ public:
}
inline bool HasDuration() { return GetMaxDuration() > 0; }
+
+ /// Returns true if this itemstack can stack with the specified stack (types match, enchantments etc.) ItemCounts are ignored!
+ bool IsStackableWith(const cItem & a_OtherStack);
// tolua_end
void GetJson( Json::Value & a_OutValue ) const;