Added granite to worldgen, also marble bricks
authorMaciej Kasatkin <mk@realbadangel.pl>
Wed, 17 Oct 2012 18:29:17 +0000 (20:29 +0200)
committerMaciej Kasatkin <mk@realbadangel.pl>
Wed, 17 Oct 2012 18:29:17 +0000 (20:29 +0200)
ores.lua
textures/technic_granite.png [new file with mode: 0644]
textures/technic_marble_bricks.png [new file with mode: 0644]

index 97b4ad97538213621327c38af0cc7f2536d57ef5..3b963096f6dfc6756402192a2bd33c16dfc06956 100644 (file)
--- 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 (file)
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 (file)
index 0000000..2ea1e42
Binary files /dev/null and b/textures/technic_marble_bricks.png differ