From: kpoppel Date: Mon, 8 Jul 2013 20:11:20 +0000 (+0200) Subject: Fix HV battery box and some indentation. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=13e8857f1a6cc313847aaf330b7ad6ef5db8a901;p=zefram%2Fminetest%2Ftechnic.git Fix HV battery box and some indentation. Bug found by pagliaccio. --- diff --git a/technic/battery_box_hv.lua b/technic/battery_box_hv.lua index 5f9f772..979dc13 100644 --- a/technic/battery_box_hv.lua +++ b/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;]".. diff --git a/technic/battery_box_mv.lua b/technic/battery_box_mv.lua index a413639..e1295ce 100644 --- a/technic/battery_box_mv.lua +++ b/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;]"..