Kevin Zheng
2013-11-28 7cfb3874a381d5923611242b4cf7756d86049def
technic/machines/MV/solar_array.lua
@@ -2,11 +2,13 @@
minetest.register_craft({
   output = 'technic:solar_array_mv 1',
   recipe = {
      {'technic:solar_array_lv', 'technic:solar_array_lv', 'technic:solar_array_lv'},
      {'default:steel_ingot',    'technic:mv_transformer', 'default:steel_ingot'},
      {'',                       'technic:mv_cable0',      ''},
      {'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_cable0',      ''},
   }
})
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")