technic/technic_worldgen/nodes.lua

105 lines
2.9 KiB
Lua
Raw Normal View History

2014-04-16 19:10:00 +02:00
local S = technic.worldgen.gettext
2013-03-30 11:36:45 +01:00
minetest.register_node( ":technic:mineral_uranium", {
2014-04-16 19:10:00 +02:00
description = S("Uranium Ore"),
2013-03-30 11:36:45 +01:00
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", {
2014-04-16 19:10:00 +02:00
description = S("Chromium Ore"),
2013-03-30 11:36:45 +01:00
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", {
2014-04-16 19:10:00 +02:00
description = S("Zinc Ore"),
2013-03-30 11:36:45 +01:00
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", {
2014-04-16 19:10:00 +02:00
description = S("Granite"),
2013-03-30 11:36:45 +01:00
tiles = { "technic_granite.png" },
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node( ":technic:marble", {
2014-04-16 19:10:00 +02:00
description = S("Marble"),
2013-03-30 11:36:45 +01:00
tiles = { "technic_marble.png" },
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node( ":technic:marble_bricks", {
2014-04-16 19:10:00 +02:00
description = S("Marble Bricks"),
2013-03-30 11:36:45 +01:00
tiles = { "technic_marble_bricks.png" },
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
2013-06-27 04:13:44 +02:00
minetest.register_node(":technic:uranium_block", {
2014-04-16 19:10:00 +02:00
description = S("Uranium Block"),
2013-06-27 04:13:44 +02:00
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", {
2014-04-16 19:10:00 +02:00
description = S("Chromium Block"),
2013-06-27 04:13:44 +02:00
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", {
2014-04-16 19:10:00 +02:00
description = S("Zinc Block"),
2013-06-27 04:13:44 +02:00
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", {
2014-04-16 19:10:00 +02:00
description = S("Stainless Steel Block"),
2013-06-27 04:13:44 +02:00
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", {
2014-04-16 19:10:00 +02:00
description = S("Brass Block"),
2013-06-27 04:13:44 +02:00
tiles = { "technic_brass_block.png" },
is_ground_content = true,
groups = {cracky=1, level=2},
sounds = default.node_sound_stone_defaults()
})
2013-03-30 11:36:45 +01:00
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")
2014-04-16 19:10:00 +02:00