forked from mtcontrib/homedecor_modpack
add clawfoot tubs
(one with brass handles, one chrome)
This commit is contained in:
parent
0f1b8418a1
commit
2d0363f3ac
@ -247,6 +247,46 @@ homedecor.register("shower_head", {
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
homedecor.register("bathtub_clawfoot_brass_taps", {
|
||||||
|
drawtype = "mesh",
|
||||||
|
mesh = "homedecor_bathtub_clawfoot.obj",
|
||||||
|
tiles = {
|
||||||
|
{ name = "homedecor_generic_metal.png", color = homedecor.color_med_grey },
|
||||||
|
"homedecor_generic_metal_bright.png",
|
||||||
|
"homedecor_generic_metal_bright.png",
|
||||||
|
"homedecor_generic_metal_brass.png",
|
||||||
|
"homedecor_marble.png",
|
||||||
|
"homedecor_bathtub_clawfoot_bottom_inside.png",
|
||||||
|
},
|
||||||
|
description = S("Bathtub, clawfoot, with brass taps"),
|
||||||
|
groups = {cracky=3},
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = { -0.5, -0.5, -0.5, 1.5, 0.3125, 0.5 },
|
||||||
|
},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
homedecor.register("bathtub_clawfoot_chrome_taps", {
|
||||||
|
drawtype = "mesh",
|
||||||
|
mesh = "homedecor_bathtub_clawfoot.obj",
|
||||||
|
tiles = {
|
||||||
|
{ name = "homedecor_generic_metal.png", color = homedecor.color_med_grey },
|
||||||
|
"homedecor_generic_metal_bright.png",
|
||||||
|
"homedecor_generic_metal_bright.png",
|
||||||
|
"homedecor_generic_metal_bright.png",
|
||||||
|
"homedecor_marble.png",
|
||||||
|
"homedecor_bathtub_clawfoot_bottom_inside.png",
|
||||||
|
},
|
||||||
|
description = S("Bathtub, clawfoot, with chrome taps"),
|
||||||
|
groups = {cracky=3},
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = { -0.5, -0.5, -0.5, 1.5, 0.3125, 0.5 },
|
||||||
|
},
|
||||||
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
local bs_cbox = {
|
local bs_cbox = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -8/16, -8/16, 1/16, 8/16, 8/16, 8/16 }
|
fixed = { -8/16, -8/16, 1/16, 8/16, 8/16, 8/16 }
|
||||||
|
@ -183,6 +183,24 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "homedecor:bathtub_clawfoot_brass_taps",
|
||||||
|
recipe = {
|
||||||
|
{ "homedecor:taps_brass", "", "" },
|
||||||
|
{ "group:marble", "", "group:marble" },
|
||||||
|
{"default:steel_ingot", "group:marble", "default:steel_ingot"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "homedecor:bathtub_clawfoot_chrome_taps",
|
||||||
|
recipe = {
|
||||||
|
{ "homedecor:taps", "", "" },
|
||||||
|
{ "group:marble", "", "group:marble" },
|
||||||
|
{"default:steel_ingot", "group:marble", "default:steel_ingot"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:bars 6",
|
output = "homedecor:bars 6",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
17399
homedecor/models/homedecor_bathtub_clawfoot.obj
Normal file
17399
homedecor/models/homedecor_bathtub_clawfoot.obj
Normal file
File diff suppressed because it is too large
Load Diff
BIN
homedecor/textures/homedecor_bathtub_clawfoot_bottom_inside.png
Normal file
BIN
homedecor/textures/homedecor_bathtub_clawfoot_bottom_inside.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 245 B |
Loading…
Reference in New Issue
Block a user