From 6493e5fefb62b41c0641c565563665c6b74f069f Mon Sep 17 00:00:00 2001 From: paramat Date: Mon, 22 Feb 2016 20:38:00 +0000 Subject: [PATCH] Default/mapgen: Make forest clearings larger and more common In mgv5/v7/flat/fractal/valleys Add missing noise parameters to pine logs for density to vary in relation to pine tree density --- mods/default/mapgen.lua | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index 05d7b2b..17bb898 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -991,8 +991,8 @@ function default.register_decorations() place_on = {"default:dirt_with_grass"}, sidelen = 16, noise_params = { - offset = 0.04, - scale = 0.02, + offset = 0.036, + scale = 0.022, spread = {x = 250, y = 250, z = 250}, seed = 2, octaves = 3, @@ -1010,8 +1010,8 @@ function default.register_decorations() place_on = {"default:dirt_with_grass"}, sidelen = 16, noise_params = { - offset = 0.002, - scale = 0.001, + offset = 0.0018, + scale = 0.0011, spread = {x = 250, y = 250, z = 250}, seed = 2, octaves = 3, @@ -1086,8 +1086,8 @@ function default.register_decorations() place_on = {"default:dirt_with_snow", "default:dirt_with_grass"}, sidelen = 16, noise_params = { - offset = 0.04, - scale = 0.02, + offset = 0.036, + scale = 0.022, spread = {x = 250, y = 250, z = 250}, seed = 2, octaves = 3, @@ -1104,7 +1104,14 @@ function default.register_decorations() deco_type = "schematic", place_on = {"default:dirt_with_snow", "default:dirt_with_grass"}, sidelen = 80, - fill_ratio = 0.003, + noise_params = { + offset = 0.0018, + scale = 0.0011, + spread = {x = 250, y = 250, z = 250}, + seed = 2, + octaves = 3, + persist = 0.66 + }, biomes = {"taiga", "coniferous_forest"}, y_min = 1, y_max = 31000, @@ -1186,7 +1193,7 @@ function default.register_decorations() sidelen = 16, noise_params = { offset = 0.0, - scale = -0.03, + scale = -0.015, spread = {x = 250, y = 250, z = 250}, seed = 2, octaves = 3, @@ -1206,7 +1213,7 @@ function default.register_decorations() sidelen = 16, noise_params = { offset = 0.0, - scale = -0.0015, + scale = -0.0008, spread = {x = 250, y = 250, z = 250}, seed = 2, octaves = 3,