1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-17 15:48:31 +01:00

fix some crafts

This commit is contained in:
unknown 2022-08-02 23:47:22 -04:00 committed by Buckaroo Banzai
parent 97d4c65230
commit 0a605bdb96
4 changed files with 13 additions and 3 deletions

View File

@ -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

View File

@ -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",

View File

@ -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")

View File

@ -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" }
},