From 363f0332788e04e2e4bb63af5cd21fac5ae56ae5 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sun, 6 Oct 2013 12:41:48 -0400 Subject: [PATCH] Disable wind mill by default because it isn't ready yet --- technic/config.lua | 1 + technic/machines/MV/init.lua | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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.