diff --git a/homedecor/misc-electrical.lua b/homedecor/misc-electrical.lua index bc67b84..a261694 100644 --- a/homedecor/misc-electrical.lua +++ b/homedecor/misc-electrical.lua @@ -15,7 +15,13 @@ minetest.register_node("homedecor:power_outlet", { node_box = { type = "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}, @@ -39,11 +45,17 @@ minetest.register_node("homedecor:light_switch", { node_box = { type = "fixed", fixed = { - {-0.125, 0.1875, 0.4375, 0.125, 0.5, 0.5}, - {-.03125, 0.375, 0.40625, 0.03125, 0.4375, 0.5}, + { -0.125, -0.5, 0.4375, 0.125, -0.1875, 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}, sounds = default.node_sound_stone_defaults() }) diff --git a/homedecor/textures/homedecor_light_switch_back.png b/homedecor/textures/homedecor_light_switch_back.png index 8b2ca4c..845c679 100644 Binary files a/homedecor/textures/homedecor_light_switch_back.png and b/homedecor/textures/homedecor_light_switch_back.png differ diff --git a/homedecor/textures/homedecor_light_switch_edges.png b/homedecor/textures/homedecor_light_switch_edges.png index 071a990..1215217 100644 Binary files a/homedecor/textures/homedecor_light_switch_edges.png and b/homedecor/textures/homedecor_light_switch_edges.png differ diff --git a/homedecor/textures/homedecor_light_switch_front.png b/homedecor/textures/homedecor_light_switch_front.png index 6ea5b95..7ee7732 100644 Binary files a/homedecor/textures/homedecor_light_switch_front.png and b/homedecor/textures/homedecor_light_switch_front.png differ diff --git a/homedecor/textures/homedecor_outlet_back.png b/homedecor/textures/homedecor_outlet_back.png index d89967d..5ce0130 100644 Binary files a/homedecor/textures/homedecor_outlet_back.png and b/homedecor/textures/homedecor_outlet_back.png differ diff --git a/homedecor/textures/homedecor_outlet_edges.png b/homedecor/textures/homedecor_outlet_edges.png index bcfb8d2..c6384c1 100644 Binary files a/homedecor/textures/homedecor_outlet_edges.png and b/homedecor/textures/homedecor_outlet_edges.png differ diff --git a/homedecor/textures/homedecor_outlet_front.png b/homedecor/textures/homedecor_outlet_front.png index fee8b15..032d2af 100644 Binary files a/homedecor/textures/homedecor_outlet_front.png and b/homedecor/textures/homedecor_outlet_front.png differ