Fix HV battery box and some indentation.
authorkpoppel <poulsen.kim@gmail.com>
Mon, 8 Jul 2013 20:11:20 +0000 (22:11 +0200)
committerShadowNinja <noreply@gmail.com>
Mon, 8 Jul 2013 21:05:34 +0000 (17:05 -0400)
Bug found by pagliaccio.

technic/battery_box_hv.lua
technic/battery_box_mv.lua

index 5f9f77205fc7ffe890590332dd01addf7dc53dab..979dc13700ae7d35b203385634c0a8a7cd2aa1fc 100644 (file)
@@ -1,12 +1,12 @@
 -- HV battery box
-minetest.register_craft({
-                          output = 'technic:hv_battery_box 1',
-                          recipe = {
-                             {'technic:mv_battery_box', 'technic:mv_battery_box', 'mv_technic:battery_box'},
-                             {'technic:mv_battery_box', 'technic:hv_transformer', 'mv_technic:battery_box'},
-                             {'', 'technic:hv_cable', ''},
-                          }
                      })
+minetest.register_craft(
+   {output = 'technic:hv_battery_box 1',
+    recipe = {
+       {'technic:mv_battery_box', 'technic:mv_battery_box', 'technic:mv_battery_box'},
+       {'technic:mv_battery_box', 'technic:hv_transformer', 'technic:mv_battery_box'},
+       {'', 'technic:hv_cable', ''},
+    }
+ })
 
 local battery_box_formspec =
    "invsize[8,9;]"..
index a4136396965e9e410707ddea42d7d60c79445631..e1295ce88754c2e2a95ffd214093873264536d1f 100644 (file)
@@ -1,13 +1,12 @@
 -- MV Battery box
 minetest.register_craft(
-   {
-      output = 'technic:mv_battery_box 1',
-      recipe = {
-        {'technic:battery_box', 'technic:battery_box', 'technic:battery_box'},
-        {'technic:battery_box', 'technic:mv_transformer', 'technic:battery_box'},
-        {'', 'technic:mv_cable', ''},
-      }
-   })
+   {output = 'technic:mv_battery_box 1',
+    recipe = {
+       {'technic:battery_box', 'technic:battery_box', 'technic:battery_box'},
+       {'technic:battery_box', 'technic:mv_transformer', 'technic:battery_box'},
+       {'', 'technic:mv_cable', ''},
+    }
+ })
 
 local battery_box_formspec =
    "invsize[8,9;]"..