summaryrefslogtreecommitdiff
path: root/electric.lua
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-09-02 05:46:20 +0200
committerMaciej Kasatkin <mk@realbadangel.pl>2012-09-02 05:46:20 +0200
commitad8932ac99abef6378a32c492aef7b1f6e1df1e6 (patch)
tree145666f86dffe8c7b443136ec176a640903ebe11 /electric.lua
parent02a9acdc3c3a0b107b348441e68b9bb942a99258 (diff)
Added Coal Driven Generator
Diffstat (limited to 'electric.lua')
-rw-r--r--electric.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/electric.lua b/electric.lua
index 52956ca..4a7ed24 100644
--- a/electric.lua
+++ b/electric.lua
@@ -510,6 +510,7 @@ meta = minetest.env:get_meta(pos1)
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