summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa <vanessa@rainbird.(none)>2013-03-23 13:40:03 -0400
committerVanessa <vanessa@rainbird.(none)>2013-03-23 13:40:03 -0400
commit9cc10fd61b1b6c2520dbe960911747812e9505f4 (patch)
treef6b017b93649e4bf52101da28258f5c43f84238b
parentcbe78c13c1ee865c709ce5c4a7cfd762746856a9 (diff)
fixed ore generation. generate_ore() calls were missing the chunk size
parameter.
-rw-r--r--technic/ores.lua12
-rw-r--r--technic/ores.lua~8
2 files changed, 10 insertions, 10 deletions
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