From 13e8857f1a6cc313847aaf330b7ad6ef5db8a901 Mon Sep 17 00:00:00 2001 From: kpoppel Date: Mon, 8 Jul 2013 22:11:20 +0200 Subject: [PATCH] Fix HV battery box and some indentation. Bug found by pagliaccio. --- technic/battery_box_hv.lua | 16 ++++++++-------- technic/battery_box_mv.lua | 15 +++++++-------- 2 files changed, 15 insertions(+), 16 deletions(-) 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;]".. -- 2.30.2