elepower/elepower_nuclear/nodes.lua
Sirrobzeroone 3d28ad39b5 Decouple from default start and fixes
Start to remove all default references to default mod into a single file so they can be more easily updated.
Add recipes for blue/red paper.
Add Silver Wire to internal copy of basic materials
2021-08-11 20:25:00 +10:00

31 lines
1.1 KiB
Lua

-- see elepower_papi >> external_nodes_items.lua for explanation
-- shorten table ref
local epg = ele.external.graphic
local eps = ele.external.sounds
minetest.register_node("elepower_nuclear:machine_block", {
description = "Radiation-shielded Lead Machine Chassis\nContains dangerous ionizing radiation",
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"},
groups = {cracky = 2},
drop = 'elepower_nuclear:uranium_lump',
sounds = eps.node_sound_stone,
})
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")