1
0
mirror of git://repo.or.cz/rocks.git synced 2024-11-18 00:08:35 +01:00

Not checking the noise so frequently in sed oregen. Also decreased the number of octaves.

This commit is contained in:
Tomáš Brada 2015-04-19 10:34:19 +02:00
parent da6c1a9bf0
commit 7c6d02e2ed

10
sed.lua
View File

@ -29,7 +29,7 @@ do
local grassland=minetest.registered_biomes["default:grassland"] or local grassland=minetest.registered_biomes["default:grassland"] or
{ -- default biome, if no biome mod is installed { -- default biome, if no biome mod is installed
name = "rocks:grassland", name = "rocks:grassland",
node_top = "default:dirt_with_grass", node_top = "air",
depth_top = 1, depth_top = 1,
y_min = lowland_min, y_min = lowland_min,
y_max = lowland_max, y_max = lowland_max,
@ -124,14 +124,14 @@ local reg=function(name,param)
"rocks:mudstone", "rocks:mudstone",
}, },
ore_type = "scatter", ore_type = "scatter",
clust_scarcity = 1, clust_scarcity = 8^3,
clust_size = 3, clust_size = 10,
clust_num_ores = 27, clust_num_ores = 10^3,
y_min = -20, y_min = -20,
y_max = 40, y_max = 40,
noise_threshhold = param.treshold, noise_threshhold = param.treshold,
noise_params = { noise_params = {
offset=0, scale=1, octaves=3, persist=0.3, offset=0, scale=1, octaves=1, persist=0.3,
spread={x=param.spread, y=param.height, z=param.spread}, spread={x=param.spread, y=param.height, z=param.spread},
seed=rocksl.GetNextSeed(), seed=rocksl.GetNextSeed(),
}, },