summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_craft.h
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2016-04-25 18:50:10 +0300
committerest31 <MTest31@outlook.com>2016-07-05 21:40:13 +0200
commit281e9f39fdffd106e79122ae23e2b5443a5daea3 (patch)
tree38456eaaed63d4d4bd9fea72438e9dd64d9d5706 /src/script/lua_api/l_craft.h
parent7a532056e29d00006382caad9ccde66e54ca8aa5 (diff)
downloadminetest-281e9f39fdffd106e79122ae23e2b5443a5daea3.tar.gz
minetest-281e9f39fdffd106e79122ae23e2b5443a5daea3.tar.bz2
minetest-281e9f39fdffd106e79122ae23e2b5443a5daea3.zip
Adding minetest.clear_craft
Modifications by est31: grammar fixes in doc + error messages and a little style fix, no functional change.
Diffstat (limited to 'src/script/lua_api/l_craft.h')
-rw-r--r--src/script/lua_api/l_craft.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/lua_api/l_craft.h b/src/script/lua_api/l_craft.h
index 548608776..eb2bce706 100644
--- a/src/script/lua_api/l_craft.h
+++ b/src/script/lua_api/l_craft.h
@@ -33,6 +33,7 @@ private:
static int l_get_craft_recipe(lua_State *L);
static int l_get_all_craft_recipes(lua_State *L);
static int l_get_craft_result(lua_State *L);
+ static int l_clear_craft(lua_State *L);
static bool readCraftReplacements(lua_State *L, int index,
CraftReplacements &replacements);