add cottages recipe only when cottages is available
This commit is contained in:
parent
8893d66dc6
commit
7afe2bf812
|
@ -1809,15 +1809,6 @@ minetest.register_craft({
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:table_lamp_hi",
|
||||
recipe = {
|
||||
{ "cottages:wool", "default:torch", "cottages:wool"},
|
||||
{ "", "group:stick", ""},
|
||||
{ "", "stairs:slab_wood", "" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:table_lamp_hi",
|
||||
recipe = {
|
||||
|
@ -1827,14 +1818,25 @@ minetest.register_craft({
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
if minetest.get_modpath("cottages") then
|
||||
minetest.register_craft({
|
||||
output = "homedecor:table_lamp_hi",
|
||||
recipe = {
|
||||
{ "cottages:wool", "default:torch", "cottages:wool"},
|
||||
{ "", "group:stick", ""},
|
||||
{ "", "stairs:slab_wood", "" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:table_lamp_hi",
|
||||
recipe = {
|
||||
{ "cottages:wool", "default:torch", "cottages:wool"},
|
||||
{ "", "group:stick", ""},
|
||||
{ "", "moreblocks:slab_wood", "" },
|
||||
},
|
||||
})
|
||||
})
|
||||
end
|
||||
|
||||
unifieddyes.register_color_craft({
|
||||
output = "homedecor:table_lamp_hi",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name = homedecor_lighting
|
||||
description = Homedecor mod: lighting
|
||||
depends = homedecor_common
|
||||
optional_depends = moreblocks, building_blocks, darkage, mesecons, digilines, screwdriver, default, basic_materials, unifieddyes, creative
|
||||
optional_depends = moreblocks, building_blocks, darkage, mesecons, digilines, screwdriver, default, basic_materials, unifieddyes, creative, cottages
|
||||
|
|
|
@ -414,14 +414,16 @@ minetest.register_craft( {
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
if minetest.get_modpath("cottages") then
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:curtain_open 4",
|
||||
recipe = {
|
||||
{ "cottages:wool", "", ""},
|
||||
{ "cottages:wool", "", ""},
|
||||
{ "cottages:wool", "", ""},
|
||||
},
|
||||
})
|
||||
})
|
||||
end
|
||||
|
||||
unifieddyes.register_color_craft({
|
||||
output = "homedecor:curtain_closed",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name = homedecor_windows_and_treatments
|
||||
description = Homedecor mod: windows and treatments
|
||||
depends = homedecor_common
|
||||
optional_depends = building_blocks, default, basic_materials, unifieddyes
|
||||
optional_depends = building_blocks, default, basic_materials, unifieddyes, cottages
|
||||
|
|
Loading…
Reference in New Issue