Change noise_threshhold
to noise_threshold
.
The old name was a typo and is deprecated.
This commit is contained in:
parent
ef8bb38bfd
commit
b67bca1277
@ -1,14 +1,14 @@
|
||||
local uranium_params = {offset = 0, scale = 1, spread = {x = 100, y = 100, z = 100}, seed = 420, octaves = 3, persist = 0.7}
|
||||
local uranium_threshhold = 0.55
|
||||
local uranium_threshold = 0.55
|
||||
|
||||
local chromium_params = {offset = 0, scale = 1, spread = {x = 100, y = 100, z = 100}, seed = 421, octaves = 3, persist = 0.7}
|
||||
local chromium_threshhold = 0.55
|
||||
local chromium_threshold = 0.55
|
||||
|
||||
local zinc_params = {offset = 0, scale = 1, spread = {x = 100, y = 100, z = 100}, seed = 422, octaves = 3, persist = 0.7}
|
||||
local zinc_threshhold = 0.5
|
||||
local zinc_threshold = 0.5
|
||||
|
||||
local lead_params = {offset = 0, scale = 1, spread = {x = 100, y = 100, z = 100}, seed = 423, octaves = 3, persist = 0.7}
|
||||
local lead_threshhold = 0.3
|
||||
local lead_threshold = 0.3
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
@ -20,7 +20,7 @@ minetest.register_ore({
|
||||
y_min = -300,
|
||||
y_max = -80,
|
||||
noise_params = uranium_params,
|
||||
noise_threshhold = uranium_threshhold,
|
||||
noise_threshold = uranium_threshold,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
@ -33,7 +33,7 @@ minetest.register_ore({
|
||||
y_min = -200,
|
||||
y_max = -100,
|
||||
noise_params = chromium_params,
|
||||
noise_threshhold = chromium_threshhold,
|
||||
noise_threshold = chromium_threshold,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
@ -47,7 +47,7 @@ minetest.register_ore({
|
||||
y_max = -200,
|
||||
flags = "absheight",
|
||||
noise_params = chromium_params,
|
||||
noise_threshhold = chromium_threshhold,
|
||||
noise_threshold = chromium_threshold,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
@ -58,7 +58,9 @@ minetest.register_ore({
|
||||
clust_num_ores = 5,
|
||||
clust_size = 7,
|
||||
y_min = -32,
|
||||
y_max = 2
|
||||
y_max = 2,
|
||||
noise_params = zinc_params,
|
||||
noise_threshold = zinc_threshold,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
@ -72,7 +74,7 @@ minetest.register_ore({
|
||||
y_max = -32,
|
||||
flags = "absheight",
|
||||
noise_params = zinc_params,
|
||||
noise_threshhold = zinc_threshhold,
|
||||
noise_threshold = zinc_threshold,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
@ -85,7 +87,7 @@ minetest.register_ore({
|
||||
y_min = -16,
|
||||
y_max = 16,
|
||||
noise_params = lead_params,
|
||||
noise_threshhold = lead_threshhold,
|
||||
noise_threshold = lead_threshold,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
@ -98,7 +100,7 @@ minetest.register_ore({
|
||||
y_min = -128,
|
||||
y_max = -16,
|
||||
noise_params = lead_params,
|
||||
noise_threshhold = lead_threshhold,
|
||||
noise_threshold = lead_threshold,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
@ -112,7 +114,7 @@ minetest.register_ore({
|
||||
y_max = -128,
|
||||
flags = "absheight",
|
||||
noise_params = lead_params,
|
||||
noise_threshhold = lead_threshhold,
|
||||
noise_threshold = lead_threshold,
|
||||
})
|
||||
|
||||
-- Sulfur
|
||||
@ -170,7 +172,7 @@ minetest.register_ore({
|
||||
clust_size = 3,
|
||||
y_min = -31000,
|
||||
y_max = -50,
|
||||
noise_threshhold = 0.4,
|
||||
noise_threshold = 0.4,
|
||||
noise_params = {offset=0, scale=15, spread={x=150, y=150, z=150}, seed=23, octaves=3, persist=0.70}
|
||||
})
|
||||
end
|
||||
@ -185,7 +187,7 @@ minetest.register_ore({
|
||||
clust_size = 4,
|
||||
y_min = -31000,
|
||||
y_max = -150,
|
||||
noise_threshhold = 0.4,
|
||||
noise_threshold = 0.4,
|
||||
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
||||
})
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user