elepower/elepower_wireless/crafting.lua

96 lines
3.6 KiB
Lua
Raw Normal View History

2018-08-02 17:32:31 +00:00
-- see elepower_papi >> external_nodes_items.lua for explanation
-- shorten table ref
local epi = ele.external.ing
local easycrafting = minetest.settings:get("elepower_easy_crafting") == "true"
local ingot = "elepower_dynamics:viridisium_ingot"
if easycrafting then
ingot = "elepower_dynamics:electrum_ingot"
end
2018-08-02 17:32:31 +00:00
-- Receiver
minetest.register_craft({
output = "elepower_wireless:matter_receiver",
recipe = {
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:soc", "elepower_dynamics:wound_silver_coil"},
{"elepower_dynamics:electrum_gear", epi.steel_block, "elepower_dynamics:electrum_gear"},
{"elepower_dynamics:xycrone_lump", ingot, "elepower_dynamics:xycrone_lump"},
2018-08-02 17:32:31 +00:00
}
})
-- Transmitter
minetest.register_craft({
output = "elepower_wireless:matter_transmitter",
recipe = {
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:soc", "elepower_dynamics:wound_silver_coil"},
{"elepower_dynamics:xycrone_lump", epi.steel_block, "elepower_dynamics:xycrone_lump"},
{"elepower_dynamics:electrum_gear", ingot, "elepower_dynamics:electrum_gear"},
2018-08-02 17:32:31 +00:00
}
})
-- Dialler
minetest.register_craft({
output = "elepower_wireless:dialler",
recipe = {
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:soc", "elepower_dynamics:wound_silver_coil"},
{"elepower_dynamics:wound_copper_coil", epi.steel_block, "elepower_dynamics:wound_copper_coil"},
2018-08-13 17:02:22 +00:00
{"elepower_dynamics:electrum_gear", "elepower_dynamics:lcd_panel", "elepower_dynamics:electrum_gear"},
2018-08-02 17:32:31 +00:00
}
})
-- Wireless Porter
minetest.register_craft({
output = "elepower_wireless:wireless_porter",
recipe = {
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:xycrone_lump", "elepower_dynamics:wound_silver_coil"},
2018-12-12 13:46:19 +00:00
{"elepower_dynamics:xycrone_lump", "basic_materials:copper_wire", "elepower_dynamics:xycrone_lump"},
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:battery", "elepower_dynamics:wound_silver_coil"},
2020-05-30 06:28:42 +00:00
},
replacements = {
{"basic_materials:copper_wire", "basic_materials:empty_spool"},
2018-08-02 17:32:31 +00:00
}
})
-- Control Station
minetest.register_craft({
output = "elepower_wireless:station",
recipe = {
{"elepower_dynamics:wound_copper_coil", "elepower_dynamics:soc", "elepower_dynamics:wound_copper_coil"},
{"elepower_dynamics:viridisium_plate", "elepower_machines:machine_block", "elepower_dynamics:viridisium_plate"},
{"elepower_dynamics:wound_copper_coil", "elepower_dynamics:lcd_panel", "elepower_dynamics:wound_copper_coil"},
}
})
-- Control Station Chip
minetest.register_craft({
output = "elepower_wireless:card",
recipe = {
{"elepower_dynamics:wound_copper_coil", "elepower_dynamics:chip", "elepower_dynamics:wound_copper_coil"},
{"elepower_dynamics:wound_copper_coil", "basic_materials:plastic_sheet", "elepower_dynamics:wound_copper_coil"},
{"basic_materials:plastic_sheet", "group:color_red", "basic_materials:plastic_sheet"},
}
})
--[[
-- Tesseract Frame
minetest.register_craft({
output = "elepower_wireless:tesseract_frame",
recipe = {
{"elepower_dynamics:lead_block", "elepower_dynamics:conduit", "elepower_dynamics:lead_block"},
{"fluid_transfer:fluid_duct", "", "fluid_transfer:fluid_duct"},
{"elepower_dynamics:lead_block", "elepower_dynamics:conduit", "elepower_dynamics:lead_block"},
}
})
-- Tesseract
minetest.register_craft({
output = "elepower_wireless:tesseract",
recipe = {
{"elepower_dynamics:induction_coil_advanced", "elepower_dynamics:soc", "elepower_dynamics:induction_coil_advanced"},
{"elepower_dynamics:xycrone_lump", "elepower_wireless:tesseract_frame", "elepower_dynamics:xycrone_lump"},
{"elepower_dynamics:viridisium_block", "elepower_dynamics:servo_valve", "elepower_dynamics:viridisium_block"},
}
})
]]