From 6ce834e307fc27ed498eac515fa3d0186e948413 Mon Sep 17 00:00:00 2001 From: 1F616EMO~nya Date: Wed, 17 Jul 2024 03:20:59 +0800 Subject: [PATCH] Add crafting support for farming redo and moreblocks (#28) --- crafts.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/crafts.lua b/crafts.lua index 9b329a6..e09bc16 100644 --- a/crafts.lua +++ b/crafts.lua @@ -17,6 +17,16 @@ if minetest.get_modpath("farming") then {'farming:cotton','farming:cotton'}, } }) + + if farming.mod == "redo" or farming.mod == "undo" then + minetest.register_craft({ + output = 'ropes:ropesegment', + recipe = { + {'farming:hemp_rope'}, + {'farming:hemp_rope'}, + } + }) + end end if minetest.get_modpath("hemp") then @@ -39,6 +49,17 @@ if minetest.get_modpath("cottages") then }) end +if minetest.get_modpath("moreblocks") then + minetest.register_craft({ + output = 'ropes:ropesegment', + recipe = { + {'moreblocks:rope','moreblocks:rope'}, + {'moreblocks:rope','moreblocks:rope'}, + {'moreblocks:rope','moreblocks:rope'}, + } + }) +end + minetest.register_craft({ output = 'ropes:ropesegment', recipe = {