Maciej Kasatkin
2012-09-11 1f1562f630bf1f8cb0c40161a2a423a702c5a209
electric.lua
@@ -513,8 +513,12 @@
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:geothermal" then    new_node_added=add_new_cable_node(PR_nodes,pos1) end      
if minetest.env:get_node(pos1).name == "technic:geothermal_active" then    new_node_added=add_new_cable_node(PR_nodes,pos1) end      
if minetest.env:get_node(pos1).name == "technic:water_mill" then    new_node_added=add_new_cable_node(PR_nodes,pos1) end
if minetest.env:get_node(pos1).name == "technic:water_mill_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:alloy_furnace" then    new_node_added=add_new_cable_node(RE_nodes,pos1) end
if minetest.env:get_node(pos1).name == "technic:alloy_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      
if minetest.env:get_node(pos1).name == "technic:music_player" then    new_node_added=add_new_cable_node(RE_nodes,pos1) end      
if minetest.env:get_node(pos1).name == "technic:grinder" then    new_node_added=add_new_cable_node(RE_nodes,pos1) end