2018-07-08 11:33:35 +02:00
|
|
|
|
2021-08-11 12:25:00 +02:00
|
|
|
-- see elepower_papi >> external_nodes_items.lua for explanation
|
|
|
|
-- shorten table ref
|
|
|
|
local epg = ele.external.graphic
|
|
|
|
local eps = ele.external.sounds
|
|
|
|
|
2018-07-27 17:47:49 +02:00
|
|
|
minetest.register_node("elepower_nuclear:machine_block", {
|
2018-08-31 19:00:55 +02:00
|
|
|
description = "Radiation-shielded Lead Machine Chassis\nContains dangerous ionizing radiation",
|
2018-07-27 17:47:49 +02:00
|
|
|
tiles = {
|
|
|
|
"elenuclear_machine_top.png", "elepower_lead_block.png", "elenuclear_machine_block.png",
|
|
|
|
"elenuclear_machine_block.png", "elenuclear_machine_block.png", "elenuclear_machine_block.png",
|
|
|
|
},
|
|
|
|
groups = {cracky = 3},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("elepower_nuclear:stone_with_uranium", {
|
|
|
|
description = "Uranium Ore",
|
2021-08-11 12:25:00 +02:00
|
|
|
tiles = {epg.stone.."^elenuclear_mineral_uranium.png"},
|
2018-07-27 17:47:49 +02:00
|
|
|
groups = {cracky = 2},
|
|
|
|
drop = 'elepower_nuclear:uranium_lump',
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_stone,
|
2018-07-27 17:47:49 +02:00
|
|
|
})
|
2018-09-15 20:44:20 +02:00
|
|
|
|
|
|
|
minetest.register_node("elepower_nuclear:fusion_coil", {
|
|
|
|
description = "Fusion Reactor Coil",
|
|
|
|
tiles = {"elenuclear_fusion_coil_top.png", "elenuclear_fusion_coil_top.png", "elenuclear_fusion_coil_side.png"},
|
|
|
|
groups = {cracky = 2},
|
|
|
|
})
|
|
|
|
|
|
|
|
dofile(elenuclear.modpath.."/machines/init.lua")
|