Skip to content

Commit

Permalink
Default/mapgen: Make forest clearings larger and more common
Browse files Browse the repository at this point in the history
In mgv5/v7/flat/fractal/valleys
Add missing noise parameters to pine logs for
density to vary in relation to pine tree density
  • Loading branch information
paramat committed Feb 24, 2016
1 parent 42cc6d2 commit 6493e5f
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions mods/default/mapgen.lua
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 6493e5f

Please sign in to comment.