summaryrefslogtreecommitdiff
path: root/technic/machines/MV/solar_array.lua
blob: 4077a5c2e0583f1fe3b280230f1dbf21c0f8cbaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

minetest.register_craft({
	output = 'technic:solar_array_mv 1',
	recipe = {
		{'technic:solar_array_lv',     'technic:solar_array_lv', 'technic:solar_array_lv'},
		{'technic:carbon_steel_ingot', 'technic:mv_transformer', 'technic:carbon_steel_ingot'},
		{'',                           'technic:mv_cable',       ''},
	}
})

technic.register_solar_array({tier="MV", power=30})

-- compatibility alias for upgrading from old versions of technic
minetest.register_alias("technic:solar_panel_mv", "technic:solar_array_mv")