Replace deprecated "noise_threshhold" with "noise_threshold".
parent
17293b2b34
commit
a01a5c6736
|
@ -20,7 +20,7 @@ minetest.register_ore({
|
||||||
y_min = -300,
|
y_min = -300,
|
||||||
y_max = -80,
|
y_max = -80,
|
||||||
noise_params = uranium_params,
|
noise_params = uranium_params,
|
||||||
noise_threshhold = uranium_threshhold,
|
noise_threshold = uranium_threshhold,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
|
@ -33,7 +33,7 @@ minetest.register_ore({
|
||||||
y_min = -200,
|
y_min = -200,
|
||||||
y_max = -100,
|
y_max = -100,
|
||||||
noise_params = chromium_params,
|
noise_params = chromium_params,
|
||||||
noise_threshhold = chromium_threshhold,
|
noise_threshold = chromium_threshhold,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
|
@ -47,7 +47,7 @@ minetest.register_ore({
|
||||||
y_max = -200,
|
y_max = -200,
|
||||||
flags = "absheight",
|
flags = "absheight",
|
||||||
noise_params = chromium_params,
|
noise_params = chromium_params,
|
||||||
noise_threshhold = chromium_threshhold,
|
noise_threshold = chromium_threshhold,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
|
@ -60,7 +60,7 @@ minetest.register_ore({
|
||||||
y_min = -32,
|
y_min = -32,
|
||||||
y_max = 2,
|
y_max = 2,
|
||||||
noise_params = zinc_params,
|
noise_params = zinc_params,
|
||||||
noise_threshhold = zinc_threshhold,
|
noise_threshold = zinc_threshhold,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
|
@ -74,7 +74,7 @@ minetest.register_ore({
|
||||||
y_max = -32,
|
y_max = -32,
|
||||||
flags = "absheight",
|
flags = "absheight",
|
||||||
noise_params = zinc_params,
|
noise_params = zinc_params,
|
||||||
noise_threshhold = zinc_threshhold,
|
noise_threshold = zinc_threshhold,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
|
@ -87,7 +87,7 @@ minetest.register_ore({
|
||||||
y_min = -16,
|
y_min = -16,
|
||||||
y_max = 16,
|
y_max = 16,
|
||||||
noise_params = lead_params,
|
noise_params = lead_params,
|
||||||
noise_threshhold = lead_threshhold,
|
noise_threshold = lead_threshhold,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
|
@ -100,7 +100,7 @@ minetest.register_ore({
|
||||||
y_min = -128,
|
y_min = -128,
|
||||||
y_max = -16,
|
y_max = -16,
|
||||||
noise_params = lead_params,
|
noise_params = lead_params,
|
||||||
noise_threshhold = lead_threshhold,
|
noise_threshold = lead_threshhold,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
|
@ -114,7 +114,7 @@ minetest.register_ore({
|
||||||
y_max = -128,
|
y_max = -128,
|
||||||
flags = "absheight",
|
flags = "absheight",
|
||||||
noise_params = lead_params,
|
noise_params = lead_params,
|
||||||
noise_threshhold = lead_threshhold,
|
noise_threshold = lead_threshhold,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Sulfur
|
-- Sulfur
|
||||||
|
@ -169,7 +169,7 @@ minetest.register_ore({
|
||||||
clust_size = 3,
|
clust_size = 3,
|
||||||
y_min = -31000,
|
y_min = -31000,
|
||||||
y_max = -50,
|
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}
|
noise_params = {offset=0, scale=15, spread={x=150, y=150, z=150}, seed=23, octaves=3, persist=0.70}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
@ -184,7 +184,7 @@ minetest.register_ore({
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
y_min = -31000,
|
y_min = -31000,
|
||||||
y_max = -150,
|
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}
|
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue