summaryrefslogtreecommitdiff
path: root/technic/machines/HV/battery_box.lua
blob: 9093ba9b70009003c4764917f85c77a7b3054be2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- HV battery box
minetest.register_craft({
	output = 'technic:hv_battery_box0',
	recipe = {
		{'technic:mv_battery_box0', 'technic:mv_battery_box0', 'technic:mv_battery_box0'},
		{'technic:mv_battery_box0', 'technic:hv_transformer',  'technic:mv_battery_box0'},
		{'',                        'technic:hv_cable',        ''},
	}
})

technic.register_battery_box({
	tier           = "HV",
	max_charge     = 1000000,
	charge_rate    = 100000,
	discharge_rate = 400000,
	charge_step    = 10000,
	discharge_step = 40000,
	upgrade        = 1,
	tube           = 1,
})