move outlet up a bit, ...
move light switch down to bottom of node give them selection boxes that are easier to point at
@ -15,7 +15,13 @@ minetest.register_node("homedecor:power_outlet", {
|
|||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
{-0.125, -0.5, 0.4375, 0.125, -0.1875, 0.5},
|
{ -0.125, -0.3125, 0.4375, 0.125, 0, 0.5},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{ -0.1875, -0.375, 0.375, 0.1875, 0.0625, 0.5},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
groups = {cracky=3,dig_immediate=2},
|
groups = {cracky=3,dig_immediate=2},
|
||||||
@ -39,11 +45,17 @@ minetest.register_node("homedecor:light_switch", {
|
|||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
{-0.125, 0.1875, 0.4375, 0.125, 0.5, 0.5},
|
{ -0.125, -0.5, 0.4375, 0.125, -0.1875, 0.5 },
|
||||||
{-.03125, 0.375, 0.40625, 0.03125, 0.4375, 0.5},
|
{ -0.03125, -0.3125, 0.40625, 0.03125, -0.25, 0.5 },
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{ -0.1875, -0.5625, 0.375, 0.1875, -0.1250, 0.5 },
|
||||||
|
}
|
||||||
|
},
|
||||||
groups = {cracky=3,dig_immediate=2},
|
groups = {cracky=3,dig_immediate=2},
|
||||||
sounds = default.node_sound_stone_defaults()
|
sounds = default.node_sound_stone_defaults()
|
||||||
})
|
})
|
||||||
|
Before Width: | Height: | Size: 834 B After Width: | Height: | Size: 750 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 829 B After Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 206 B After Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 279 B After Width: | Height: | Size: 289 B |