Maciej Kasatkin
2012-09-02 ad8932ac99abef6378a32c492aef7b1f6e1df1e6
electric.lua
@@ -510,6 +510,7 @@
if meta:get_float("cablelike")==1 then new_node_added=add_new_cable_node(LV_nodes,pos1) end
if minetest.env:get_node(pos1).name == "technic:solar_panel" then    new_node_added=add_new_cable_node(PR_nodes,pos1) end      
if minetest.env:get_node(pos1).name == "technic:generator" then    new_node_added=add_new_cable_node(PR_nodes,pos1) end      
if minetest.env:get_node(pos1).name == "technic:generator_active" then    new_node_added=add_new_cable_node(PR_nodes,pos1) end
if minetest.env:get_node(pos1).name == "technic:electric_furnace" then    new_node_added=add_new_cable_node(RE_nodes,pos1) end      
if minetest.env:get_node(pos1).name == "technic:electric_furnace_active" then    new_node_added=add_new_cable_node(RE_nodes,pos1) end      
if minetest.env:get_node(pos1).name == "technic:tool_workshop" then    new_node_added=add_new_cable_node(RE_nodes,pos1) end