2018-06-18 09:09:43 +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-06-18 09:09:43 +02:00
|
|
|
---------------
|
|
|
|
-- Overrides --
|
|
|
|
---------------
|
|
|
|
|
2018-12-12 20:10:17 +01:00
|
|
|
minetest.register_alias_force("elepower_dynamics:fluid_transfer_node", "fluid_transfer:fluid_transfer_pump")
|
|
|
|
minetest.register_alias_force("elepower_dynamics:fluid_duct", "fluid_transfer:fluid_duct")
|
|
|
|
|
2018-06-18 09:09:43 +02:00
|
|
|
-----------
|
|
|
|
-- Nodes --
|
|
|
|
-----------
|
|
|
|
|
2018-07-02 16:37:00 +02:00
|
|
|
-- Ores
|
|
|
|
|
2018-06-18 09:09:43 +02:00
|
|
|
minetest.register_node("elepower_dynamics:stone_with_lead", {
|
|
|
|
description = "Lead Ore",
|
2021-08-11 12:25:00 +02:00
|
|
|
tiles = {epg.stone.."^elepower_mineral_lead.png"},
|
2018-06-18 09:09:43 +02:00
|
|
|
groups = {cracky = 2},
|
|
|
|
drop = 'elepower_dynamics:lead_lump',
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_stone,
|
2018-06-18 09:09:43 +02:00
|
|
|
})
|
2018-06-18 13:43:40 +02:00
|
|
|
|
2018-06-21 16:35:39 +02:00
|
|
|
minetest.register_node("elepower_dynamics:stone_with_nickel", {
|
|
|
|
description = "Nickel Ore",
|
2021-08-11 12:25:00 +02:00
|
|
|
tiles = {epg.stone.."^elepower_mineral_nickel.png"},
|
2018-06-21 16:35:39 +02:00
|
|
|
groups = {cracky = 2},
|
|
|
|
drop = 'elepower_dynamics:nickel_lump',
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_stone,
|
2018-06-21 16:35:39 +02:00
|
|
|
})
|
|
|
|
|
2018-06-22 20:03:41 +02:00
|
|
|
minetest.register_node("elepower_dynamics:stone_with_viridisium", {
|
|
|
|
description = "Viridisium Ore",
|
2021-08-11 12:25:00 +02:00
|
|
|
tiles = {epg.stone.."^elepower_mineral_viridisium.png"},
|
2018-06-22 20:03:41 +02:00
|
|
|
groups = {cracky = 3},
|
|
|
|
drop = 'elepower_dynamics:viridisium_lump',
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_stone,
|
2018-06-22 20:03:41 +02:00
|
|
|
})
|
|
|
|
|
2018-07-02 16:37:00 +02:00
|
|
|
minetest.register_node("elepower_dynamics:stone_with_zinc", {
|
|
|
|
description = "Zinc Ore",
|
2021-08-11 12:25:00 +02:00
|
|
|
tiles = {epg.stone.."^elepower_mineral_zinc.png"},
|
2018-07-02 16:37:00 +02:00
|
|
|
groups = {cracky = 3},
|
|
|
|
drop = 'elepower_dynamics:zinc_lump',
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_stone,
|
2018-07-02 16:37:00 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
-- Other
|
|
|
|
|
2018-06-18 13:43:40 +02:00
|
|
|
minetest.register_node("elepower_dynamics:particle_board", {
|
|
|
|
description = "Particle Board",
|
|
|
|
tiles = {"elepower_particle_board.png"},
|
|
|
|
groups = {choppy = 2, wood = 1},
|
|
|
|
drop = 'elepower_dynamics:wood_dust 4',
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_wood,
|
2018-06-18 13:43:40 +02:00
|
|
|
})
|
2018-07-02 16:37:00 +02:00
|
|
|
|
2018-12-12 14:04:53 +01:00
|
|
|
minetest.register_node("elepower_dynamics:hardened_glass", {
|
|
|
|
description = "Hardened Obsidian Glass\nDoes not let light through",
|
|
|
|
drawtype = "glasslike_framed_optional",
|
2021-08-11 12:25:00 +02:00
|
|
|
tiles = {epg.obsidian_glass, "elepower_hard_glass_detail.png"},
|
2018-12-12 14:04:53 +01:00
|
|
|
paramtype2 = "glasslikeliquidlevel",
|
|
|
|
is_ground_content = false,
|
|
|
|
sunlight_propagates = false,
|
2021-06-10 12:31:53 +02:00
|
|
|
use_texture_alpha = "clip",
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_glass,
|
2018-12-12 14:04:53 +01:00
|
|
|
groups = {cracky = 3},
|
|
|
|
})
|
|
|
|
|
2018-07-02 16:37:00 +02:00
|
|
|
-- Blocks
|
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:viridisium_block", {
|
|
|
|
description = "Viridisium Block",
|
|
|
|
tiles = {"elepower_viridisium_block.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {cracky = 1, level = 2},
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_metal,
|
2018-07-02 16:37:00 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:lead_block", {
|
|
|
|
description = "Lead Block",
|
|
|
|
tiles = {"elepower_lead_block.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {cracky = 1, level = 2},
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_metal,
|
2018-07-02 16:37:00 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:invar_block", {
|
|
|
|
description = "Invar Block",
|
|
|
|
tiles = {"elepower_invar_block.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {cracky = 1, level = 3},
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_metal,
|
2018-07-02 16:37:00 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:nickel_block", {
|
|
|
|
description = "Nickel Block",
|
|
|
|
tiles = {"elepower_nickel_block.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {cracky = 1, level = 3},
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_metal,
|
2018-07-02 16:37:00 +02:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_node("elepower_dynamics:zinc_block", {
|
|
|
|
description = "Zinc Block",
|
|
|
|
tiles = {"elepower_zinc_block.png"},
|
|
|
|
is_ground_content = false,
|
|
|
|
groups = {cracky = 1, level = 3},
|
2021-08-11 12:25:00 +02:00
|
|
|
sounds = eps.node_sound_metal,
|
2018-07-02 16:37:00 +02:00
|
|
|
})
|