From: Vanessa Date: Sat, 23 Mar 2013 17:40:03 +0000 (-0400) Subject: fixed ore generation. generate_ore() calls were missing the chunk size X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=9cc10fd61b1b6c2520dbe960911747812e9505f4;p=zefram%2Fminetest%2Ftechnic.git fixed ore generation. generate_ore() calls were missing the chunk size parameter. --- diff --git a/technic/ores.lua b/technic/ores.lua index c78fb6e..5ba3e3f 100644 --- a/technic/ores.lua +++ b/technic/ores.lua @@ -249,12 +249,12 @@ minetest.register_craft({ }) minetest.register_on_generated(function(minp, maxp, seed) -default.generate_ore("technic:mineral_diamond", "default:stone", minp, maxp, seed+21, 1/11/11/11, 4, -31000, -450) -default.generate_ore("technic:mineral_uranium", "default:stone", minp, maxp, seed+22, 1/10/10/10, 3, -300, -80) -default.generate_ore("technic:mineral_chromium", "default:stone", minp, maxp, seed+23, 1/10/10/10, 2, -31000, -100) -default.generate_ore("technic:mineral_zinc", "default:stone", minp, maxp, seed+24, 1/9/9/9, 4, -31000, 2) -default.generate_ore("technic:marble", "default:stone", minp, maxp, seed+25, 1/128, 20, -100, -32) -default.generate_ore("technic:granite", "default:stone", minp, maxp, seed+25, 1/128, 15, -190, -90) +default.generate_ore("technic:mineral_diamond", "default:stone", minp, maxp, seed+21, 1/11/11/11, 3, 4, -31000, -450 ) +default.generate_ore("technic:mineral_uranium", "default:stone", minp, maxp, seed+22, 1/10/10/10, 2, 3, -300, -80 ) +default.generate_ore("technic:mineral_chromium", "default:stone", minp, maxp, seed+23, 1/10/10/10, 3, 2, -31000, -100 ) +default.generate_ore("technic:mineral_zinc", "default:stone", minp, maxp, seed+24, 1/9/9/9, 3, 4, -31000, 2 ) +default.generate_ore("technic:marble", "default:stone", minp, maxp, seed+25, 1/128, 5, 20, -100, -32 ) +default.generate_ore("technic:granite", "default:stone", minp, maxp, seed+25, 1/128, 5, 15, -190, -90 ) end) diff --git a/technic/ores.lua~ b/technic/ores.lua~ index 3804460..c78fb6e 100644 --- a/technic/ores.lua~ +++ b/technic/ores.lua~ @@ -69,18 +69,18 @@ minetest.register_alias("technic:obsidian", "default:obsidian") minetest.register_alias("moreblocks:obsidian", "default:obsidian") register_stair_slab_panel_micro( - "moreblocks", + ":default", "obsidian", - "moreblocks:obsidian", + "default:obsidian", {cracky=3, not_in_creative_inventory=1}, {"default_obsidian.png"}, "Obsidian", - "moreblocks:obsidian", + "default:obsidian", "none", light ) -register_technic_stairs_alias("default", "obsidian", "moreblocks", "obsidian") +register_technic_stairs_alias("moreblocks", "obsidian", "default", "obsidian") table.insert(circular_saw.known_stairs, "default:obsidian") -- other stairs/slabs