mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-19 16:50:31 +01:00
add test if ropes mod is installed for craft fishing:pole with ropes:rope
This commit is contained in:
parent
342f99f23c
commit
6243ec7e50
@ -29,7 +29,7 @@ minetest.register_craft({
|
|||||||
{"default:stick", "", "moreblocks:rope"},
|
{"default:stick", "", "moreblocks:rope"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
if minetest.get_modpath("ropes") ~= nil then
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "fishing:pole",
|
output = "fishing:pole",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -38,7 +38,7 @@ minetest.register_craft({
|
|||||||
{"default:stick", "", "ropes:rope" },
|
{"default:stick", "", "ropes:rope" },
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
-----------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------
|
||||||
-- Roasted Fish
|
-- Roasted Fish
|
||||||
|
Loading…
Reference in New Issue
Block a user