kpoppel
2013-07-08 13e8857f1a6cc313847aaf330b7ad6ef5db8a901
Fix HV battery box and some indentation.
Bug found by pagliaccio.
2 files modified
31 ■■■■ changed files
technic/battery_box_hv.lua 16 ●●●● patch | view | raw | blame | history
technic/battery_box_mv.lua 15 ●●●● patch | view | raw | blame | history
technic/battery_box_hv.lua
@@ -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;]"..
technic/battery_box_mv.lua
@@ -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;]"..