summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-02-03 10:23:55 +0100
committerRealBadAngel <mk@realbadangel.pl>2013-02-03 10:23:55 +0100
commite83a4c652f36a426830f07890680a54381ccf9fb (patch)
treef8477e1ebc704a824436ae43de236d3e3cda28cc
parentb55bae95d86eea65bb2e56550f2d06115c51c746 (diff)
added mv furnace to PR list
-rw-r--r--technic/battery_box_mv.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/technic/battery_box_mv.lua b/technic/battery_box_mv.lua
index ae448e0..0712a41 100644
--- a/technic/battery_box_mv.lua
+++ b/technic/battery_box_mv.lua
@@ -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
-
+