summaryrefslogtreecommitdiff
path: root/technic/machines/LV/battery_box.lua
diff options
context:
space:
mode:
Diffstat (limited to 'technic/machines/LV/battery_box.lua')
-rw-r--r--technic/machines/LV/battery_box.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/technic/machines/LV/battery_box.lua b/technic/machines/LV/battery_box.lua
new file mode 100644
index 0000000..429bcd6
--- /dev/null
+++ b/technic/machines/LV/battery_box.lua
@@ -0,0 +1,19 @@
+
+minetest.register_craft({
+ output = 'technic:lv_battery_box0',
+ recipe = {
+ {'group:wood', 'group:wood', 'group:wood'},
+ {'technic:battery', 'technic:machine_casing', 'technic:battery'},
+ {'technic:battery', 'technic:lv_cable0', 'technic:battery'},
+ }
+})
+
+technic.register_battery_box({
+ tier = "LV",
+ max_charge = 40000,
+ charge_rate = 1000,
+ discharge_rate = 4000,
+ charge_step = 500,
+ discharge_step = 800,
+})
+