]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/lua_api/l_util.h
Add helper functions to make tool usable n times (#12047)
[dragonfireclient.git] / src / script / lua_api / l_util.h
index cc55635776bddb00f03b0e0e43ba3c20ebb24a93..ec86c663229736ff0cac5c608d2c696ef3b635bf 100644 (file)
@@ -50,6 +50,9 @@ class ModApiUtil : public ModApiBase
        // write_json(data[, styled])
        static int l_write_json(lua_State *L);
 
+       // get_tool_wear_after_use(uses[, initial_wear])
+       static int l_get_tool_wear_after_use(lua_State *L);
+
        // get_dig_params(groups, tool_capabilities[, wear])
        static int l_get_dig_params(lua_State *L);