summaryrefslogtreecommitdiff
path: root/technic/machines/HV/battery_box.lua
blob: 89c65dafea4525c0cb7c6bbd5560f78f6452b6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- 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,
})