1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Add helper functions to make tool usable n times (#12047)

This commit is contained in:
Wuzzy
2022-06-03 19:47:04 +00:00
committed by GitHub
parent 6d163b72dc
commit 6a6b579c54
7 changed files with 60 additions and 3 deletions

View File

@@ -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);