diff options
author | Wuzzy <Wuzzy@disroot.org> | 2022-06-03 19:47:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-03 21:47:04 +0200 |
commit | 6a6b579c5472065dd4ba8edcebe120b4b1c9198e (patch) | |
tree | f9cd6f5fd653e9ad394be96ab0ccac7ba82fb26a /src/script/lua_api/l_util.h | |
parent | 6d163b72dc777c6dfc62175c7af231cd62e5c2c7 (diff) | |
download | minetest-6a6b579c5472065dd4ba8edcebe120b4b1c9198e.tar.xz |
Add helper functions to make tool usable n times (#12047)
Diffstat (limited to 'src/script/lua_api/l_util.h')
-rw-r--r-- | src/script/lua_api/l_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_util.h b/src/script/lua_api/l_util.h index cc5563577..ec86c6632 100644 --- a/src/script/lua_api/l_util.h +++ b/src/script/lua_api/l_util.h @@ -50,6 +50,9 @@ private: // 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); |