From 0a605bdb962d0d16786c3246eeffde9e7b40426d Mon Sep 17 00:00:00 2001 From: unknown <24964441+wsor4035@users.noreply.github.com> Date: Tue, 2 Aug 2022 23:47:22 -0400 Subject: [PATCH] fix some crafts --- homedecor_common/materials.lua | 1 + homedecor_exterior/init.lua | 4 ++-- homedecor_furniture_medieval/init.lua | 9 +++++++++ homedecor_wardrobe/init.lua | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/homedecor_common/materials.lua b/homedecor_common/materials.lua index 2997cf60..a6b81717 100644 --- a/homedecor_common/materials.lua +++ b/homedecor_common/materials.lua @@ -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 diff --git a/homedecor_exterior/init.lua b/homedecor_exterior/init.lua index 1ffef060..8a835f7c 100644 --- a/homedecor_exterior/init.lua +++ b/homedecor_exterior/init.lua @@ -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", diff --git a/homedecor_furniture_medieval/init.lua b/homedecor_furniture_medieval/init.lua index bcde356a..5dde4f20 100644 --- a/homedecor_furniture_medieval/init.lua +++ b/homedecor_furniture_medieval/init.lua @@ -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") diff --git a/homedecor_wardrobe/init.lua b/homedecor_wardrobe/init.lua index 1974fa90..c345fa58 100644 --- a/homedecor_wardrobe/init.lua +++ b/homedecor_wardrobe/init.lua @@ -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" } },