From: paramat Date: Tue, 1 Aug 2017 03:47:37 +0000 (+0100) Subject: Floatland biomes: Simplify to grassland X-Git-Tag: 5.0.0~195 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=57577596d6aaa5d53babc39ca247ff1acd1f7bcb;p=oweals%2Fminetest_game.git Floatland biomes: Simplify to grassland Make the placeholder biomes grassland to make the shape of the floatland terrain more visible. --- diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index a6a4532e..1fc2dc34 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -1446,19 +1446,18 @@ end -- Biomes for floatlands -- Used when mgv7 'biomerepeat' flag is false --- TODO Temporary simple biomes to be developed later -function default.register_floatland_biomes(floatland_level, shadow_limit) +-- TODO Temporary simple biomes to be replaced by special floatland biomes later. - -- Coniferous forest +function default.register_floatland_biomes(floatland_level, shadow_limit) minetest.register_biome({ - name = "floatland_coniferous_forest", + name = "floatland_grassland", --node_dust = "", node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", - depth_filler = 3, + depth_filler = 1, --node_stone = "", --node_water_top = "", --depth_water_top = , @@ -1472,10 +1471,8 @@ function default.register_floatland_biomes(floatland_level, shadow_limit) humidity_point = 50, }) - -- Coniferous forest ocean - minetest.register_biome({ - name = "floatland_coniferous_forest_ocean", + name = "floatland_grassland_ocean", --node_dust = "", node_top = "default:sand", depth_top = 1, @@ -1607,7 +1604,7 @@ local function register_grass_decoration(offset, scale, length) }, biomes = {"grassland", "grassland_dunes", "deciduous_forest", "coniferous_forest", "coniferous_forest_dunes", - "floatland_grassland", "floatland_coniferous_forest"}, + "floatland_grassland"}, y_min = 1, y_max = 31000, decoration = "default:grass_" .. length, @@ -1721,7 +1718,7 @@ function default.register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"}, + biomes = {"taiga", "coniferous_forest"}, y_min = 2, y_max = 31000, schematic = minetest.get_modpath("default") .. "/schematics/pine_tree.mts", diff --git a/mods/flowers/mapgen.lua b/mods/flowers/mapgen.lua index 92f9609b..6ea796cd 100644 --- a/mods/flowers/mapgen.lua +++ b/mods/flowers/mapgen.lua @@ -95,7 +95,7 @@ local function register_flower(seed, name) persist = 0.6 }, biomes = {"grassland", "deciduous_forest", "coniferous_forest", - "floatland_coniferous_forest"}, + "floatland_grassland"}, y_min = 1, y_max = 31000, decoration = "flowers:"..name, @@ -115,8 +115,7 @@ local function register_mushroom(name) octaves = 3, persist = 0.66 }, - biomes = {"deciduous_forest", "coniferous_forest", - "floatland_coniferous_forest"}, + biomes = {"deciduous_forest", "coniferous_forest"}, y_min = 1, y_max = 31000, decoration = "flowers:"..name,