New blocks of metal.
authorKonstantin Oblaukhov <oblaukhov.konstantin@gmail.com>
Thu, 27 Jun 2013 02:13:44 +0000 (09:13 +0700)
committerKonstantin Oblaukhov <oblaukhov.konstantin@gmail.com>
Thu, 27 Jun 2013 02:13:44 +0000 (09:13 +0700)
technic_worldgen/crafts.lua
technic_worldgen/nodes.lua
technic_worldgen/textures/technic_brass_block.png [new file with mode: 0644]
technic_worldgen/textures/technic_chromium_block.png [new file with mode: 0644]
technic_worldgen/textures/technic_stainless_steel_block.png [new file with mode: 0644]
technic_worldgen/textures/technic_uranium_block.png [new file with mode: 0644]
technic_worldgen/textures/technic_zinc_block.png [new file with mode: 0644]

index 7647c065367ecd4d52bf89c23836d681d59486f7..176218d3b38b1a769834b25fdddae30527497dd8 100644 (file)
@@ -16,12 +16,6 @@ minetest.register_craftitem( ":technic:chromium_ingot", {
        on_place_on_ground = minetest.craftitem_place_item,
 })
 
-minetest.register_craft({
-       type = 'cooking',
-       output = "technic:chromium_ingot",
-       recipe = "technic:chromium_lump"
-})
-
 minetest.register_craftitem( ":technic:zinc_lump", {
        description = "Zinc Lump",
        inventory_image = "technic_zinc_lump.png",
@@ -42,8 +36,74 @@ minetest.register_craftitem( ":technic:brass_ingot", {
        inventory_image = "technic_brass_ingot.png",
 })
 
+minetest.register_craft({
+       output = "node technic:uranium_block",
+       recipe = {{"technic:uranium", "technic:uranium", "technic:uranium"},
+                 {"technic:uranium", "technic:uranium", "technic:uranium"},
+                 {"technic:uranium", "technic:uranium", "technic:uranium"}}
+})
+
+minetest.register_craft({
+       output = "craft technic:uranium 9",
+       recipe = {{"technic:uranium_block"}}
+})
+
+minetest.register_craft({
+       output = "node technic:chromium_block",
+       recipe = {{"technic:chromium_ingot", "technic:chromium_ingot", "technic:chromium_ingot"},
+                 {"technic:chromium_ingot", "technic:chromium_ingot", "technic:chromium_ingot"},
+                 {"technic:chromium_ingot", "technic:chromium_ingot", "technic:chromium_ingot"}}
+})
+
+minetest.register_craft({
+       output = "craft technic:chromium_ingot 9",
+       recipe = {{"technic:chromium_block"}}
+})
+
+minetest.register_craft({
+       output = "node technic:zinc_block",
+       recipe = {{"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"},
+                 {"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"},
+                 {"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"}}
+})
+
+minetest.register_craft({
+       output = "craft technic:zinc_ingot 9",
+       recipe = {{"technic:zinc_block"}}
+})
+
+minetest.register_craft({
+       output = "node technic:stainless_steel_block",
+       recipe = {{"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot"},
+                 {"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot"},
+                 {"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot"}}
+})
+
+minetest.register_craft({
+       output = "craft technic:stainless_steel_ingot 9",
+       recipe = {{"technic:stainless_steel_block"}}
+})
+
+minetest.register_craft({
+       output = "node technic:brass_block",
+       recipe = {{"technic:brass_ingot", "technic:brass_ingot", "technic:brass_ingot"},
+                 {"technic:brass_ingot", "technic:brass_ingot", "technic:brass_ingot"},
+                 {"technic:brass_ingot", "technic:brass_ingot", "technic:brass_ingot"}}
+})
+
+minetest.register_craft({
+       output = "craft technic:brass_ingot 9",
+       recipe = {{"technic:brass_block"}}
+})
+
 minetest.register_craft({
        type = 'cooking',
        output = "technic:zinc_ingot",
        recipe = "technic:zinc_lump"
 })
+
+minetest.register_craft({
+       type = 'cooking',
+       output = "technic:chromium_ingot",
+       recipe = "technic:chromium_lump"
+})
\ No newline at end of file
index 5952d5230bbae9b2ea586abc9516842a46784502..53fd7381e8edf2fff0945ba0cf09c2a86f4389e7 100644 (file)
@@ -49,6 +49,46 @@ minetest.register_node( ":technic:marble_bricks", {
        sounds = default.node_sound_stone_defaults(),
 }) 
 
+minetest.register_node(":technic:uranium_block", {
+       description = "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 = "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 = "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 = "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 = "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 = {
diff --git a/technic_worldgen/textures/technic_brass_block.png b/technic_worldgen/textures/technic_brass_block.png
new file mode 100644 (file)
index 0000000..bc6fe78
Binary files /dev/null and b/technic_worldgen/textures/technic_brass_block.png differ
diff --git a/technic_worldgen/textures/technic_chromium_block.png b/technic_worldgen/textures/technic_chromium_block.png
new file mode 100644 (file)
index 0000000..ad173ca
Binary files /dev/null and b/technic_worldgen/textures/technic_chromium_block.png differ
diff --git a/technic_worldgen/textures/technic_stainless_steel_block.png b/technic_worldgen/textures/technic_stainless_steel_block.png
new file mode 100644 (file)
index 0000000..e451768
Binary files /dev/null and b/technic_worldgen/textures/technic_stainless_steel_block.png differ
diff --git a/technic_worldgen/textures/technic_uranium_block.png b/technic_worldgen/textures/technic_uranium_block.png
new file mode 100644 (file)
index 0000000..99dd51c
Binary files /dev/null and b/technic_worldgen/textures/technic_uranium_block.png differ
diff --git a/technic_worldgen/textures/technic_zinc_block.png b/technic_worldgen/textures/technic_zinc_block.png
new file mode 100644 (file)
index 0000000..5ae7947
Binary files /dev/null and b/technic_worldgen/textures/technic_zinc_block.png differ