diff options
| author | kpoppel <poulsen.kim@gmail.com> | 2013-07-08 22:11:20 +0200 | 
|---|---|---|
| committer | ShadowNinja <noreply@gmail.com> | 2013-07-08 17:05:34 -0400 | 
| commit | 13e8857f1a6cc313847aaf330b7ad6ef5db8a901 (patch) | |
| tree | 8b1166c4287bebc5d45de49b7c15ac1f0b0ef939 | |
| parent | 19c9a0443b17176a27329b69ee16fe28d7be6fd8 (diff) | |
Fix HV battery box and some indentation.
Bug found by pagliaccio.
| -rw-r--r-- | technic/battery_box_hv.lua | 16 | ||||
| -rw-r--r-- | 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;]".. | 
