Add crafting support for farming redo and moreblocks (#28)

This commit is contained in:
1F616EMO~nya 2024-07-17 03:20:59 +08:00 committed by GitHub
parent cc543689d0
commit 6ce834e307
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -17,6 +17,16 @@ if minetest.get_modpath("farming") then
{'farming:cotton','farming:cotton'}, {'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 end
if minetest.get_modpath("hemp") then if minetest.get_modpath("hemp") then
@ -39,6 +49,17 @@ if minetest.get_modpath("cottages") then
}) })
end 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({ minetest.register_craft({
output = 'ropes:ropesegment', output = 'ropes:ropesegment',
recipe = { recipe = {