From f8a8d2b58c9915e8e9d9934b0eb8a598bb7c749b Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Thu, 29 Feb 2024 19:29:14 +0100 Subject: [PATCH] recycle recipe --- craft.lua | 5 +++++ init.lua | 1 + 2 files changed, 6 insertions(+) create mode 100644 craft.lua diff --git a/craft.lua b/craft.lua new file mode 100644 index 0000000..945bffd --- /dev/null +++ b/craft.lua @@ -0,0 +1,5 @@ + +minetest.register_craft({ + output = "pick_and_place:pick", + recipe = {{"pick_and_place:place"}} +}) \ No newline at end of file diff --git a/init.lua b/init.lua index 7fdafcb..61024ad 100644 --- a/init.lua +++ b/init.lua @@ -21,6 +21,7 @@ dofile(MP .. "/configure_tool.lua") dofile(MP .. "/pick_tool.lua") dofile(MP .. "/place_tool.lua") dofile(MP .. "/preview.lua") +dofile(MP .. "/craft.lua") if minetest.get_modpath("mtt") and mtt.enabled then dofile(MP .. "/encode.spec.lua")