Default/mapgen: Make forest clearings larger and more common
authorparamat <mat.gregory@virginmedia.com>
Mon, 22 Feb 2016 20:38:00 +0000 (20:38 +0000)
committerparamat <mat.gregory@virginmedia.com>
Wed, 24 Feb 2016 22:53:32 +0000 (22:53 +0000)
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

index 05d7b2b9cf8ede652c8d6ae1b44ab1928fe384a1..17bb8984d2ed62ac61e6c69ffbf27fdd734d41dc 100644 (file)
@@ -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,