summaryrefslogtreecommitdiff
path: root/ores.lua
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-10-17 20:29:17 +0200
committerMaciej Kasatkin <mk@realbadangel.pl>2012-10-17 20:29:17 +0200
commit2e96b91661740aa04cccd6c631fb228f1a8e5db2 (patch)
tree95ae68a9aecc6134b1c17776514417d972a092f8 /ores.lua
parenta9325f3088cd1b1318307592114478339004886d (diff)
Added granite to worldgen, also marble bricks
Diffstat (limited to 'ores.lua')
-rw-r--r--ores.lua24
1 files changed, 24 insertions, 0 deletions
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