]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/itemdef.h
Add PseudoRandom in Lua API
[dragonfireclient.git] / src / itemdef.h
index 5a432591d7154bccd7072c75591fc6b789920513..904b4a2210a6eb1c747d09f6ec27f04a5e6ce33a 100644 (file)
@@ -25,8 +25,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include <string>
 #include <iostream>
 #include <set>
+#include "itemgroup.h"
 class IGameDef;
-struct ToolDiggingProperties;
+struct ToolCapabilities;
 
 /*
        Base item definition
@@ -63,7 +64,8 @@ struct ItemDefinition
        bool usable;
        bool liquids_pointable;
        // May be NULL. If non-NULL, deleted by destructor
-       ToolDiggingProperties *tool_digging_properties;
+       ToolCapabilities *tool_capabilities;
+       ItemGroupList groups;
 
        /*
                Cached stuff