forked from nalc/homedecor_modpack
fix some crafts
This commit is contained in:
parent
97d4c65230
commit
0a605bdb96
|
@ -44,6 +44,7 @@ homedecor.materials = {
|
||||||
stone = "default:stone",
|
stone = "default:stone",
|
||||||
cobble = "default:cobble",
|
cobble = "default:cobble",
|
||||||
brick = "default:brick",
|
brick = "default:brick",
|
||||||
|
obsidian_glass = "default:obsidian_glass",
|
||||||
}
|
}
|
||||||
|
|
||||||
if minetest.get_modpath("moreores") then
|
if minetest.get_modpath("moreores") then
|
||||||
|
|
|
@ -362,7 +362,7 @@ homedecor_exterior.shrub_colors = {
|
||||||
local shrub_cbox = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
local shrub_cbox = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 }
|
||||||
|
|
||||||
for color, color_loc in pairs(homedecor_exterior.shrub_colors) do
|
for color, color_loc in pairs(homedecor_exterior.shrub_colors) do
|
||||||
minetest.register_node(":homedecor:shrubbery_large_"..color, {
|
homedecor.register("shrubbery_large_"..color, {
|
||||||
description = S("Shrubbery (large, @1)", color_loc),
|
description = S("Shrubbery (large, @1)", color_loc),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "homedecor_cube.obj",
|
mesh = "homedecor_cube.obj",
|
||||||
|
@ -384,7 +384,7 @@ for color, color_loc in pairs(homedecor_exterior.shrub_colors) do
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":homedecor:shrubbery_"..color, {
|
homedecor.register("shrubbery_"..color, {
|
||||||
description = S("Shrubbery (@1)", color_loc),
|
description = S("Shrubbery (@1)", color_loc),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "homedecor_shrubbery.obj",
|
mesh = "homedecor_shrubbery.obj",
|
||||||
|
|
|
@ -79,6 +79,15 @@ homedecor.register("chains", {
|
||||||
_sound_def = {
|
_sound_def = {
|
||||||
key = "node_sound_stone_defaults",
|
key = "node_sound_stone_defaults",
|
||||||
},
|
},
|
||||||
|
crafts = {
|
||||||
|
{
|
||||||
|
output = "homedecor:chains 4",
|
||||||
|
recipe = {
|
||||||
|
{ "steel_ingot","" },
|
||||||
|
{ "homedecor:bars","homedecor:bars" },
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_alias("3dforniture:bars", "homedecor:bars")
|
minetest.register_alias("3dforniture:bars", "homedecor:bars")
|
||||||
|
|
|
@ -199,7 +199,7 @@ end
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "homedecor:wardrobe",
|
output = "homedecor:wardrobe",
|
||||||
recipe = {
|
recipe = {
|
||||||
{ "homedecor:drawer_small", "homedecor:kitchen_cabinet" },
|
{ "homedecor:drawer_small", "homedecor:kitchen_cabinet_colorable" },
|
||||||
{ "homedecor:drawer_small", "group:wood" },
|
{ "homedecor:drawer_small", "group:wood" },
|
||||||
{ "homedecor:drawer_small", "group:wood" }
|
{ "homedecor:drawer_small", "group:wood" }
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user