Merge pull request 'Fix issue #118; fixes noise param errors for ores on startup.' (#128) from MysticTempest/MineClone5:noise_params_fix into master

Reviewed-on: MineClone5/MineClone5#128
This commit is contained in:
kay27 2022-01-22 23:53:55 +00:00
commit f9aea133e9
1 changed files with 20 additions and 0 deletions

View File

@ -544,6 +544,16 @@ for s=1, #specialstones do
clust_size = 3, clust_size = 3,
y_min = mcl_vars.mg_nether_min, y_min = mcl_vars.mg_nether_min,
y_max = mcl_vars.mg_nether_max, y_max = mcl_vars.mg_nether_max,
noise_params = {
offset = 0,
scale = 1,
spread = {x=250, y=250, z=250},
seed = 12345,
octaves = 3,
persist = 0.6,
lacunarity = 2,
flags = "defaults",
},
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "blob", ore_type = "blob",
@ -554,6 +564,16 @@ for s=1, #specialstones do
clust_size = 5, clust_size = 5,
y_min = mcl_vars.mg_nether_min, y_min = mcl_vars.mg_nether_min,
y_max = mcl_vars.mg_nether_max, y_max = mcl_vars.mg_nether_max,
noise_params = {
offset = 0,
scale = 1,
spread = {x=250, y=250, z=250},
seed = 12345,
octaves = 3,
persist = 0.6,
lacunarity = 2,
flags = "defaults",
},
}) })
end end