summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowNinja <noreply@gmail.com>2013-10-06 12:41:48 -0400
committerShadowNinja <noreply@gmail.com>2013-10-06 12:42:41 -0400
commit363f0332788e04e2e4bb63af5cd21fac5ae56ae5 (patch)
treeeb41c491b5778d370738c32fd478c407efc9cc5e
parenta579ee829a2636cb4b1aa4ca9f4fc3bb943ea93c (diff)
Disable wind mill by default because it isn't ready yet
-rw-r--r--technic/config.lua1
-rw-r--r--technic/machines/MV/init.lua4
2 files changed, 4 insertions, 1 deletions
diff --git a/technic/config.lua b/technic/config.lua
index bfe3273..668e7db 100644
--- a/technic/config.lua
+++ b/technic/config.lua
@@ -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
diff --git a/technic/machines/MV/init.lua b/technic/machines/MV/init.lua
index fbd561f..af0f556 100644
--- a/technic/machines/MV/init.lua
+++ b/technic/machines/MV/init.lua
@@ -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.