From 521c0b74bba5dd73cf7c0a59fde4a018813e835d Mon Sep 17 00:00:00 2001 From: SmallJoker <mk939@ymail.com> Date: Thu, 24 Nov 2022 21:49:20 +0100 Subject: [PATCH] Fix battery box charging on Windows --- technic/machines/MV/battery_box.lua | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/technic/machines/MV/battery_box.lua b/technic/machines/MV/battery_box.lua index e58bbf5..d84ec15 100644 --- a/technic/machines/MV/battery_box.lua +++ b/technic/machines/MV/battery_box.lua @@ -5,16 +5,18 @@ recipe = { {'technic:lv_battery_box0', 'technic:lv_battery_box0', 'technic:lv_battery_box0'}, {'technic:lv_battery_box0', 'technic:mv_transformer', 'technic:lv_battery_box0'}, - {'', 'technic:mv_cable0', ''}, + {'', 'technic:mv_cable', ''}, } }) technic.register_battery_box({ tier = "MV", - max_charge = 300000, + max_charge = 200000, charge_rate = 20000, discharge_rate = 80000, charge_step = 2000, discharge_step = 8000, + upgrade = 1, + tube = 1, }) -- Gitblit v1.8.0