elepower/elepower_tools/crafting.lua

70 lines
2.2 KiB
Lua
Raw Normal View History

-- see elepower_papi >> external_nodes_items.lua for explanation
-- shorten table ref
local epi = ele.external.ing
2018-08-03 10:15:31 +00:00
-- Drill
2018-08-03 10:15:31 +00:00
minetest.register_craft({
output = "elepower_tools:drill_bit",
recipe = {
{"" ,epi.steel_ingot, "" },
{epi.steel_ingot,epi.steel_ingot,epi.steel_ingot}
2018-08-03 10:15:31 +00:00
}
})
minetest.register_craft({
output = "elepower_tools:hand_drill",
recipe = {
{"" , "elepower_dynamics:wound_copper_coil", "elepower_tools:drill_bit"},
{epi.steel_ingot, "elepower_dynamics:battery" , epi.steel_ingot},
2018-12-12 13:46:19 +00:00
{"basic_materials:motor", "elepower_dynamics:capacitor", ""},
2018-08-03 10:15:31 +00:00
}
})
-- Chainsaw
minetest.register_craft({
output = "elepower_tools:chain",
recipe = {
{"" , epi.steel_ingot ,epi.steel_ingot},
{epi.steel_ingot, "elepower_dynamics:steel_plate",epi.steel_ingot},
{epi.steel_ingot, epi.steel_ingot , "" }
}
})
minetest.register_craft({
output = "elepower_tools:chainsaw",
recipe = {
{"", "elepower_dynamics:wound_copper_coil", "elepower_tools:chain"},
{epi.steel_ingot, "elepower_dynamics:battery", epi.steel_ingot},
2018-12-12 13:46:19 +00:00
{"basic_materials:motor", "elepower_dynamics:capacitor", ""},
}
})
-- Soldering Iron
minetest.register_craft({
output = "elepower_tools:soldering_iron",
recipe = {
{"", "elepower_dynamics:battery",epi.steel_ingot},
{"", "elepower_dynamics:wound_silver_coil", ""},
{"elepower_dynamics:wound_silver_coil", "", ""},
}
})
2019-02-08 17:21:25 +00:00
-- Repairing
minetest.register_craft({
output = "elepower_tools:repair_core",
recipe = {
{"" , epi.diamond_block, "elepower_dynamics:steel_plate"},
{"elepower_dynamics:lead_plate" , "elepower_dynamics:xycrone_lump", "elepower_dynamics:lead_plate"},
{"elepower_dynamics:steel_plate", epi.mese, ""},
2019-02-08 17:21:25 +00:00
}
})
minetest.register_craft({
output = "elepower_tools:ed_reconstructor",
recipe = {
{"elepower_dynamics:wound_copper_coil", "elepower_dynamics:micro_circuit", "elepower_dynamics:wound_copper_coil"},
{"elepower_tools:repair_core", "elepower_machines:machine_block", "elepower_tools:repair_core"},
{"elepower_dynamics:induction_coil", "elepower_dynamics:induction_coil_advanced", "elepower_dynamics:induction_coil"},
}
})