forked from mtcontrib/homedecor_modpack
fix some crafts
This commit is contained in:
parent
97d4c65230
commit
0a605bdb96
|
@ -44,6 +44,7 @@ homedecor.materials = {
|
|||
stone = "default:stone",
|
||||
cobble = "default:cobble",
|
||||
brick = "default:brick",
|
||||
obsidian_glass = "default:obsidian_glass",
|
||||
}
|
||||
|
||||
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 }
|
||||
|
||||
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),
|
||||
drawtype = "mesh",
|
||||
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),
|
||||
drawtype = "mesh",
|
||||
mesh = "homedecor_shrubbery.obj",
|
||||
|
|
|
@ -79,6 +79,15 @@ homedecor.register("chains", {
|
|||
_sound_def = {
|
||||
key = "node_sound_stone_defaults",
|
||||
},
|
||||
crafts = {
|
||||
{
|
||||
output = "homedecor:chains 4",
|
||||
recipe = {
|
||||
{ "steel_ingot","" },
|
||||
{ "homedecor:bars","homedecor:bars" },
|
||||
},
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_alias("3dforniture:bars", "homedecor:bars")
|
||||
|
|
|
@ -199,7 +199,7 @@ end
|
|||
minetest.register_craft( {
|
||||
output = "homedecor:wardrobe",
|
||||
recipe = {
|
||||
{ "homedecor:drawer_small", "homedecor:kitchen_cabinet" },
|
||||
{ "homedecor:drawer_small", "homedecor:kitchen_cabinet_colorable" },
|
||||
{ "homedecor:drawer_small", "group:wood" },
|
||||
{ "homedecor:drawer_small", "group:wood" }
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user