use mesh node for former 3dforniture bathroom sink

This commit is contained in:
Vanessa Ezekowitz 2015-04-17 12:45:14 -04:00
parent e71bbdc0ef
commit e60562d58b
6 changed files with 1101 additions and 23 deletions

View File

@ -60,32 +60,23 @@ homedecor.register("toilet_open", {
})
--Sink
local sink_cbox = {
type = "fixed",
fixed = { -5/16, -8/16, 1/16, 5/16, 8/16, 8/16 }
}
homedecor.register("sink", {
description = S("Sink"),
description = S("Bathroom Sink"),
mesh = "homedecor_bathroom_sink.obj",
tiles = {
"forniture_marble_top_sink.png",
"forniture_marble.png"
},
inventory_image="3dforniture_inv_sink.png",
node_box = {
type = "fixed",
fixed = {
{ -0.15, 0.35, 0.20, 0.15, 0.40, 0.50, },
{ -0.25, 0.40, 0.40, 0.25, 0.45, 0.50, },
{ -0.25, 0.40, 0.15, -0.15, 0.45, 0.40, },
{ 0.15, 0.40, 0.15, 0.25, 0.45, 0.40, },
{ -0.15, 0.40, 0.15, 0.15, 0.45, 0.20, },
{ -0.30, 0.45, 0.40, 0.30, 0.50, 0.50, },
{ -0.30, 0.45, 0.10, -0.25, 0.50, 0.40, },
{ 0.25, 0.45, 0.10, 0.30, 0.50, 0.40, },
{ -0.25, 0.45, 0.10, 0.25, 0.50, 0.15, },
{-0.1, -0.5, 0.3, 0.1, 0.4, 0.5},
},
},
selection_box = {
type = "fixed",
fixed = {-0.3,-0.5,0.1, 0.3,0.5,0.5},
"homedecor_marble_light.png",
"forniture_marble.png",
"default_water.png"
},
inventory_image="homedecor_bathroom_sink_inv.png",
selection_box = sink_cbox,
collision_box = sink_cbox,
groups = {cracky=2,},
sounds = default.node_sound_stone_defaults(),
})

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B