From afe80c0dc39c7a7962ede3cc204563c47eeed250 Mon Sep 17 00:00:00 2001 From: sys4 Date: Sat, 13 Jun 2020 14:38:39 +0200 Subject: [PATCH] =?UTF-8?q?Corrige=20g=C3=A9n=C3=A9ration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mapgen_v7.lua | 48 ++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/src/mapgen_v7.lua b/src/mapgen_v7.lua index 8489a39..2aa93c2 100644 --- a/src/mapgen_v7.lua +++ b/src/mapgen_v7.lua @@ -59,11 +59,12 @@ minetest.register_biome({ minetest.register_biome({ name = "snow_biome_alpine", - + node_dust = "default:snow", node_top = "default:dirt_with_snow", depth_top = 1, node_filler = "default:stone", - + node_riverbed = "default:gravel", + depth_riverbed = 2, y_min = 60, y_max = 31000, heat_point = 10.0, @@ -88,7 +89,7 @@ minetest.register_biome({ --Pine tree. minetest.register_decoration({ deco_type = "schematic", - place_on = {"default:dirt_with_snow", "default:dirt_with_grass"}, + place_on = {"default:dirt_with_snow", "default:dirt_with_grass", "default:dirt_with_coniferous_litter"}, sidelen = 16, noise_params = { offset = -0.004, @@ -118,6 +119,7 @@ minetest.register_decoration({ octaves = 3, persist = 0.66 }, +-- fill_ratio = 0.0005, y_max = 31000, y_min = 4, biomes = {"snow_biome_forest", "pine_forest"}, @@ -212,24 +214,24 @@ register_flower(1133, "viola") register_flower(73133, "dandelion_white") --Snow. -minetest.register_decoration({ - deco_type = "simple", - place_on = "default:dirt_with_snow", - sidelen = 16, - fill_ratio = 10, - y_max = 31000, - y_min = 1, - biomes = {"snow_biome_forest", "snow_biome_lush"}, - decoration = "default:snow", -}) +--minetest.register_decoration({ +-- deco_type = "simple", +-- place_on = "default:dirt_with_snow", +-- sidelen = 16, +-- fill_ratio = 10, +-- y_max = 31000, +-- y_min = 1, +-- biomes = {"snow_biome_forest", "snow_biome_lush"}, +-- decoration = "default:snow", +--}) -minetest.register_decoration({ - deco_type = "simple", - place_on = "default:stone", - sidelen = 16, - fill_ratio = 10, - y_max = 31000, - y_min = 1, - biomes = {"snow_biome_alpine"}, - decoration = "default:snow", -}) +--minetest.register_decoration({ +-- deco_type = "simple", +-- place_on = "default:stone", +-- sidelen = 16, +-- fill_ratio = 10, +-- y_max = 31000, +-- y_min = 1, +-- biomes = {"snow_biome_alpine"}, +-- decoration = "default:snow", +--})