diff --git a/ores.lua b/ores.lua index 1c7a290..1c74f1a 100644 --- a/ores.lua +++ b/ores.lua @@ -96,3 +96,24 @@ minetest.register_ore({ y_min = 1025, y_max = 31000 }) + +-- Clay in silver and desert sand beaches + +minetest.register_ore({ + ore_type = "blob", + ore = "default:clay", + wherein = {"default:silver_sand", "default:desert_sand"}, + clust_scarcity = 16 * 16 * 16, + clust_size = 5, + y_max = 0, + y_min = -15, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + seed = -316, + octaves = 1, + persist = 0.0 + } +}) diff --git a/schems.lua b/schems.lua index 8280bd1..a21bc51 100644 --- a/schems.lua +++ b/schems.lua @@ -46,6 +46,10 @@ local function register_decoration(enabled, def) minetest.register_decoration(def) end +-- old biome setting (when enabled old heat/humidity values are used) + +local old = minetest.settings:get_bool("ethereal.old_biomes") + -- igloo register_decoration(ethereal.glacier, { @@ -96,10 +100,10 @@ register_decoration(ethereal.grove, { register_decoration(1, { place_on = {"default:snow", "default:snowblock"}, - fill_ratio = 0.01, y_min = 150, y_max = 160, - biomes = {"mountain", "glacier"}, + fill_ratio = 0.01, y_min = old and 120 or 150, y_max = old and 140 or 160, + biomes = old and {"taiga"} or {"mountain", "glacier"}, schematic = ethereal.yellowtree, - spawn_by = "default:snow", num_spawn_by = 8, + spawn_by = old and "default:dirt_with_snow" or "default:snow", num_spawn_by = 8, flags = "place_center_x, place_center_z, force_placement"}) -- crystal frost tree