summaryrefslogtreecommitdiff
path: root/electric.lua
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-09-02 16:10:39 +0200
committerMaciej Kasatkin <mk@realbadangel.pl>2012-09-02 16:10:39 +0200
commit927ed7d1572735bf982d3914aa948fc6cbfa2e11 (patch)
treead686765dbf17d75233bf9ab3a93357b7e4a17eb /electric.lua
parent3c09c5210207b8b2d8f086d1946c7ba3cc09f155 (diff)
New machine: water mill
Diffstat (limited to 'electric.lua')
-rw-r--r--electric.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/electric.lua b/electric.lua
index 172e73e..10e1e6c 100644
--- a/electric.lua
+++ b/electric.lua
@@ -513,6 +513,8 @@ if minetest.env:get_node(pos1).name == "technic:generator" then new_node_added=
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:tool_workshop" then new_node_added=add_new_cable_node(RE_nodes,pos1) end