From: ShadowNinja Date: Sun, 6 Oct 2013 16:41:48 +0000 (-0400) Subject: Disable wind mill by default because it isn't ready yet X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=363f0332788e04e2e4bb63af5cd21fac5ae56ae5;p=zefram%2Fminetest%2Ftechnic.git Disable wind mill by default because it isn't ready yet --- 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.