bugfix HV battery box

This commit is contained in:
pagliaccio
2013-07-08 17:48:54 +02:00
parent a995735122
commit ff5ae7089f

View File

@ -1,12 +1,18 @@
-- HV battery box -- register MV machines here
minetest.register_craft( technic.HV_machines = {}
{output = 'technic:hv_battery_box 1', local HV_machines = technic.HV_machines
recipe = { function register_HV_machine(string1,string2)
{'technic:mv_battery_box', 'technic:mv_battery_box', 'technic:mv_battery_box'}, technic.HV_machines[string1] = string2
{'technic:mv_battery_box', 'technic:hv_transformer', 'technic:mv_battery_box'}, end
{'', '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 = local battery_box_formspec =
"invsize[8,9;]".. "invsize[8,9;]"..