summaryrefslogtreecommitdiffstats
path: root/source/Root.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-22 16:50:03 +0100
committermadmaxoft <github@xoft.cz>2013-11-22 16:50:03 +0100
commit281bf8f90bbd295bb81ec09889bcaeefa689e6b2 (patch)
treedef7903bbb2abb92381f0660a6806ad13ff2a8ba /source/Root.h
parentFixed cRoot:GetFurnaceRecipe() Lua binding. (diff)
downloadcuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.gz
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.bz2
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.lz
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.xz
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.tar.zst
cuberite-281bf8f90bbd295bb81ec09889bcaeefa689e6b2.zip
Diffstat (limited to '')
-rw-r--r--source/Root.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Root.h b/source/Root.h
index 36643a3ba..4e38dd17f 100644
--- a/source/Root.h
+++ b/source/Root.h
@@ -57,6 +57,10 @@ public:
cGroupManager * GetGroupManager (void) { return m_GroupManager; } // tolua_export
cCraftingRecipes * GetCraftingRecipes(void) { return m_CraftingRecipes; } // tolua_export
cFurnaceRecipe * GetFurnaceRecipe (void) { return m_FurnaceRecipe; } // Exported in ManualBindings.cpp with quite a different signature
+
+ /// Returns the number of ticks for how long the item would fuel a furnace. Returns zero if not a fuel
+ static int GetFurnaceFuelBurnTime(const cItem & a_Fuel); // tolua_export
+
cWebAdmin * GetWebAdmin (void) { return m_WebAdmin; } // tolua_export
cPluginManager * GetPluginManager (void) { return m_PluginManager; } // tolua_export
cAuthenticator & GetAuthenticator (void) { return m_Authenticator; }