summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 60d7a4f..cd8af5a 100644
--- a/init.lua
+++ b/init.lua
@@ -263,17 +263,18 @@ minetest.register_lbm({
action = function(pos,node)
local name = node.name
if string.find(name,"insulated") then
- name = "mesecons_insulated:insulated_grey_"
+ name = "mesecons_insulated:insulated_blue_"
elseif string.find(name,"corner") then
- name = "mesecons_extrawires:insulated_corner_grey_"
+ name = "mesecons_extrawires:insulated_corner_blue_"
elseif string.find(name,"tjunction") then
- name = "mesecons_extrawires:insulated_tjunction_grey_"
+ name = "mesecons_extrawires:insulated_tjunction_blue_"
end
if string.sub(node.name,-3,-1) == "_on" then
node.name = name.."on"
else
node.name = name.."off"
end
+ node.param2 = (node.param2 % 32) + 128
minetest.swap_node(pos,node)
end,
})