summaryrefslogtreecommitdiff
path: root/technic/machines/LV/battery_box.lua
blob: bf7f8463c86cfe272f2351c827d6038ea1ce97d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- LV Battery box

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_cable',       'technic:battery'},
	}
})

technic.register_battery_box({
	tier           = "LV",
	max_charge     = 40000,
	charge_rate    = 1000,
	discharge_rate = 4000,
	charge_step    = 500,
	discharge_step = 800,
})