From 0211c582e9ce8745e19ff49496b026d393dad074 Mon Sep 17 00:00:00 2001
From: sfence <sfence.software@gmail.com>
Date: Mon, 06 Jun 2022 18:53:50 +0200
Subject: [PATCH] Add charge set/get callbacks (#600)

---
 technic/machines/LV/battery_box.lua |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/technic/machines/LV/battery_box.lua b/technic/machines/LV/battery_box.lua
index 459fdb3..bf7f846 100644
--- a/technic/machines/LV/battery_box.lua
+++ b/technic/machines/LV/battery_box.lua
@@ -1,16 +1,17 @@
+-- LV Battery box
 
 minetest.register_craft({
 	output = 'technic:lv_battery_box0',
 	recipe = {
-		{'technic:battery',     'group:wood',           'technic:battery'},
-		{'technic:battery',     'default:copper_ingot', 'technic:battery'},
-		{'default:steel_ingot', 'default:steel_ingot',  'default:steel_ingot'},
+		{'group:wood',      'group:wood',             'group:wood'},
+		{'technic:battery', 'technic:machine_casing', 'technic:battery'},
+		{'technic:battery', 'technic:lv_cable',       'technic:battery'},
 	}
 })
 
 technic.register_battery_box({
 	tier           = "LV",
-	max_charge     = 50000,
+	max_charge     = 40000,
 	charge_rate    = 1000,
 	discharge_rate = 4000,
 	charge_step    = 500,

--
Gitblit v1.8.0