diff --git a/homedecor_electrical/init.lua b/homedecor_electrical/init.lua index cdce5bd1..53c7fbb0 100644 --- a/homedecor_electrical/init.lua +++ b/homedecor_electrical/init.lua @@ -65,14 +65,14 @@ homedecor.register("power_outlet", { for _, onoff in ipairs ({"on", "off"}) do local model = { - { -0.125, -0.5, 0.4375, 0.125, -0.1875, 0.5 }, - { -0.03125, -0.3125, 0.40625, 0.03125, -0.25, 0.5 }, + { -0.125, -0.1875, 0.4375, 0.125, 0.125, 0.5 }, + { -0.03125, 0, 0.40625, 0.03125, 0.0625, 0.5 }, } if onoff == "on" then model = { - { -0.125, -0.5, 0.4375, 0.125, -0.1875, 0.5 }, - { -0.03125, -0.4375, 0.40625, 0.03125, -0.375, 0.5 }, + { -0.125, -0.1875, 0.4375, 0.125, 0.125, 0.5 }, + { -0.03125, -0.125, 0.40625, 0.03125, -0.0625, 0.5 }, } end @@ -94,7 +94,7 @@ for _, onoff in ipairs ({"on", "off"}) do selection_box = { type = "fixed", fixed = { - { -0.1875, -0.5625, 0.375, 0.1875, -0.1250, 0.5 }, + { -0.1875, -0.25, 0.375, 0.1875, 0.1875, 0.5 }, } }, groups = {cracky=3, dig_immediate=2, mesecon_needs_receiver=1, not_in_creative_inventory = (onoff == "on") and 1 or nil}, diff --git a/homedecor_electrical/textures/homedecor_light_switch_back.png b/homedecor_electrical/textures/homedecor_light_switch_back.png index 8ad7c7ea..f3357d1d 100644 Binary files a/homedecor_electrical/textures/homedecor_light_switch_back.png and b/homedecor_electrical/textures/homedecor_light_switch_back.png differ diff --git a/homedecor_electrical/textures/homedecor_light_switch_edges.png b/homedecor_electrical/textures/homedecor_light_switch_edges.png index 0db6f431..db6d618e 100644 Binary files a/homedecor_electrical/textures/homedecor_light_switch_edges.png and b/homedecor_electrical/textures/homedecor_light_switch_edges.png differ diff --git a/homedecor_electrical/textures/homedecor_light_switch_front_off.png b/homedecor_electrical/textures/homedecor_light_switch_front_off.png index e361b45b..eecc8b35 100644 Binary files a/homedecor_electrical/textures/homedecor_light_switch_front_off.png and b/homedecor_electrical/textures/homedecor_light_switch_front_off.png differ diff --git a/homedecor_electrical/textures/homedecor_light_switch_front_on.png b/homedecor_electrical/textures/homedecor_light_switch_front_on.png index 482a8af2..1b6c3f60 100644 Binary files a/homedecor_electrical/textures/homedecor_light_switch_front_on.png and b/homedecor_electrical/textures/homedecor_light_switch_front_on.png differ