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.