Disable wind mill by default because it isn't ready yet
authorShadowNinja <noreply@gmail.com>
Sun, 6 Oct 2013 16:41:48 +0000 (12:41 -0400)
committerShadowNinja <noreply@gmail.com>
Sun, 6 Oct 2013 16:42:41 +0000 (12:42 -0400)
technic/config.lua
technic/machines/MV/init.lua

index bfe32739851fb77d53166fd1cf5fd68b8d483e46..668e7db4c5c41d9c45b4be2373887ad7fbb19251 100644 (file)
@@ -12,6 +12,7 @@ local defaults = {
        enable_rubber_tree_generation = "true",
        enable_marble_generation = "true",
        enable_granite_generation = "true",
+       enable_wind_mill = "false",
 }
 
 for k, v in pairs(defaults) do
index fbd561fe6510d2d17d3d8f15d339d556dd4ef2ae..af0f5568df3d3bdfef99f072a48b8614d16375ce 100644 (file)
@@ -10,7 +10,9 @@ dofile(path.."/electric_furnace.lua")
 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
 
 -- The power radiator supplies appliances with inductive coupled power:
 -- Lighting and associated textures is taken directly from VanessaE's homedecor and made electric.