forked from minetest/minetest_game
Ores: Allow dirt and sand blob ore in sandstone, desert stone
Re-align parameter format in 'register ore'
This commit is contained in:
parent
8704afe5b1
commit
eaed418b10
|
@ -50,15 +50,15 @@ function default.register_ores()
|
||||||
-- Clay
|
-- Clay
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "blob",
|
ore_type = "blob",
|
||||||
ore = "default:clay",
|
ore = "default:clay",
|
||||||
wherein = {"default:sand"},
|
wherein = {"default:sand"},
|
||||||
clust_scarcity = 16 * 16 * 16,
|
clust_scarcity = 16 * 16 * 16,
|
||||||
clust_size = 5,
|
clust_size = 5,
|
||||||
y_min = -15,
|
y_min = -15,
|
||||||
y_max = 0,
|
y_max = 0,
|
||||||
noise_threshold = 0.0,
|
noise_threshold = 0.0,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.5,
|
offset = 0.5,
|
||||||
scale = 0.2,
|
scale = 0.2,
|
||||||
spread = {x = 5, y = 5, z = 5},
|
spread = {x = 5, y = 5, z = 5},
|
||||||
|
@ -71,15 +71,16 @@ function default.register_ores()
|
||||||
-- Sand
|
-- Sand
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "blob",
|
ore_type = "blob",
|
||||||
ore = "default:sand",
|
ore = "default:sand",
|
||||||
wherein = {"default:stone"},
|
wherein = {"default:stone", "default:sandstone",
|
||||||
clust_scarcity = 16 * 16 * 16,
|
"default:desert_stone"},
|
||||||
clust_size = 5,
|
clust_scarcity = 16 * 16 * 16,
|
||||||
y_min = -31,
|
clust_size = 5,
|
||||||
y_max = 4,
|
y_min = -31,
|
||||||
|
y_max = 4,
|
||||||
noise_threshold = 0.0,
|
noise_threshold = 0.0,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.5,
|
offset = 0.5,
|
||||||
scale = 0.2,
|
scale = 0.2,
|
||||||
spread = {x = 5, y = 5, z = 5},
|
spread = {x = 5, y = 5, z = 5},
|
||||||
|
@ -92,15 +93,15 @@ function default.register_ores()
|
||||||
-- Dirt
|
-- Dirt
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "blob",
|
ore_type = "blob",
|
||||||
ore = "default:dirt",
|
ore = "default:dirt",
|
||||||
wherein = {"default:stone"},
|
wherein = {"default:stone", "default:sandstone"},
|
||||||
clust_scarcity = 16 * 16 * 16,
|
clust_scarcity = 16 * 16 * 16,
|
||||||
clust_size = 5,
|
clust_size = 5,
|
||||||
y_min = -31,
|
y_min = -31,
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
noise_threshold = 0.0,
|
noise_threshold = 0.0,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.5,
|
offset = 0.5,
|
||||||
scale = 0.2,
|
scale = 0.2,
|
||||||
spread = {x = 5, y = 5, z = 5},
|
spread = {x = 5, y = 5, z = 5},
|
||||||
|
@ -113,15 +114,15 @@ function default.register_ores()
|
||||||
-- Gravel
|
-- Gravel
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
ore_type = "blob",
|
ore_type = "blob",
|
||||||
ore = "default:gravel",
|
ore = "default:gravel",
|
||||||
wherein = {"default:stone"},
|
wherein = {"default:stone"},
|
||||||
clust_scarcity = 16 * 16 * 16,
|
clust_scarcity = 16 * 16 * 16,
|
||||||
clust_size = 5,
|
clust_size = 5,
|
||||||
y_min = -31000,
|
y_min = -31000,
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
noise_threshold = 0.0,
|
noise_threshold = 0.0,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.5,
|
offset = 0.5,
|
||||||
scale = 0.2,
|
scale = 0.2,
|
||||||
spread = {x = 5, y = 5, z = 5},
|
spread = {x = 5, y = 5, z = 5},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user