mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 13:52:31 +01:00
105 lines
2.9 KiB
Lua
105 lines
2.9 KiB
Lua
|
|
local S = technic.worldgen.gettext
|
|
|
|
minetest.register_node( ":technic:mineral_uranium", {
|
|
description = S("Uranium Ore"),
|
|
tiles = { "default_stone.png^technic_mineral_uranium.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=3},
|
|
sounds = default.node_sound_stone_defaults(),
|
|
drop = 'craft "technic:uranium" 1',
|
|
})
|
|
|
|
minetest.register_node( ":technic:mineral_chromium", {
|
|
description = S("Chromium Ore"),
|
|
tiles = { "default_stone.png^technic_mineral_chromium.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=3},
|
|
sounds = default.node_sound_stone_defaults(),
|
|
drop = 'craft "technic:chromium_lump" 1',
|
|
})
|
|
|
|
minetest.register_node( ":technic:mineral_zinc", {
|
|
description = S("Zinc Ore"),
|
|
tile_images = { "default_stone.png^technic_mineral_zinc.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=3},
|
|
sounds = default.node_sound_stone_defaults(),
|
|
drop = 'craft "technic:zinc_lump" 1',
|
|
})
|
|
|
|
minetest.register_node( ":technic:granite", {
|
|
description = S("Granite"),
|
|
tiles = { "technic_granite.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=3},
|
|
sounds = default.node_sound_stone_defaults(),
|
|
})
|
|
|
|
minetest.register_node( ":technic:marble", {
|
|
description = S("Marble"),
|
|
tiles = { "technic_marble.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=3},
|
|
sounds = default.node_sound_stone_defaults(),
|
|
})
|
|
|
|
minetest.register_node( ":technic:marble_bricks", {
|
|
description = S("Marble Bricks"),
|
|
tiles = { "technic_marble_bricks.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=3},
|
|
sounds = default.node_sound_stone_defaults(),
|
|
})
|
|
|
|
minetest.register_node(":technic:uranium_block", {
|
|
description = S("Uranium Block"),
|
|
tiles = { "technic_uranium_block.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=1, level=2},
|
|
sounds = default.node_sound_stone_defaults()
|
|
})
|
|
|
|
minetest.register_node(":technic:chromium_block", {
|
|
description = S("Chromium Block"),
|
|
tiles = { "technic_chromium_block.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=1, level=2},
|
|
sounds = default.node_sound_stone_defaults()
|
|
})
|
|
|
|
minetest.register_node(":technic:zinc_block", {
|
|
description = S("Zinc Block"),
|
|
tiles = { "technic_zinc_block.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=1, level=2},
|
|
sounds = default.node_sound_stone_defaults()
|
|
})
|
|
|
|
minetest.register_node(":technic:stainless_steel_block", {
|
|
description = S("Stainless Steel Block"),
|
|
tiles = { "technic_stainless_steel_block.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=1, level=2},
|
|
sounds = default.node_sound_stone_defaults()
|
|
})
|
|
|
|
minetest.register_node(":technic:brass_block", {
|
|
description = S("Brass Block"),
|
|
tiles = { "technic_brass_block.png" },
|
|
is_ground_content = true,
|
|
groups = {cracky=1, level=2},
|
|
sounds = default.node_sound_stone_defaults()
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'technic:marble_bricks 4',
|
|
recipe = {
|
|
{'technic:marble','technic:marble'},
|
|
{'technic:marble','technic:marble'}
|
|
}
|
|
})
|
|
|
|
minetest.register_alias("technic:diamond_block", "default:diamondblock")
|
|
|