forked from mtcontrib/homedecor_modpack
use mesh node for former 3dforniture bathroom sink
This commit is contained in:
parent
e71bbdc0ef
commit
e60562d58b
@ -60,32 +60,23 @@ homedecor.register("toilet_open", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
--Sink
|
--Sink
|
||||||
|
|
||||||
|
local sink_cbox = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = { -5/16, -8/16, 1/16, 5/16, 8/16, 8/16 }
|
||||||
|
}
|
||||||
|
|
||||||
homedecor.register("sink", {
|
homedecor.register("sink", {
|
||||||
description = S("Sink"),
|
description = S("Bathroom Sink"),
|
||||||
|
mesh = "homedecor_bathroom_sink.obj",
|
||||||
tiles = {
|
tiles = {
|
||||||
"forniture_marble_top_sink.png",
|
"homedecor_marble_light.png",
|
||||||
"forniture_marble.png"
|
"forniture_marble.png",
|
||||||
},
|
"default_water.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},
|
|
||||||
},
|
},
|
||||||
|
inventory_image="homedecor_bathroom_sink_inv.png",
|
||||||
|
selection_box = sink_cbox,
|
||||||
|
collision_box = sink_cbox,
|
||||||
groups = {cracky=2,},
|
groups = {cracky=2,},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
1087
homedecor/models/homedecor_bathroom_sink.obj
Normal file
1087
homedecor/models/homedecor_bathroom_sink.obj
Normal file
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 |
BIN
homedecor/textures/homedecor_bathroom_sink_inv.png
Normal file
BIN
homedecor/textures/homedecor_bathroom_sink_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
BIN
homedecor/textures/homedecor_marble_light.png
Normal file
BIN
homedecor/textures/homedecor_marble_light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 626 B |
Loading…
Reference in New Issue
Block a user