diff --git a/homedecor/bathroom_sanitation.lua b/homedecor/bathroom_sanitation.lua index 4d1a96ec..c95406a8 100644 --- a/homedecor/bathroom_sanitation.lua +++ b/homedecor/bathroom_sanitation.lua @@ -104,8 +104,29 @@ homedecor.register("taps", { "homedecor_white_metal.png", "homedecor_bright_metal.png" }, - inventory_image = "3dforniture_inv_taps.png", - wield_image = "3dforniture_inv_taps.png", + inventory_image = "3dforniture_taps_inv.png", + wield_image = "3dforniture_taps_inv.png", + sunlight_propagates = true, + selection_box = { + type = "fixed", + fixed = { -4/16, -7/16, 4/16, 4/16, -4/16, 8/16 }, + }, + walkable = false, + groups = {cracky=2,}, + sounds = default.node_sound_stone_defaults(), +}) + +homedecor.register("taps_brass", { + description = S("Bathroom taps/faucet (brass)"), + mesh = "homedecor_bathroom_faucet.obj", + tiles = { + "homedecor_tile_brass2.png", + "homedecor_tile_brass2.png", + "homedecor_white_metal.png", + "homedecor_tile_brass2.png" + }, + inventory_image = "3dforniture_taps_brass_inv.png", + wield_image = "3dforniture_taps_brass_inv.png", sunlight_propagates = true, selection_box = { type = "fixed", @@ -117,6 +138,7 @@ homedecor.register("taps", { }) --Shower Tray + homedecor.register("shower_tray", { description = S("Shower Tray"), tiles = { diff --git a/homedecor/furniture_recipes.lua b/homedecor/furniture_recipes.lua index 4e2e5b08..7b197df5 100644 --- a/homedecor/furniture_recipes.lua +++ b/homedecor/furniture_recipes.lua @@ -216,6 +216,13 @@ minetest.register_craft({ }, }) +minetest.register_craft({ + output = "homedecor:taps_brass", + recipe = { + { "technic:brass_ingot","bucket:bucket_water", "technic:brass_ingot" }, + }, +}) + minetest.register_craft({ output = "homedecor:shower_tray", recipe = { diff --git a/homedecor/textures/3dforniture_taps_brass_inv.png b/homedecor/textures/3dforniture_taps_brass_inv.png new file mode 100644 index 00000000..bf329a42 Binary files /dev/null and b/homedecor/textures/3dforniture_taps_brass_inv.png differ diff --git a/homedecor/textures/3dforniture_inv_taps.png b/homedecor/textures/3dforniture_taps_inv.png similarity index 100% rename from homedecor/textures/3dforniture_inv_taps.png rename to homedecor/textures/3dforniture_taps_inv.png