2018-06-22 18:03:41 +00:00
|
|
|
|
|
|
|
---------------------------
|
|
|
|
-- Fission-related items --
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
-- Uranium
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:uranium_lump", {
|
|
|
|
description = "Uranium Lump",
|
|
|
|
inventory_image = "elenuclear_uranium_lump.png"
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Dusts
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:uranium_dust", {
|
2021-06-18 21:49:57 +00:00
|
|
|
description = "Enriched Uranium Dust\n(Ready to be used as fuel)",
|
2021-08-08 10:39:20 +00:00
|
|
|
inventory_image = "elepower_dust.png^[colorize:#3eff2788^[multiply:#3eff27A0"
|
2018-06-22 18:03:41 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:depleted_uranium_dust", {
|
2021-06-18 21:49:57 +00:00
|
|
|
description = "Depleted Uranium Dust\n(Requires enrichment)",
|
2021-08-08 10:39:20 +00:00
|
|
|
inventory_image = "elepower_dust.png^[multiply:#18df00"
|
2018-06-22 18:03:41 +00:00
|
|
|
})
|
|
|
|
|
2018-07-22 10:34:42 +00:00
|
|
|
minetest.register_craftitem("elepower_nuclear:nuclear_waste", {
|
2021-06-18 21:49:57 +00:00
|
|
|
description = "Nuclear Waste\n(Mostly unusable for nuclear fission)",
|
2018-06-22 18:03:41 +00:00
|
|
|
inventory_image = "elenuclear_uranium_waste.png"
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Fuel rods
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:fuel_rod_empty", {
|
|
|
|
description = "Empty Fuel Rod",
|
2018-07-27 15:47:49 +00:00
|
|
|
inventory_image = "elenuclear_fuel_rod_empty.png",
|
2021-06-13 22:29:25 +00:00
|
|
|
stack_max = 1,
|
2018-06-22 18:03:41 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:fuel_rod_fissile", {
|
2018-07-27 15:47:49 +00:00
|
|
|
description = "Fissile Fuel Rod\nLasts 2 hours (7200 seconds)",
|
|
|
|
inventory_image = "elenuclear_fuel_rod_fissile.png",
|
|
|
|
groups = { fissile_fuel = 1 },
|
|
|
|
fissile_count = 7200,
|
2021-06-13 22:29:25 +00:00
|
|
|
stack_max = 1,
|
2018-06-22 18:03:41 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:fuel_rod_depleted", {
|
2018-07-27 15:47:49 +00:00
|
|
|
description = "Depleted Fuel Rod\nCan not be used in a reactor anymore",
|
|
|
|
inventory_image = "elenuclear_fuel_rod_depleted.png",
|
2021-06-13 22:29:25 +00:00
|
|
|
stack_max = 1,
|
2018-06-22 18:03:41 +00:00
|
|
|
})
|
|
|
|
|
2019-01-27 19:24:12 +00:00
|
|
|
-- Control rods
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:control_rod", {
|
|
|
|
description = "Control Rod",
|
|
|
|
inventory_image = "elenuclear_control_rod.png",
|
2021-06-13 22:29:25 +00:00
|
|
|
stack_max = 4,
|
2019-01-27 19:24:12 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:control_rod_assembly", {
|
|
|
|
description = "Control Rod Assembly",
|
|
|
|
inventory_image = "elenuclear_control_rod_assembly.png",
|
2021-06-13 22:29:25 +00:00
|
|
|
stack_max = 1,
|
2019-01-27 19:24:12 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:control_plate", {
|
|
|
|
description = "Perforated Control Plate",
|
|
|
|
inventory_image = "elenuclear_control_plate.png",
|
2021-06-13 22:29:25 +00:00
|
|
|
stack_max = 1,
|
2019-01-27 19:24:12 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
-- Pressure vessel
|
|
|
|
|
|
|
|
minetest.register_craftitem("elepower_nuclear:pressure_vessel", {
|
|
|
|
description = "Reactor Pressure Vessel",
|
|
|
|
inventory_image = "elenuclear_pressure_vessel.png",
|
2021-06-13 22:29:25 +00:00
|
|
|
stack_max = 1,
|
2019-01-27 19:24:12 +00:00
|
|
|
})
|
|
|
|
|
2018-06-22 18:03:41 +00:00
|
|
|
--------------------------
|
|
|
|
-- Fusion-related items --
|
|
|
|
--------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------
|
|
|
|
-- Crafting components --
|
|
|
|
-------------------------
|