Skip to content

Commit

Permalink
fix some conflicting recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
OgelGames committed Oct 13, 2021
1 parent 31e881b commit 825b8bf
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ drawers,
ehlphabet,
fancy_vend,
gravity_manager,
homedecor_cobweb,
jumpdrive,
lavastuff,
letters,
Expand All @@ -36,6 +37,7 @@ pipeworks,
planetoidgen,
player_monoids,
prefab,
ropes,
scifi_nodes,
signs_lib,
skybox,
Expand Down
29 changes: 27 additions & 2 deletions recipes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ if minetest.get_modpath("castle_weapons") then
{'', '', ''}
}
})

end

-- book renewal
Expand Down Expand Up @@ -254,4 +253,30 @@ if minetest.get_modpath("ehlphabet") and minetest.get_modpath("moreblocks") then
recipe = {"ehlphabet:block"},
type = "shapeless"
})
end
end

-- fix conflicting cobweb recipes
-- use mobs:cobweb to craft homedecor:cobweb_corner
if minetest.get_modpath("mobs_monster") and minetest.get_modpath("homedecor_cobweb") then
minetest.clear_craft({
output = "homedecor:cobweb_corner"
})
minetest.register_craft({
output = "homedecor:cobweb_corner",
recipe = {"mobs:cobweb"},
type = "shapeless"
})
end

-- fix recipe for ropes:ladder_wood conflicting with homedecor:table_legs_wood
-- use default:ladder_wood to craft ropes:ladder_wood
if minetest.get_modpath("ropes") then
minetest.clear_craft({
output = "ropes:ladder_wood"
})
minetest.register_craft({
output = "ropes:ladder_wood",
recipe = {"default:ladder_wood"},
type = "shapeless"
})
end

0 comments on commit 825b8bf

Please sign in to comment.