mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-28 02:13:43 +01:00
37 lines
766 B
Lua
37 lines
766 B
Lua
-- Misc
|
|
|
|
if minetest.get_modpath("farming") then
|
|
minetest.register_craft({
|
|
output = 'ropes:ropesegment',
|
|
recipe = {
|
|
{'farming:cotton',},
|
|
{'farming:cotton',},
|
|
{'farming:cotton'}
|
|
}
|
|
})
|
|
end
|
|
|
|
minetest.register_craftitem("ropes:ropesegment", {
|
|
description = "Rope",
|
|
_doc_items_longdesc = ropes.doc.ropesegment_longdesc,
|
|
_doc_items_usagehelp = ropes.doc.ropesegment_usage,
|
|
groups = {ropes = 1},
|
|
inventory_image = "ropes_item.png",
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "ropes:ropeladder_top",
|
|
recipe = {
|
|
{'group:ropes','default:stick','group:ropes'},
|
|
{'group:ropes','default:stick','group:ropes'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "ropes:1rope_block",
|
|
recipe = {
|
|
{'default:wood',},
|
|
{'group:ropes',},
|
|
{'group:ropes'}
|
|
}
|
|
}) |