From: Maciej Kasatkin Date: Wed, 17 Oct 2012 18:29:17 +0000 (+0200) Subject: Added granite to worldgen, also marble bricks X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=2e96b91661740aa04cccd6c631fb228f1a8e5db2;p=zefram%2Fminetest%2Ftechnic.git Added granite to worldgen, also marble bricks --- diff --git a/ores.lua b/ores.lua index 97b4ad9..3b96309 100644 --- a/ores.lua +++ b/ores.lua @@ -6,6 +6,29 @@ minetest.register_node( "technic:marble", { sounds = default.node_sound_stone_defaults(), }) +minetest.register_node( "technic:marble_bricks", { + description = "Marble Bricks", + tiles = { "technic_marble_bricks.png" }, + is_ground_content = true, + groups = {cracky=3}, + 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_node( "technic:granite", { + description = "Marble", + tiles = { "technic_granite.png" }, + is_ground_content = true, + groups = {cracky=3}, + sounds = default.node_sound_stone_defaults(), +}) minetest.register_node( "technic:mineral_diamond", { description = "Diamond Ore", @@ -149,4 +172,5 @@ generate_ore("technic:mineral_uranium", "default:stone", minp, maxp, seed+22, generate_ore("technic:mineral_chromium", "default:stone", minp, maxp, seed+23, 1/10/10/10, 2, -31000, -100) generate_ore("technic:mineral_zinc", "default:stone", minp, maxp, seed+24, 1/9/9/9, 5, -31000, 2) generate_ore("technic:marble", "default:stone", minp, maxp, seed+25, 1/128, 20, -100, -32) +generate_ore("technic:granite", "default:stone", minp, maxp, seed+25, 1/128, 15, -190, -90) end) \ No newline at end of file diff --git a/textures/technic_granite.png b/textures/technic_granite.png new file mode 100644 index 0000000..abb1385 Binary files /dev/null and b/textures/technic_granite.png differ diff --git a/textures/technic_marble_bricks.png b/textures/technic_marble_bricks.png new file mode 100644 index 0000000..2ea1e42 Binary files /dev/null and b/textures/technic_marble_bricks.png differ