elepower/elepower_nuclear/nodes.lua

31 lines
1.1 KiB
Lua
Raw Normal View History

-- 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 15:47:49 +00:00
minetest.register_node("elepower_nuclear:machine_block", {
2018-08-31 17:00:55 +00:00
description = "Radiation-shielded Lead Machine Chassis\nContains dangerous ionizing radiation",
2018-07-27 15:47:49 +00: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",
tiles = {epg.stone.."^elenuclear_mineral_uranium.png"},
2018-07-27 15:47:49 +00:00
groups = {cracky = 2},
drop = 'elepower_nuclear:uranium_lump',
sounds = eps.node_sound_stone,
2018-07-27 15:47:49 +00:00
})
2018-09-15 18:44:20 +00: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")