elepower/elepower_solar/crafting.lua

15 lines
419 B
Lua
Raw Normal View History

-- see elepower_papi >> external_nodes_items.lua for explanation
-- shorten table ref
local epi = ele.external.ing
-- Solar Generator
minetest.register_craft({
output = "elepower_solar:solar_generator",
recipe = {
{epi.glass, "elepower_dynamics:pv_cell", epi.glass},
{"elepower_dynamics:pv_cell", epi.glass, "elepower_dynamics:pv_cell"},
{epi.steel_ingot, "elepower_dynamics:battery", epi.steel_ingot},
}
})