diff --git a/homedecor_electrical/init.lua b/homedecor_electrical/init.lua index e1f4688c..cdce5bd1 100644 --- a/homedecor_electrical/init.lua +++ b/homedecor_electrical/init.lua @@ -97,7 +97,7 @@ for _, onoff in ipairs ({"on", "off"}) do { -0.1875, -0.5625, 0.375, 0.1875, -0.1250, 0.5 }, } }, - groups = {cracky=3,dig_immediate=2}, + groups = {cracky=3, dig_immediate=2, mesecon_needs_receiver=1, not_in_creative_inventory = (onoff == "on") and 1 or nil}, walkable = false, drop = { items = { @@ -143,7 +143,7 @@ minetest.register_craft( { }) minetest.register_craft( { - output = "homedecor:light_switch", + output = "homedecor:light_switch_off", recipe = { {"", "basic_materials:plastic_sheet", "basic_materials:copper_strip"}, {"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:copper_strip"}, diff --git a/homedecor_electrical/textures/homedecor_light_switch_front_off.png b/homedecor_electrical/textures/homedecor_light_switch_front_off.png index d198a3be..e361b45b 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 2caa42c6..482a8af2 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