Biomes: Make beaches snowy in snowy biomes
authorParamat <paramat@users.noreply.github.com>
Fri, 1 Jun 2018 21:39:50 +0000 (22:39 +0100)
committerGitHub <noreply@github.com>
Fri, 1 Jun 2018 21:39:50 +0000 (22:39 +0100)
mods/default/mapgen.lua

index dfe03f58d35208c6a4aff7ddd4c0a491acf22397..e791493443b90fed675c9084e81dca5919a9e5b9 100644 (file)
@@ -1022,6 +1022,7 @@ function default.register_biomes(upper_limit)
 
        minetest.register_biome({
                name = "taiga_ocean",
+               node_dust = "default:snow",
                node_top = "default:sand",
                depth_top = 1,
                node_filler = "default:sand",
@@ -1054,6 +1055,7 @@ function default.register_biomes(upper_limit)
 
        minetest.register_biome({
                name = "snowy_grassland_ocean",
+               node_dust = "default:snow",
                node_top = "default:sand",
                depth_top = 1,
                node_filler = "default:sand",
@@ -2083,7 +2085,8 @@ function default.register_decorations()
                place_on = {
                        "default:permafrost_with_moss",
                        "default:permafrost_with_stones",
-                       "default:stone"
+                       "default:stone",
+                       "default:gravel"
                },
                sidelen = 4,
                noise_params = {
@@ -2094,9 +2097,9 @@ function default.register_decorations()
                        octaves = 3,
                        persist = 1.0
                },
-               biomes = {"tundra"},
+               biomes = {"tundra", "tundra_beach"},
                y_max = 50,
-               y_min = 2,
+               y_min = 1,
                decoration = "default:snow",
        })