mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-12-29 00:57:36 +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
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'ropes:ropesegment',
|
||||
recipe = {
|
||||
{'farming:cotton',},
|
||||
{'farming:cotton',},
|
||||
{'farming:cotton'}
|
||||
}
|
||||
})
|
||||
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",
|
||||
|
@ -1,2 +1,3 @@
|
||||
default
|
||||
farming?
|
||||
doc?
|
Loading…
Reference in New Issue
Block a user