mirror of
https://github.com/sirrobzeroone/elepower.git
synced 2024-12-01 02:53:44 +01:00
125 lines
4.4 KiB
Lua
125 lines
4.4 KiB
Lua
|
|
-- Radiation-shielded Lead Machine Chassis
|
|
minetest.register_craft({
|
|
output = "elepower_nuclear:machine_block",
|
|
recipe = {
|
|
{"elepower_dynamics:induction_coil_advanced", "elepower_dynamics:graphite_ingot", "elepower_dynamics:induction_coil_advanced"},
|
|
{"elepower_dynamics:graphite_ingot", "elepower_dynamics:lead_block", "elepower_dynamics:graphite_ingot"},
|
|
{"elepower_dynamics:lead_block", "elepower_dynamics:graphite_ingot", "elepower_dynamics:lead_block"},
|
|
}
|
|
})
|
|
|
|
-- Enrichment Plant
|
|
minetest.register_craft({
|
|
output = "elepower_nuclear:enrichment_plant",
|
|
recipe = {
|
|
{"elepower_dynamics:induction_coil_advanced", "elepower_dynamics:soc", "elepower_dynamics:induction_coil_advanced"},
|
|
{"elepower_nuclear:graphite_rod", "elepower_nuclear:machine_block", "elepower_nuclear:graphite_rod"},
|
|
{"elepower_dynamics:wound_silver_coil", "elepower_dynamics:electrum_gear", "elepower_dynamics:wound_silver_coil"},
|
|
}
|
|
})
|
|
|
|
-- Graphite Moderator
|
|
minetest.register_craft({
|
|
output = "elepower_nuclear:graphite_moderator",
|
|
recipe = {
|
|
{"", "elepower_nuclear:graphite_rod", ""},
|
|
{"elepower_nuclear:graphite_rod", "elepower_dynamics:graphite_ingot", "elepower_nuclear:graphite_rod"},
|
|
{"", "elepower_nuclear:graphite_rod", ""},
|
|
}
|
|
})
|
|
|
|
-- Reactor Controller
|
|
minetest.register_craft({
|
|
output = "elepower_nuclear:fission_controller",
|
|
recipe = {
|
|
{"elepower_dynamics:wound_copper_coil", "elepower_nuclear:graphite_moderator", "elepower_dynamics:wound_copper_coil"},
|
|
{"elepower_nuclear:graphite_moderator", "elepower_nuclear:machine_block", "elepower_nuclear:graphite_moderator"},
|
|
{"elepower_dynamics:electrum_gear", "elepower_nuclear:graphite_moderator", "elepower_dynamics:electrum_gear"},
|
|
}
|
|
})
|
|
|
|
-- Reactor Core
|
|
minetest.register_craft({
|
|
output = "elepower_nuclear:fission_core",
|
|
recipe = {
|
|
{"elepower_dynamics:induction_coil_advanced", "elepower_dynamics:graphite_ingot", "elepower_dynamics:induction_coil_advanced"},
|
|
{"elepower_nuclear:graphite_moderator", "elepower_nuclear:machine_block", "elepower_nuclear:graphite_moderator"},
|
|
{"elepower_dynamics:electrum_gear", "elepower_dynamics:copper_plate", "elepower_dynamics:electrum_gear"},
|
|
}
|
|
})
|
|
|
|
-- Reactor Fluid Port
|
|
minetest.register_craft({
|
|
output = "elepower_nuclear:reactor_fluid_port",
|
|
recipe = {
|
|
{"elepower_dynamics:portable_tank", "elepower_dynamics:copper_plate", "elepower_dynamics:portable_tank"},
|
|
{"elepower_nuclear:graphite_moderator", "elepower_nuclear:machine_block", "elepower_nuclear:graphite_moderator"},
|
|
{"elepower_dynamics:electrum_gear", "elepower_dynamics:copper_plate", "elepower_dynamics:electrum_gear"},
|
|
}
|
|
})
|
|
|
|
-- Heat Exchanger
|
|
minetest.register_craft({
|
|
output = "elepower_nuclear:heat_exchanger",
|
|
recipe = {
|
|
{"elepower_dynamics:portable_tank", "elepower_dynamics:copper_plate", "elepower_dynamics:portable_tank"},
|
|
{"elepower_dynamics:copper_plate", "elepower_nuclear:machine_block", "elepower_dynamics:copper_plate"},
|
|
{"elepower_dynamics:portable_tank", "elepower_dynamics:copper_plate", "elepower_dynamics:portable_tank"},
|
|
}
|
|
})
|
|
|
|
-- Empty Fuel Rod
|
|
minetest.register_craft({
|
|
output = "elepower_nuclear:fuel_rod_empty",
|
|
recipe = {
|
|
{"elepower_dynamics:graphite_ingot", "", "elepower_dynamics:graphite_ingot"},
|
|
{"elepower_dynamics:graphite_ingot", "", "elepower_dynamics:graphite_ingot"},
|
|
{"elepower_dynamics:graphite_ingot", "elepower_dynamics:graphite_ingot", "elepower_dynamics:graphite_ingot"},
|
|
}
|
|
})
|
|
|
|
-- Graphite Rod
|
|
elepm.register_craft({
|
|
type = "grind",
|
|
recipe = { "elepower_dynamics:graphite_ingot" },
|
|
output = "elepower_nuclear:graphite_rod 3",
|
|
time = 6,
|
|
})
|
|
|
|
------------------------
|
|
-- Enrichment recipes --
|
|
------------------------
|
|
|
|
elepm.register_craft({
|
|
type = "enrichment",
|
|
output = { "elepower_nuclear:uranium_dust", "elepower_nuclear:depleted_uranium_dust 3"},
|
|
recipe = { "elepower_nuclear:uranium_lump 4" },
|
|
time = 30,
|
|
})
|
|
|
|
elepm.register_craft({
|
|
type = "enrichment",
|
|
output = { "elepower_nuclear:uranium_dust", "elepower_nuclear:depleted_uranium_dust", "elepower_nuclear:nuclear_waste 2"},
|
|
recipe = { "elepower_nuclear:depleted_uranium_dust 4" },
|
|
time = 40,
|
|
})
|
|
|
|
elepm.register_craft({
|
|
type = "enrichment",
|
|
output = { "elepower_nuclear:depleted_uranium_dust", "elepower_nuclear:nuclear_waste 3"},
|
|
recipe = { "elepower_nuclear:nuclear_waste 5" },
|
|
time = 50,
|
|
})
|
|
|
|
-----------
|
|
-- Other --
|
|
-----------
|
|
|
|
elepm.register_craft({
|
|
type = "can",
|
|
recipe = {"elepower_nuclear:uranium_dust 8", "elepower_nuclear:fuel_rod_empty"},
|
|
output = "elepower_nuclear:fuel_rod_fissile",
|
|
time = 16
|
|
})
|