mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-26 19:00:29 +01:00
fixed ore generation. generate_ore() calls were missing the chunk size
parameter.
This commit is contained in:
parent
cbe78c13c1
commit
9cc10fd61b
@ -249,12 +249,12 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_on_generated(function(minp, maxp, seed)
|
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_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, 3, -300, -80)
|
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, 2, -31000, -100)
|
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, 4, -31000, 2)
|
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, 20, -100, -32)
|
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, 15, -190, -90)
|
default.generate_ore("technic:granite", "default:stone", minp, maxp, seed+25, 1/128, 5, 15, -190, -90 )
|
||||||
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
@ -69,18 +69,18 @@ minetest.register_alias("technic:obsidian", "default:obsidian")
|
|||||||
minetest.register_alias("moreblocks:obsidian", "default:obsidian")
|
minetest.register_alias("moreblocks:obsidian", "default:obsidian")
|
||||||
|
|
||||||
register_stair_slab_panel_micro(
|
register_stair_slab_panel_micro(
|
||||||
"moreblocks",
|
":default",
|
||||||
"obsidian",
|
"obsidian",
|
||||||
"moreblocks:obsidian",
|
"default:obsidian",
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
{cracky=3, not_in_creative_inventory=1},
|
||||||
{"default_obsidian.png"},
|
{"default_obsidian.png"},
|
||||||
"Obsidian",
|
"Obsidian",
|
||||||
"moreblocks:obsidian",
|
"default:obsidian",
|
||||||
"none",
|
"none",
|
||||||
light
|
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")
|
table.insert(circular_saw.known_stairs, "default:obsidian")
|
||||||
|
|
||||||
-- other stairs/slabs
|
-- other stairs/slabs
|
||||||
|
Loading…
Reference in New Issue
Block a user