mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-24 08:23:47 +01:00
there was a hidden farming dependency, probably never noticed because minetest-game has both default and farming
This commit is contained in:
parent
3224ddad38
commit
36a20910ba
18
crafts.lua
18
crafts.lua
@ -1,13 +1,15 @@
|
|||||||
-- Misc
|
-- Misc
|
||||||
|
|
||||||
minetest.register_craft({
|
if minetest.get_modpath("farming") then
|
||||||
output = 'ropes:ropesegment',
|
minetest.register_craft({
|
||||||
recipe = {
|
output = 'ropes:ropesegment',
|
||||||
{'farming:cotton',},
|
recipe = {
|
||||||
{'farming:cotton',},
|
{'farming:cotton',},
|
||||||
{'farming:cotton'}
|
{'farming:cotton',},
|
||||||
}
|
{'farming:cotton'}
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craftitem("ropes:ropesegment", {
|
minetest.register_craftitem("ropes:ropesegment", {
|
||||||
description = "Rope",
|
description = "Rope",
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
default
|
default
|
||||||
|
farming?
|
||||||
doc?
|
doc?
|
Loading…
Reference in New Issue
Block a user