mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-05 09:40:35 +02:00
bugfix HV battery box
This commit is contained in:
@ -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;]"..
|
||||||
|
Reference in New Issue
Block a user