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 | 41 +++++++++++++++++++++++++++++------------ 1 files changed, 29 insertions(+), 12 deletions(-) diff --git a/technic/machines/register/init.lua b/technic/machines/register/init.lua index be94e05..29ec2ea 100644 --- a/technic/machines/register/init.lua +++ b/technic/machines/register/init.lua @@ -1,18 +1,35 @@ local path = technic.modpath.."/machines/register" -dofile(path.."/recipes.lua") -dofile(path.."/machine_base.lua") -dofile(path.."/alloy_furnace.lua") -dofile(path.."/battery_box.lua") -dofile(path.."/cables.lua") dofile(path.."/common.lua") -dofile(path.."/electric_furnace.lua") -dofile(path.."/grinder.lua") -dofile(path.."/grinder_recipes.lua") -dofile(path.."/extractor.lua") -dofile(path.."/extractor_recipes.lua") -dofile(path.."/compressor.lua") -dofile(path.."/compressor_recipes.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.."/extractor.lua") +dofile(path.."/compressor.lua") +dofile(path.."/centrifuge.lua") +dofile(path.."/freezer.lua") -- Gitblit v1.8.0