summaryrefslogtreecommitdiff
path: root/technic/machines/MV/solar_array.lua
diff options
context:
space:
mode:
Diffstat (limited to 'technic/machines/MV/solar_array.lua')
-rw-r--r--technic/machines/MV/solar_array.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/technic/machines/MV/solar_array.lua b/technic/machines/MV/solar_array.lua
new file mode 100644
index 0000000..227d8ee
--- /dev/null
+++ b/technic/machines/MV/solar_array.lua
@@ -0,0 +1,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_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")