added mv furnace to PR list
authorRealBadAngel <mk@realbadangel.pl>
Sun, 3 Feb 2013 09:23:55 +0000 (10:23 +0100)
committerRealBadAngel <mk@realbadangel.pl>
Sun, 3 Feb 2013 09:23:55 +0000 (10:23 +0100)
technic/battery_box_mv.lua

index ae448e0ac230aba33793aa77bbf018eebee1d5d5..0712a4124037f321a5d5304bc749f88e7ca6f3fd 100644 (file)
@@ -316,6 +316,8 @@ end
 function check_MV_node_subp (PR_nodes,RE_nodes,MV_nodes,pos1)
 meta = minetest.env:get_meta(pos1)
 if meta:get_float("mv_cablelike")==1 then new_node_added=add_new_MVcable_node(MV_nodes,pos1) end
-if minetest.env:get_node(pos1).name == "technic:solar_panel_mv" then   new_node_added=add_new_MVcable_node(PR_nodes,pos1) end          
+if minetest.env:get_node(pos1).name == "technic:solar_panel_mv"                        then    new_node_added=add_new_MVcable_node(PR_nodes,pos1) end
+if minetest.env:get_node(pos1).name == "technic:mv_electric_furnace"           then    new_node_added=add_new_MVcable_node(RE_nodes,pos1) end
+if minetest.env:get_node(pos1).name == "technic:mv_electric_furnace_active" then       new_node_added=add_new_MVcable_node(RE_nodes,pos1) end
 end
-               
+