From 21e044478e259efa202dce2c2e82afc342f07b90 Mon Sep 17 00:00:00 2001 From: SmallJoker <mk939@ymail.com> Date: Sat, 26 Nov 2022 23:25:33 +0100 Subject: [PATCH] Fix battery box charging issues caused by out of sync functions --- technic/machines/register/init.lua | 36 ++++++++++++++++++++++++++++++------ 1 files changed, 30 insertions(+), 6 deletions(-) diff --git a/technic/machines/register/init.lua b/technic/machines/register/init.lua index d3af184..29ec2ea 100644 --- a/technic/machines/register/init.lua +++ b/technic/machines/register/init.lua @@ -1,11 +1,35 @@ local path = technic.modpath.."/machines/register" -dofile(path.."/alloy_furnace.lua") -dofile(path.."/battery_box.lua") -dofile(path.."/cables.lua") dofile(path.."/common.lua") + +-- Wiring stuff +dofile(path.."/cables.lua") +dofile(path.."/battery_box.lua") + +-- Generators +dofile(path.."/solar_array.lua") +dofile(path.."/generator.lua") + +-- API for machines +dofile(path.."/recipes.lua") +dofile(path.."/machine_base.lua") + +-- Recipes +dofile(path.."/alloy_recipes.lua") +dofile(path.."/grinder_recipes.lua") +dofile(path.."/extractor_recipes.lua") +dofile(path.."/compressor_recipes.lua") +dofile(path.."/centrifuge_recipes.lua") +dofile(path.."/freezer_recipes.lua") + +-- Multi-Machine Recipes +dofile(path.."/grindings.lua") + +-- Machines +dofile(path.."/alloy_furnace.lua") dofile(path.."/electric_furnace.lua") dofile(path.."/grinder.lua") -dofile(path.."/grinder_recipes.lua") -dofile(path.."/solar_array.lua") - +dofile(path.."/extractor.lua") +dofile(path.."/compressor.lua") +dofile(path.."/centrifuge.lua") +dofile(path.."/freezer.lua") -- Gitblit v1.8.0