From 718a5beda197cd0a775fd41aedfb5b1bbd5d1d8b Mon Sep 17 00:00:00 2001 From: ZettaScript <contact@zettascript.org> Date: Thu, 20 Oct 2022 17:56:10 +0200 Subject: [PATCH] Supply converter: demany only the needed power (#577) --- technic/machines/MV/init.lua | 30 ++++++++++++++++++++++-------- 1 files changed, 22 insertions(+), 8 deletions(-) diff --git a/technic/machines/MV/init.lua b/technic/machines/MV/init.lua index af0f556..07c44b6 100644 --- a/technic/machines/MV/init.lua +++ b/technic/machines/MV/init.lua @@ -3,19 +3,33 @@ local path = technic.modpath.."/machines/MV" -dofile(path.."/alloy_furnace.lua") -dofile(path.."/battery_box.lua") +-- Wiring stuff dofile(path.."/cables.lua") -dofile(path.."/electric_furnace.lua") -dofile(path.."/grinder.lua") -dofile(path.."/solar_array.lua") -dofile(path.."/tool_workshop.lua") +dofile(path.."/battery_box.lua") + +-- Generators if technic.config:get_bool("enable_wind_mill") then dofile(path.."/wind_mill.lua") end +dofile(path.."/generator.lua") +dofile(path.."/solar_array.lua") +dofile(path.."/hydro_turbine.lua") + +-- Machines +dofile(path.."/alloy_furnace.lua") +dofile(path.."/electric_furnace.lua") +dofile(path.."/grinder.lua") +dofile(path.."/extractor.lua") +dofile(path.."/compressor.lua") +dofile(path.."/centrifuge.lua") + +dofile(path.."/tool_workshop.lua") + +dofile(path.."/freezer.lua") -- The power radiator supplies appliances with inductive coupled power: -- Lighting and associated textures is taken directly from VanessaE's homedecor and made electric. -dofile(path.."/power_radiator.lua") -dofile(path.."/lighting.lua") +-- This is currently useless, slow, and mostly copied +--dofile(path.."/power_radiator.lua") +--dofile(path.."/lighting.lua") -- Gitblit v1.8.0