Zefram
2014-04-21 0294fc8f3a9772ab292c7e40d489e760b666516e
commit | author | age
39c41a 1
X 2 local S = technic.worldgen.gettext
3
279776 4 minetest.register_node( ":technic:mineral_uranium", {
39c41a 5     description = S("Uranium Ore"),
279776 6     tiles = { "default_stone.png^technic_mineral_uranium.png" },
R 7     is_ground_content = true,
8     groups = {cracky=3},
9     sounds = default.node_sound_stone_defaults(),
10     drop = 'craft "technic:uranium" 1',
11 }) 
12
13 minetest.register_node( ":technic:mineral_chromium", {
39c41a 14     description = S("Chromium Ore"),
279776 15     tiles = { "default_stone.png^technic_mineral_chromium.png" },
R 16     is_ground_content = true,
17     groups = {cracky=3},
18     sounds = default.node_sound_stone_defaults(),
19     drop = 'craft "technic:chromium_lump" 1',
20 }) 
21
22 minetest.register_node( ":technic:mineral_zinc", {
39c41a 23     description = S("Zinc Ore"),
279776 24     tile_images = { "default_stone.png^technic_mineral_zinc.png" },
R 25     is_ground_content = true,
26     groups = {cracky=3},
27     sounds = default.node_sound_stone_defaults(),
28     drop = 'craft "technic:zinc_lump" 1',
29 })
30
31 minetest.register_node( ":technic:granite", {
39c41a 32     description = S("Granite"),
279776 33     tiles = { "technic_granite.png" },
R 34     is_ground_content = true,
35     groups = {cracky=3},
36     sounds = default.node_sound_stone_defaults(),
37 }) 
38
39 minetest.register_node( ":technic:marble", {
39c41a 40     description = S("Marble"),
279776 41     tiles = { "technic_marble.png" },
R 42     is_ground_content = true,
43     groups = {cracky=3},
44     sounds = default.node_sound_stone_defaults(),
45 }) 
46
47 minetest.register_node( ":technic:marble_bricks", {
39c41a 48     description = S("Marble Bricks"),
279776 49     tiles = { "technic_marble_bricks.png" },
R 50     is_ground_content = true,
51     groups = {cracky=3},
52     sounds = default.node_sound_stone_defaults(),
53 }) 
54
9de141 55 minetest.register_node(":technic:uranium_block", {
39c41a 56     description = S("Uranium Block"),
9de141 57     tiles = { "technic_uranium_block.png" },
KO 58     is_ground_content = true,
59     groups = {cracky=1, level=2},
60     sounds = default.node_sound_stone_defaults()
61 })
62
63 minetest.register_node(":technic:chromium_block", {
39c41a 64     description = S("Chromium Block"),
9de141 65     tiles = { "technic_chromium_block.png" },
KO 66     is_ground_content = true,
67     groups = {cracky=1, level=2},
68     sounds = default.node_sound_stone_defaults()
69 })
70
71 minetest.register_node(":technic:zinc_block", {
39c41a 72     description = S("Zinc Block"),
9de141 73     tiles = { "technic_zinc_block.png" },
KO 74     is_ground_content = true,
75     groups = {cracky=1, level=2},
76     sounds = default.node_sound_stone_defaults()
77 })
78
79 minetest.register_node(":technic:stainless_steel_block", {
39c41a 80     description = S("Stainless Steel Block"),
9de141 81     tiles = { "technic_stainless_steel_block.png" },
KO 82     is_ground_content = true,
83     groups = {cracky=1, level=2},
84     sounds = default.node_sound_stone_defaults()
85 })
86
87 minetest.register_node(":technic:brass_block", {
39c41a 88     description = S("Brass Block"),
9de141 89     tiles = { "technic_brass_block.png" },
KO 90     is_ground_content = true,
91     groups = {cracky=1, level=2},
92     sounds = default.node_sound_stone_defaults()
93 })
94
279776 95 minetest.register_craft({
R 96     output = 'technic:marble_bricks 4',
97     recipe = {
98         {'technic:marble','technic:marble'},
99         {'technic:marble','technic:marble'}
100     }
101 })
05131f 102
VE 103 minetest.register_alias("technic:diamond_block", "default:diamondblock")
0294fc 104 minetest.register_alias("technic:diamond", "default:diamond")
Z 105 minetest.register_alias("technic:mineral_diamond", "default:stone_with_diamond")
39c41a 106