mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-30 19:33:54 +01:00
Add crafting support for farming redo and moreblocks (#28)
This commit is contained in:
parent
cc543689d0
commit
6ce834e307
21
crafts.lua
21
crafts.lua
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user