From 7a3cd495972f2dc399d7af7f596a6d9a4a5c728b Mon Sep 17 00:00:00 2001
From: SmallJoker <st.rentsch@hotmail.com>
Date: Tue, 03 Dec 2013 17:22:48 +0100
Subject: [PATCH] Add pipeworks support to generators

---
 technic/machines/MV/init.lua |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/technic/machines/MV/init.lua b/technic/machines/MV/init.lua
index fbd561f..92d1da9 100644
--- a/technic/machines/MV/init.lua
+++ b/technic/machines/MV/init.lua
@@ -10,7 +10,10 @@
 dofile(path.."/grinder.lua")
 dofile(path.."/solar_array.lua")
 dofile(path.."/tool_workshop.lua")
-dofile(path.."/wind_mill.lua")
+if technic.config:get_bool("enable_wind_mill") then
+	dofile(path.."/wind_mill.lua")
+end
+dofile(path.."/generator.lua")
 
 -- The power radiator supplies appliances with inductive coupled power:
 -- Lighting and associated textures is taken directly from VanessaE's homedecor and made electric.

--
Gitblit v1.8.0