summaryrefslogtreecommitdiff
path: root/technic/machines/LV
diff options
context:
space:
mode:
Diffstat (limited to 'technic/machines/LV')
-rw-r--r--technic/machines/LV/init.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/technic/machines/LV/init.lua b/technic/machines/LV/init.lua
index 30523c9..aeb6ce3 100644
--- a/technic/machines/LV/init.lua
+++ b/technic/machines/LV/init.lua
@@ -8,11 +8,13 @@ dofile(path.."/cables.lua")
dofile(path.."/battery_box.lua")
-- Generators
-dofile(path.."/solar_panel.lua")
-dofile(path.."/solar_array.lua")
-dofile(path.."/geothermal.lua")
-dofile(path.."/water_mill.lua")
-dofile(path.."/generator.lua")
+if technic.config:get_bool("enable_producers") then
+ dofile(path.."/solar_panel.lua")
+ dofile(path.."/solar_array.lua")
+ dofile(path.."/geothermal.lua")
+ dofile(path.."/water_mill.lua")
+ dofile(path.."/generator.lua")
+end
-- Machines
dofile(path.."/alloy_furnace.lua")