Fix HV battery box and some indentation.

Bug found by pagliaccio.
This commit is contained in:
kpoppel 2013-07-08 22:11:20 +02:00 committed by ShadowNinja
parent 19c9a0443b
commit 13e8857f1a
2 changed files with 15 additions and 16 deletions

View 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;]"..

View 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;]"..