From ebe9b262ed26cb63c969e30877a171d84ac8f7bc Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 12 Sep 2017 21:31:33 +0200 Subject: [PATCH] More straight-forward naming convention for biomes --- mods/MAPGEN/mcl_biomes/init.lua | 431 +++++++++++++++++--------------- 1 file changed, 225 insertions(+), 206 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 54ce8847f..8acf05607 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -34,20 +34,40 @@ local function register_biomes() In MT, any biome can occour in any terrain, so these variants are implied and are therefore not explicitly implmented in MCL2. “M” variants are only included if they have another unique feature, such as a different land cover. - In MCL2, MC biomes are usually split in two parts: A land part and an ocean part. Sometimes there's a beach/shore part as well. + In MCL2, the MC Overworld biomes are usually split in two or more parts (stacked by height), at least + a land part and an ocean part. Sometimes there's a beach/shore part as well. The ocean biomes correspond to the MC Ocean biome. - Other intentionally missing biomes: + Intentionally missing biomes: * River (generated by valleys and v7) - * Some Plateau biomes + * Frozen River (generated by valleys and v7) * Mesa (Bryce) + * Hills biomes + * Plateau + * Plateau M + * Cold Taiga M + * Taiga M + * Roofed Forest M + * Swampland M + * Mesa Plateau F M + * Extreme Hills Edge + + The following naming conventions apply: + * The land biome name is equal to the MC biome name (in camel case) + * Height modifiers and sub-biomes are appended with underscores and in lowercase. Example: “_ocean” + * Non-MC biomes are written in lowercase + * MC dimension biomes are named after their MC dimension TODO: - * Extreme Hills+ M * Better beaches (varying height, beach and cold beach as biomes) + * Extreme Hills+ M + * Desert M - Tricky are the beach (esp. stone beach) and mushroom island biomes as they have specific conditions we can't check in MT. :( + Tricky biomes: + * Mushroom Island (must be on island) + * Stone Beach (must be at beaches only) + * Jungle Edge M (must be tested) TODO: Find a way to position these biomes accordingly. ]] @@ -58,7 +78,7 @@ local function register_biomes() -- Ice Plains Spikes (rare) minetest.register_biome({ - name = "ice_plains_spikes", + name = "IcePlainsSpikes", node_top = "mcl_core:snowblock", depth_top = 1, node_filler = "mcl_core:dirt", @@ -72,7 +92,7 @@ local function register_biomes() heat_point = -5, }) minetest.register_biome({ - name = "ice_plains_spikes_ocean", + name = "IcePlainsSpikes_ocean", node_top = "mcl_core:sand", depth_top = 2, node_filler = "mcl_core:dirt", @@ -90,7 +110,7 @@ local function register_biomes() -- Cold Taiga minetest.register_biome({ - name = "cold_taiga", + name = "ColdTaiga", node_dust = "mcl_core:snow", node_top = "mcl_core:dirt_with_grass_snow", depth_top = 1, @@ -104,9 +124,9 @@ local function register_biomes() heat_point = 8, }) - -- A cold beach-like biome, implemented as low part of cold taiga + -- A cold beach-like biome, implemented as low part of Cold Taiga minetest.register_biome({ - name = "cold_taiga_beach", + name = "ColdTaiga_beach", node_dust = "mcl_core:snow", node_top = "mcl_core:sand", depth_top = 2, @@ -123,7 +143,7 @@ local function register_biomes() }) -- Water part of the beach. Added to prevent snow being on the ice. minetest.register_biome({ - name = "cold_taiga_beach_water", + name = "ColdTaiga_beach_water", node_top = "mcl_core:sand", depth_top = 2, node_water_top = "mcl_core:ice", @@ -138,7 +158,7 @@ local function register_biomes() heat_point = 8, }) minetest.register_biome({ - name = "cold_taiga_ocean", + name = "ColdTaiga_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -153,7 +173,7 @@ local function register_biomes() -- Mega Taiga minetest.register_biome({ - name = "mega_taiga", + name = "MegaTaiga", node_top = "mcl_core:podzol", depth_top = 1, node_filler = "mcl_core:dirt", @@ -166,7 +186,7 @@ local function register_biomes() heat_point = 10, }) minetest.register_biome({ - name = "mega_taiga_ocean", + name = "MegaTaiga_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -181,7 +201,7 @@ local function register_biomes() -- Mega Spruce Taiga minetest.register_biome({ - name = "mega_spruce_taiga", + name = "MegaSpruceTaiga", node_top = "mcl_core:podzol", depth_top = 1, node_filler = "mcl_core:dirt", @@ -194,7 +214,7 @@ local function register_biomes() heat_point = 8, }) minetest.register_biome({ - name = "mega_spruce_taiga_ocean", + name = "MegaSpruceTaiga_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -209,7 +229,7 @@ local function register_biomes() -- Extreme Hills minetest.register_biome({ - name = "extreme_hills", + name = "ExtremeHills", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -222,7 +242,7 @@ local function register_biomes() heat_point = 45, }) minetest.register_biome({ - name = "extreme_hills_beach", + name = "ExtremeHills_beach", node_top = "mcl_core:sand", depth_top = 2, depth_water_top = 1, @@ -236,7 +256,7 @@ local function register_biomes() heat_point = 45, }) minetest.register_biome({ - name = "extreme_hills_ocean", + name = "ExtremeHills_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -251,7 +271,7 @@ local function register_biomes() -- Extreme Hills M minetest.register_biome({ - name = "extreme_hills_m", + name = "ExtremeHillsM", node_top = "mcl_core:gravel", depth_top = 1, node_filler = "mcl_core:gravel", @@ -264,7 +284,7 @@ local function register_biomes() heat_point = 25, }) minetest.register_biome({ - name = "extreme_hills_m_ocean", + name = "ExtremeHillsM_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -279,9 +299,9 @@ local function register_biomes() -- Extreme Hills+ -- This biome is identical to Extreme Hills on the surface but has snow-covered mountains with spruce/oak - -- forests above a certain hight. + -- Forests above a certain height. minetest.register_biome({ - name = "extreme_hills_plus", + name = "ExtremeHills+", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -293,9 +313,9 @@ local function register_biomes() humidity_point = 24, heat_point = 25, }) - ---- Sub-biome for Extreme Hills+ for those snow forests + ---- Sub-biome for Extreme Hills+ for those snow Forests minetest.register_biome({ - name = "extreme_hills_plus_snowtop", + name = "ExtremeHills+_snowtop", node_dust = "mcl_core:snow", node_top = "mcl_core:dirt_with_grass_snow", depth_top = 1, @@ -309,7 +329,7 @@ local function register_biomes() heat_point = 25, }) minetest.register_biome({ - name = "extreme_hills_plus_ocean", + name = "ExtremeHills+_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -325,7 +345,7 @@ local function register_biomes() -- Stone beach -- TODO: Should occour only at real beaches. minetest.register_biome({ - name = "stone_beach", + name = "StoneBeach", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -339,7 +359,7 @@ local function register_biomes() }) minetest.register_biome({ - name = "stone_beach_ocean", + name = "StoneBeach_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -354,7 +374,7 @@ local function register_biomes() -- Ice Plains minetest.register_biome({ - name = "ice_plains", + name = "IcePlains", node_dust = "mcl_core:snow", node_top = "mcl_core:dirt_with_grass_snow", depth_top = 1, @@ -371,7 +391,7 @@ local function register_biomes() heat_point = 8, }) minetest.register_biome({ - name = "ice_plains_ocean", + name = "IcePlains_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -386,7 +406,7 @@ local function register_biomes() -- Plains minetest.register_biome({ - name = "plains", + name = "Plains", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -399,7 +419,7 @@ local function register_biomes() heat_point = 58, }) minetest.register_biome({ - name = "plains_beach", + name = "Plains_beach", node_top = "mcl_core:sand", depth_top = 2, node_filler = "mcl_core:sandstone", @@ -412,7 +432,7 @@ local function register_biomes() heat_point = 58, }) minetest.register_biome({ - name = "plains_ocean", + name = "Plains_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -427,7 +447,7 @@ local function register_biomes() -- Sunflower Plains minetest.register_biome({ - name = "sunflower_plains", + name = "SunflowerPlains", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -440,7 +460,7 @@ local function register_biomes() heat_point = 45, }) minetest.register_biome({ - name = "sunflower_plains_ocean", + name = "SunflowerPlains_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -455,7 +475,7 @@ local function register_biomes() -- Taiga minetest.register_biome({ - name = "taiga", + name = "Taiga", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -468,7 +488,7 @@ local function register_biomes() heat_point = 22, }) minetest.register_biome({ - name = "taiga_beach", + name = "Taiga_beach", node_top = "mcl_core:sand", depth_top = 2, node_filler = "mcl_core:sandstone", @@ -481,7 +501,7 @@ local function register_biomes() heat_point = 22, }) minetest.register_biome({ - name = "taiga_ocean", + name = "Taiga_ocean", node_top = "mcl_core:sand", depth_top = 1, node_filler = "mcl_core:dirt", @@ -496,7 +516,7 @@ local function register_biomes() -- Forest minetest.register_biome({ - name = "forest", + name = "Forest", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -509,7 +529,7 @@ local function register_biomes() heat_point = 45, }) minetest.register_biome({ - name = "forest_beach", + name = "Forest_beach", node_top = "mcl_core:sand", depth_top = 2, node_filler = "mcl_core:sandstone", @@ -522,7 +542,7 @@ local function register_biomes() heat_point = 45, }) minetest.register_biome({ - name = "forest_ocean", + name = "Forest_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -537,7 +557,7 @@ local function register_biomes() -- Flower Forest minetest.register_biome({ - name = "flower_forest", + name = "FlowerForest", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -550,7 +570,7 @@ local function register_biomes() heat_point = 32, }) minetest.register_biome({ - name = "flower_forest_beach", + name = "FlowerForest_beach", node_top = "mcl_core:sand", depth_top = 2, node_filler = "mcl_core:sandstone", @@ -563,7 +583,7 @@ local function register_biomes() heat_point = 32, }) minetest.register_biome({ - name = "flower_forest_ocean", + name = "FlowerForest_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -578,7 +598,7 @@ local function register_biomes() -- Birch Forest minetest.register_biome({ - name = "birch_forest", + name = "BirchForest", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -591,7 +611,7 @@ local function register_biomes() heat_point = 31, }) minetest.register_biome({ - name = "birch_forest_ocean", + name = "BirchForest_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -606,7 +626,7 @@ local function register_biomes() -- Birch Forest M minetest.register_biome({ - name = "birch_forest_m", + name = "BirchForestM", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -619,7 +639,7 @@ local function register_biomes() heat_point = 27, }) minetest.register_biome({ - name = "birch_forest_m_ocean", + name = "BirchForestM_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -634,7 +654,7 @@ local function register_biomes() -- Desert minetest.register_biome({ - name = "desert", + name = "Desert", node_top = "mcl_core:sand", depth_top = 1, node_filler = "mcl_core:sand", @@ -648,7 +668,7 @@ local function register_biomes() heat_point = 94, }) minetest.register_biome({ - name = "desert_ocean", + name = "Desert_ocean", node_top = "mcl_core:sand", depth_top = 1, node_filler = "mcl_core:sand", @@ -663,7 +683,7 @@ local function register_biomes() -- Roofed Forest minetest.register_biome({ - name = "roofed_forest", + name = "RoofedForest", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -676,7 +696,7 @@ local function register_biomes() heat_point = 27, }) minetest.register_biome({ - name = "roofed_forest_ocean", + name = "RoofedForest_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -691,7 +711,7 @@ local function register_biomes() -- Mesa minetest.register_biome({ - name = "mesa", + name = "Mesa", node_top = "mcl_colorblocks:hardened_clay", depth_top = 1, node_filler = "mcl_colorblocks:hardened_clay", @@ -701,10 +721,9 @@ local function register_biomes() humidity_point = 0, heat_point = 100, }) - -- Helper biome for the red sand at the bottom of mesas. - -- This is part of the regular mesa. + -- Helper biome for the red sand at the bottom of Mesas. minetest.register_biome({ - name = "mesa_sandlevel", + name = "Mesa_sandlevel", node_top = "mcl_core:redsand", depth_top = 1, node_filler = "mcl_colorblocks:hardened_clay_orange", @@ -718,7 +737,7 @@ local function register_biomes() heat_point = 100, }) minetest.register_biome({ - name = "mesa_ocean", + name = "Mesa_ocean", node_top = "mcl_core:sand", depth_top = 3, node_filler = "mcl_core:sand", @@ -732,9 +751,9 @@ local function register_biomes() }) -- Mesa Plateau F - -- Identical to Mesa below Y=30. Y=30 and above is replaced with an oak forest + -- Identical to Mesa below Y=30. At Y=30 and above there is an oak forest minetest.register_biome({ - name = "mesa_plateau_f", + name = "MesaPlateauF", node_top = "mcl_colorblocks:hardened_clay", depth_top = 1, node_filler = "mcl_colorblocks:hardened_clay", @@ -746,9 +765,9 @@ local function register_biomes() }) -- The actual plateau of this biome - -- This is a mesa plateau for grass blocks, tall grass and oaks. + -- This is a plateau for grass blocks, tall grass, coarse dirt and oaks. minetest.register_biome({ - name = "mesa_plateau_f_grasstop", + name = "MesaPlateauF_grasstop", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -762,7 +781,7 @@ local function register_biomes() -- Helper biome for the red sand at the bottom. minetest.register_biome({ - name = "mesa_plateau_f_sandlevel", + name = "MesaPlateauF_sandlevel", node_top = "mcl_core:redsand", depth_top = 1, node_filler = "mcl_colorblocks:hardened_clay_orange", @@ -776,7 +795,7 @@ local function register_biomes() heat_point = 60, }) minetest.register_biome({ - name = "mesa_plateau_f_ocean", + name = "MesaPlateauF_ocean", node_top = "mcl_core:sand", depth_top = 3, node_filler = "mcl_colorblocks:sand", @@ -791,7 +810,7 @@ local function register_biomes() -- Savanna minetest.register_biome({ - name = "savanna", + name = "Savanna", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -804,7 +823,7 @@ local function register_biomes() heat_point = 79, }) minetest.register_biome({ - name = "savanna_beach", + name = "Savanna_beach", node_top = "mcl_core:sand", depth_top = 3, node_filler = "mcl_core:sandstone", @@ -817,7 +836,7 @@ local function register_biomes() heat_point = 79, }) minetest.register_biome({ - name = "savanna_ocean", + name = "Savanna_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -834,7 +853,7 @@ local function register_biomes() -- Extras: Coarse Dirt. No sand beach. -- Otherwise identical to Savanna minetest.register_biome({ - name = "savanna_m", + name = "SavannaM", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:coarse_dirt", @@ -847,7 +866,7 @@ local function register_biomes() heat_point = 100, }) minetest.register_biome({ - name = "savanna_m_ocean", + name = "SavannaM_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -862,7 +881,7 @@ local function register_biomes() -- Jungle minetest.register_biome({ - name = "jungle", + name = "Jungle", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -875,7 +894,7 @@ local function register_biomes() heat_point = 92, }) minetest.register_biome({ - name = "jungle_shore", + name = "Jungle_shore", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -888,7 +907,7 @@ local function register_biomes() heat_point = 92, }) minetest.register_biome({ - name = "jungle_ocean", + name = "Jungle_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -902,9 +921,9 @@ local function register_biomes() }) -- Jungle M - -- Like jungle but with even more dense vegetation + -- Like Jungle but with even more dense vegetation minetest.register_biome({ - name = "jungle_m", + name = "JungleM", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -917,7 +936,7 @@ local function register_biomes() heat_point = 93, }) minetest.register_biome({ - name = "jungle_m_shore", + name = "JungleM_shore", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -930,7 +949,7 @@ local function register_biomes() heat_point = 93, }) minetest.register_biome({ - name = "jungle_m_ocean", + name = "JungleM_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -945,7 +964,7 @@ local function register_biomes() -- Jungle Edge minetest.register_biome({ - name = "jungle_edge", + name = "JungleEdge", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -958,7 +977,7 @@ local function register_biomes() heat_point = 77, }) minetest.register_biome({ - name = "jungle_edge_ocean", + name = "JungleEdge_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -976,7 +995,7 @@ local function register_biomes() -- This biome has borders with Jungle Edge, Jungle M and theoretically Mushroom Island and Mushroom Island Shore. -- In the Voronoi diagram, it has only a tiny area within the 0-100 heat/humity bounding box. minetest.register_biome({ - name = "jungle_edge_m", + name = "JungleEdgeM", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -989,7 +1008,7 @@ local function register_biomes() heat_point = 83, }) minetest.register_biome({ - name = "jungle_edge_m_ocean", + name = "JungleEdgeM_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -1004,7 +1023,7 @@ local function register_biomes() -- Swampland minetest.register_biome({ - name = "swampland", + name = "Swampland", node_top = "mcl_core:dirt_with_grass", depth_top = 1, node_filler = "mcl_core:dirt", @@ -1018,7 +1037,7 @@ local function register_biomes() heat_point = 50, }) minetest.register_biome({ - name = "swampland_shore", + name = "Swampland_shore", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -1031,7 +1050,7 @@ local function register_biomes() heat_point = 50, }) minetest.register_biome({ - name = "swampland_ocean", + name = "Swampland_ocean", node_top = "mcl_core:sand", depth_top = 1, node_filler = "mcl_core:sand", @@ -1047,7 +1066,7 @@ local function register_biomes() -- Mushroom Island / Mushroom Island Shore (rare) -- TODO: Make sure these biomes only spawn in islands minetest.register_biome({ - name = "mushroom_island", + name = "MushroomIsland", node_top = "mcl_core:mycelium", depth_top = 1, node_filler = "mcl_core:dirt", @@ -1062,7 +1081,7 @@ local function register_biomes() }) minetest.register_biome({ - name = "mushroom_island_shore", + name = "MushroomIslandShore", node_top = "mcl_core:mycelium", depth_top = 1, node_filler = "mcl_core:dirt", @@ -1075,7 +1094,7 @@ local function register_biomes() heat_point = 50, }) minetest.register_biome({ - name = "mushroom_island_ocean", + name = "MushroomIsland_ocean", node_top = "mcl_core:dirt", depth_top = 1, node_filler = "mcl_core:dirt", @@ -1091,7 +1110,7 @@ local function register_biomes() -- Deep Ocean -- Special biome below all other ocean biomes, used for generating gravel minetest.register_biome({ - name = "deep_ocean", + name = "DeepOcean", node_top = "mcl_core:gravel", depth_top = 2, node_filler = "mcl_core:gravel", @@ -1120,7 +1139,7 @@ local function register_dimension_biomes() --[[ THE NETHER ]] minetest.register_biome({ - name = "nether", + name = "Nether", node_filler = "mcl_nether:netherrack", node_stone = "mcl_nether:netherrack", node_water = "air", @@ -1135,7 +1154,7 @@ local function register_dimension_biomes() --[[ THE END ]] minetest.register_biome({ - name = "end", + name = "End", node_stone = "air", node_filler = "air", node_water = "air", @@ -1165,7 +1184,7 @@ local function register_biomelike_ores() y_max = mcl_vars.mg_overworld_max, noise_threshold = 0.2, noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}, - biomes = { "mega_taiga" }, + biomes = { "MegaTaiga" }, }) minetest.register_ore({ @@ -1178,7 +1197,7 @@ local function register_biomelike_ores() y_max = mcl_vars.mg_overworld_max, noise_threshold = 0.0, noise_params = {offset=0, scale=15, spread={x=250, y=250, z=250}, seed=24, octaves=3, persist=0.70}, - biomes = { "mesa_plateau_f_grasstop" }, + biomes = { "MesaPlateauF_grasstop" }, }) minetest.register_ore({ ore_type = "blob", @@ -1189,7 +1208,7 @@ local function register_biomelike_ores() clust_size = 7, y_min = mcl_vars.mg_overworld_min, y_max = mcl_vars.mg_overworld_max, - biomes = { "mesa_plateau_f_grasstop" }, + biomes = { "MesaPlateauF_grasstop" }, }) -- Small dirt patches in Extreme Hills M @@ -1205,7 +1224,7 @@ local function register_biomelike_ores() y_max = mcl_vars.mg_overworld_max, noise_threshold = 0.2, noise_params = {offset=0, scale=5, spread={x=250, y=250, z=250}, seed=64, octaves=3, persist=0.60}, - biomes = { "extreme_hills_m" }, + biomes = { "ExtremeHillsM" }, }) -- Mesa strata (registered as sheet ores) @@ -1230,7 +1249,7 @@ local function register_biomelike_ores() y_max = y_max, noise_threshold = -1.0, noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=seed, octaves=3, persist=0.70}, - biomes = { "mesa", "mesa_plateau_f" }, + biomes = { "Mesa", "MesaPlateauF" }, }) end @@ -1522,7 +1541,7 @@ local function register_decorations() octaves = 4, persist = 0.67, }, - biomes = {"ice_plains_spikes"}, + biomes = {"IcePlainsSpikes"}, y_min = 4, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_structures").."/schematics/mcl_structures_ice_spike_large.mts", @@ -1543,7 +1562,7 @@ local function register_decorations() octaves = 4, persist = 0.67, }, - biomes = {"ice_plains_spikes"}, + biomes = {"IcePlainsSpikes"}, y_min = 4, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_structures").."/schematics/mcl_structures_ice_spike_small.mts", @@ -1566,7 +1585,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"forest"}, + biomes = {"Forest"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_large_"..i..".mts", @@ -1586,7 +1605,7 @@ local function register_decorations() octaves = 3, persist = 0.6 }, - biomes = {"extreme_hills", "extreme_hills_m", "extreme_hills_plus", "extreme_hills_plus_snowtop"}, + biomes = {"ExtremeHills", "ExtremeHillsM", "ExtremeHills+", "ExtremeHills+_snowtop"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_large_"..i..".mts", @@ -1594,7 +1613,7 @@ local function register_decorations() rotation = "random", }) end - -- Small classic oak (forest, flower forest and ice plains) + -- Small classic oak (Forest, Flower Forest and Ice Plains) minetest.register_decoration({ deco_type = "schematic", place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, @@ -1607,7 +1626,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"forest"}, + biomes = {"Forest"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts", @@ -1626,7 +1645,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"flower_forest"}, + biomes = {"FlowerForest"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts", @@ -1645,7 +1664,7 @@ local function register_decorations() octaves = 3, persist = 0.7 }, - biomes = {"extreme_hills", "extreme_hills_m", "extreme_hills_plus", "extreme_hills_plus_snowtop"}, + biomes = {"ExtremeHills", "ExtremeHillsM", "ExtremeHills+", "ExtremeHills+_snowtop"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts", @@ -1665,7 +1684,7 @@ local function register_decorations() octaves = 3, persist = 0.7 }, - biomes = {"extreme_hills_plus", "extreme_hills_plus_snowtop"}, + biomes = {"ExtremeHills+", "ExtremeHills+_snowtop"}, y_min = 50, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts", @@ -1684,7 +1703,7 @@ local function register_decorations() octaves = 3, persist = 0.7 }, - biomes = {"mesa_plateau_f_grasstop"}, + biomes = {"MesaPlateauF_grasstop"}, y_min = 30, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts", @@ -1704,7 +1723,7 @@ local function register_decorations() octaves = 3, persist = 0.7 }, - biomes = {"ice_plains"}, + biomes = {"IcePlains"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts", @@ -1724,7 +1743,7 @@ local function register_decorations() octaves = 3, persist = 0.6, }, - biomes = {"forest"}, + biomes = {"Forest"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_balloon.mts", @@ -1744,7 +1763,7 @@ local function register_decorations() octaves = 5, persist = 0.6, }, - biomes = {"swampland", "swampland_shore"}, + biomes = {"Swampland", "Swampland_shore"}, y_min = 0, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_swamp.mts", @@ -1761,7 +1780,7 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, sidelen = 80, fill_ratio = 0.00125, - biomes = {"jungle"}, + biomes = {"Jungle"}, y_min = 4, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_tree_huge_"..i..".mts", @@ -1773,7 +1792,7 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, sidelen = 80, fill_ratio = 0.004, - biomes = {"jungle_m"}, + biomes = {"JungleM"}, y_min = 4, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_tree_huge_"..i..".mts", @@ -1788,7 +1807,7 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, sidelen = 80, fill_ratio = 0.045, - biomes = {"jungle"}, + biomes = {"Jungle"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_tree.mts", @@ -1800,7 +1819,7 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, sidelen = 80, fill_ratio = 0.0045, - biomes = {"jungle_edge", "jungle_edge_m"}, + biomes = {"JungleEdge", "JungleEdgeM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_tree.mts", @@ -1813,7 +1832,7 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, sidelen = 80, fill_ratio = 0.09, - biomes = {"jungle_m"}, + biomes = {"JungleM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_tree.mts", @@ -1821,13 +1840,13 @@ local function register_decorations() rotation = "random", }) - -- Oak in jungle / jungle edge + -- Oak in Jungle / Jungle Edge minetest.register_decoration({ deco_type = "schematic", place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, sidelen = 80, fill_ratio = 0.004, - biomes = {"jungle", "jungle_m"}, + biomes = {"Jungle", "JungleM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts", @@ -1839,7 +1858,7 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, sidelen = 80, fill_ratio = 0.0004, - biomes = {"jungle_edge", "jungle_edge_m"}, + biomes = {"JungleEdge", "JungleEdgeM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts", @@ -1873,35 +1892,35 @@ local function register_decorations() end -- Huge spruce - quick_spruce(3000, 0.005, "mcl_core_spruce_huge_1.mts", {"mega_spruce_taiga"}) - quick_spruce(4000, 0.005, "mcl_core_spruce_huge_2.mts", {"mega_spruce_taiga"}) - quick_spruce(6000, 0.005, "mcl_core_spruce_huge_3.mts", {"mega_spruce_taiga"}) + quick_spruce(3000, 0.005, "mcl_core_spruce_huge_1.mts", {"MegaSpruceTaiga"}) + quick_spruce(4000, 0.005, "mcl_core_spruce_huge_2.mts", {"MegaSpruceTaiga"}) + quick_spruce(6000, 0.005, "mcl_core_spruce_huge_3.mts", {"MegaSpruceTaiga"}) - quick_spruce(3000, 0.0008, "mcl_core_spruce_huge_up_1.mts", {"mega_taiga"}) - quick_spruce(4000, 0.0008, "mcl_core_spruce_huge_up_2.mts", {"mega_taiga"}) - quick_spruce(6000, 0.0008, "mcl_core_spruce_huge_up_3.mts", {"mega_taiga"}) + quick_spruce(3000, 0.0008, "mcl_core_spruce_huge_up_1.mts", {"MegaTaiga"}) + quick_spruce(4000, 0.0008, "mcl_core_spruce_huge_up_2.mts", {"MegaTaiga"}) + quick_spruce(6000, 0.0008, "mcl_core_spruce_huge_up_3.mts", {"MegaTaiga"}) -- Common spruce - quick_spruce(11000, 0.00150, "mcl_core_spruce_5.mts", {"taiga", "cold_taiga"}) + quick_spruce(11000, 0.00150, "mcl_core_spruce_5.mts", {"Taiga", "ColdTaiga"}) - quick_spruce(2500, 0.00325, "mcl_core_spruce_1.mts", {"mega_spruce_taiga", "mega_taiga", "taiga", "cold_taiga"}) - quick_spruce(7000, 0.00425, "mcl_core_spruce_3.mts", {"mega_spruce_taiga", "mega_taiga", "taiga", "cold_taiga"}) - quick_spruce(9000, 0.00325, "mcl_core_spruce_4.mts", {"mega_taiga", "taiga", "cold_taiga"}) + quick_spruce(2500, 0.00325, "mcl_core_spruce_1.mts", {"MegaSpruceTaiga", "MegaTaiga", "Taiga", "ColdTaiga"}) + quick_spruce(7000, 0.00425, "mcl_core_spruce_3.mts", {"MegaSpruceTaiga", "MegaTaiga", "Taiga", "ColdTaiga"}) + quick_spruce(9000, 0.00325, "mcl_core_spruce_4.mts", {"MegaTaiga", "Taiga", "ColdTaiga"}) - quick_spruce(9500, 0.00500, "mcl_core_spruce_tall.mts", {"mega_taiga"}) + quick_spruce(9500, 0.00500, "mcl_core_spruce_tall.mts", {"MegaTaiga"}) - quick_spruce(5000, 0.00250, "mcl_core_spruce_2.mts", {"mega_spruce_taiga", "mega_taiga"}) + quick_spruce(5000, 0.00250, "mcl_core_spruce_2.mts", {"MegaSpruceTaiga", "MegaTaiga"}) - quick_spruce(11000, 0.000025, "mcl_core_spruce_5.mts", {"extreme_hills", "extreme_hills_m"}) - quick_spruce(2500, 0.00005, "mcl_core_spruce_1.mts", {"extreme_hills", "extreme_hills_m"}) - quick_spruce(7000, 0.00005, "mcl_core_spruce_3.mts", {"extreme_hills", "extreme_hills_m"}) - quick_spruce(9000, 0.00005, "mcl_core_spruce_4.mts", {"extreme_hills", "extreme_hills_m"}) + quick_spruce(11000, 0.000025, "mcl_core_spruce_5.mts", {"ExtremeHills", "ExtremeHillsM"}) + quick_spruce(2500, 0.00005, "mcl_core_spruce_1.mts", {"ExtremeHills", "ExtremeHillsM"}) + quick_spruce(7000, 0.00005, "mcl_core_spruce_3.mts", {"ExtremeHills", "ExtremeHillsM"}) + quick_spruce(9000, 0.00005, "mcl_core_spruce_4.mts", {"ExtremeHills", "ExtremeHillsM"}) - quick_spruce(11000, 0.001, "mcl_core_spruce_5.mts", {"extreme_hills_plus", "extreme_hills_plus_snowtop"}, 50) - quick_spruce(2500, 0.002, "mcl_core_spruce_1.mts", {"extreme_hills_plus", "extreme_hills_plus_snowtop"}, 50) - quick_spruce(7000, 0.003, "mcl_core_spruce_3.mts", {"extreme_hills_plus", "extreme_hills_plus_snowtop"}, 50) - quick_spruce(9000, 0.002, "mcl_core_spruce_4.mts", {"extreme_hills_plus", "extreme_hills_plus_snowtop"}, 50) + quick_spruce(11000, 0.001, "mcl_core_spruce_5.mts", {"ExtremeHills+", "ExtremeHills+_snowtop"}, 50) + quick_spruce(2500, 0.002, "mcl_core_spruce_1.mts", {"ExtremeHills+", "ExtremeHills+_snowtop"}, 50) + quick_spruce(7000, 0.003, "mcl_core_spruce_3.mts", {"ExtremeHills+", "ExtremeHills+_snowtop"}, 50) + quick_spruce(9000, 0.002, "mcl_core_spruce_4.mts", {"ExtremeHills+", "ExtremeHills+_snowtop"}, 50) -- Small lollipop spruce @@ -1917,7 +1936,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"taiga", "cold_taiga"}, + biomes = {"Taiga", "ColdTaiga"}, y_min = 2, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_spruce_lollipop.mts", @@ -1937,14 +1956,14 @@ local function register_decorations() octaves = 5, persist = 0.60, }, - biomes = {"taiga", "cold_taiga"}, + biomes = {"Taiga", "ColdTaiga"}, y_min = 3, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_spruce_matchstick.mts", flags = "place_center_x, place_center_z", }) - -- Rare spruce in ice plains + -- Rare spruce in Ice Plains minetest.register_decoration({ deco_type = "schematic", place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt_with_grass_snow"}, @@ -1957,7 +1976,7 @@ local function register_decorations() octaves = 3, persist = 0.7 }, - biomes = {"ice_plains"}, + biomes = {"IcePlains"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_spruce_5.mts", @@ -1971,7 +1990,7 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"}, sidelen = 16, fill_ratio = 0.0002, - biomes = {"savanna", "savanna_m"}, + biomes = {"Savanna", "SavannaM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_acacia_"..a..".mts", @@ -1993,7 +2012,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"birch_forest"}, + biomes = {"BirchForest"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_birch.mts", @@ -2011,7 +2030,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"birch_forest_m"}, + biomes = {"BirchForestM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_birch_tall.mts", @@ -2030,7 +2049,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"forest", "flower_forest"}, + biomes = {"Forest", "FlowerForest"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_birch.mts", @@ -2050,7 +2069,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"roofed_forest"}, + biomes = {"RoofedForest"}, y_min = 4, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_dark_oak.mts", @@ -2072,7 +2091,7 @@ local function register_decorations() place_on = { "mcl_core:dirt_with_grass", "mcl_core:dirt" }, sidelen = 80, fill_ratio = ratio_mushroom_huge, - biomes = { "roofed_forest" }, + biomes = { "RoofedForest" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_huge_brown.mts", @@ -2084,7 +2103,7 @@ local function register_decorations() place_on = { "mcl_core:dirt_with_grass", "mcl_core:dirt" }, sidelen = 80, fill_ratio = ratio_mushroom_giant, - biomes = { "roofed_forest" }, + biomes = { "RoofedForest" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_giant_brown.mts", @@ -2097,7 +2116,7 @@ local function register_decorations() place_on = { "mcl_core:mycelium" }, sidelen = 80, fill_ratio = ratio_mushroom_mycelium_huge, - biomes = { "mushroom_island", "mushroom_island_shore" }, + biomes = { "MushroomIsland", "MushroomIslandShore" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_huge_brown.mts", @@ -2109,7 +2128,7 @@ local function register_decorations() place_on = { "mcl_core:mycelium" }, sidelen = 80, fill_ratio = ratio_mushroom_mycelium_giant, - biomes = { "mushroom_island", "mushroom_island_shore" }, + biomes = { "MushroomIsland", "MushroomIslandShore" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_giant_brown.mts", @@ -2123,7 +2142,7 @@ local function register_decorations() place_on = { "mcl_core:dirt_with_grass", "mcl_core:dirt" }, sidelen = 80, fill_ratio = ratio_mushroom_huge, - biomes = { "roofed_forest" }, + biomes = { "RoofedForest" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_huge_red.mts", @@ -2135,7 +2154,7 @@ local function register_decorations() place_on = { "mcl_core:dirt_with_grass", "mcl_core:dirt" }, sidelen = 80, fill_ratio = ratio_mushroom_giant, - biomes = { "roofed_forest" }, + biomes = { "RoofedForest" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_giant_red.mts", @@ -2148,7 +2167,7 @@ local function register_decorations() place_on = { "mcl_core:mycelium" }, sidelen = 80, fill_ratio = ratio_mushroom_mycelium_huge, - biomes = { "mushroom_island", "mushroom_island_shore" }, + biomes = { "MushroomIsland", "MushroomIslandShore" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_huge_red.mts", @@ -2160,7 +2179,7 @@ local function register_decorations() place_on = { "mcl_core:mycelium" }, sidelen = 80, fill_ratio = ratio_mushroom_mycelium_giant, - biomes = { "mushroom_island", "mushroom_island_shore" }, + biomes = { "MushroomIsland", "MushroomIslandShore" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_mushrooms").."/schematics/mcl_mushrooms_giant_red.mts", @@ -2181,7 +2200,7 @@ local function register_decorations() octaves = 4, persist = 0.63, }, - biomes = {"mega_taiga", "mega_spruce_taiga"}, + biomes = {"MegaTaiga", "MegaSpruceTaiga"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_structures").."/schematics/mcl_structures_boulder.mts", @@ -2201,7 +2220,7 @@ local function register_decorations() octaves = 4, persist = 0.63, }, - biomes = {"mega_taiga", "mega_spruce_taiga"}, + biomes = {"MegaTaiga", "MegaSpruceTaiga"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_structures").."/schematics/mcl_structures_boulder_small.mts", @@ -2224,7 +2243,7 @@ local function register_decorations() y_min = 4, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_core:cactus", - biomes = {"desert","mesa","mesa_sandlevel","mesa_plateau_f","mesa_plateau_f_sandlevel"}, + biomes = {"Desert","Mesa","Mesa_sandlevel","MesaPlateauF","MesaPlateauF_sandlevel"}, height = 1, height_max = 3, }) @@ -2262,7 +2281,7 @@ local function register_decorations() octaves = 3, persist = 0.7, }, - biomes = {"swampland"}, + biomes = {"Swampland"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_core:reeds", @@ -2298,7 +2317,7 @@ local function register_decorations() }, y_min = 1, y_max = mcl_vars.mg_overworld_max, - biomes = {"plains", "sunflower_plains", "taiga", "forest", "flower_forest", "birch_forest", "birch_forest_m", "roofed_forest", "savanna", "savanna_m", "mesa_plateau_f_grasstop" }, + biomes = {"Plains", "SunflowerPlains", "Taiga", "Forest", "FlowerForest", "BirchForest", "BirchForestM", "RoofedForest", "Savanna", "SavannaM", "MesaPlateauF_grasstop" }, }) -- Large ferns @@ -2326,7 +2345,7 @@ local function register_decorations() octaves = 2, persist = 0.66, }, - biomes = { "jungle", "jungle_m", "jungle_edge", "jungle_edge_m", "taiga", "cold_taiga", "mega_taiga", "mega_spruce_taiga" }, + biomes = { "Jungle", "JungleM", "JungleEdge", "JungleEdgeM", "Taiga", "ColdTaiga", "MegaTaiga", "MegaSpruceTaiga" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, }) @@ -2355,7 +2374,7 @@ local function register_decorations() octaves = 2, persist = 0.60, }, - biomes = { "jungle_m" }, + biomes = { "JungleM" }, y_min = 1, y_max = mcl_vars.mg_overworld_max, }) @@ -2375,7 +2394,7 @@ local function register_decorations() b = biomes else o = flower_forest_offset - b = { "flower_forest" } + b = { "FlowerForest" } end minetest.register_decoration({ @@ -2407,10 +2426,10 @@ local function register_decorations() end end - register_large_flower("rose_bush", {"forest"}, 9350, -0.008, 0.003) - register_large_flower("peony", {"forest"}, 10450, -0.008, 0.003) - register_large_flower("lilac", {"forest"}, 10600, -0.007, 0.003) - register_large_flower("sunflower", {"sunflower_plains"}, 2940, 0.0) + register_large_flower("rose_bush", {"Forest"}, 9350, -0.008, 0.003) + register_large_flower("peony", {"Forest"}, 10450, -0.008, 0.003) + register_large_flower("lilac", {"Forest"}, 10600, -0.007, 0.003) + register_large_flower("sunflower", {"SunflowerPlains"}, 2940, 0.0) -- Jungle bush minetest.register_decoration({ @@ -2425,7 +2444,7 @@ local function register_decorations() octaves = 4, persist = 0.6, }, - biomes = {"jungle"}, + biomes = {"Jungle"}, y_min = 3, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_bush.mts", @@ -2443,7 +2462,7 @@ local function register_decorations() octaves = 4, persist = 0.6, }, - biomes = {"jungle_m"}, + biomes = {"JungleM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_bush.mts", @@ -2461,7 +2480,7 @@ local function register_decorations() octaves = 4, persist = 0.6, }, - biomes = {"jungle_edge", "jungle_edge_m"}, + biomes = {"JungleEdge", "JungleEdgeM"}, y_min = 3, y_max = mcl_vars.mg_overworld_max, schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_bush.mts", @@ -2481,7 +2500,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"mega_taiga", "mega_spruce_taiga", "taiga"}, + biomes = {"MegaTaiga", "MegaSpruceTaiga", "Taiga"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { @@ -2517,7 +2536,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"cold_taiga"}, + biomes = {"ColdTaiga"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { @@ -2553,7 +2572,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"forest", "birch_forest", "birch_forest_m",}, + biomes = {"Forest", "BirchForest", "BirchForestM",}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { @@ -2579,7 +2598,7 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, sidelen = 80, fill_ratio = 0.005, - biomes = {"jungle", "jungle_m"}, + biomes = {"Jungle", "JungleM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { @@ -2615,7 +2634,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"forest"}, + biomes = {"Forest"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { @@ -2643,7 +2662,7 @@ local function register_decorations() { name = "mcl_flowers:waterlily" }, } - -- Spawn them in shallow water at ocean level in swamplands. + -- Spawn them in shallow water at ocean level in Swampland. -- Tweak lilydepth to change the maximum water depth local lilydepth = 2 @@ -2670,7 +2689,7 @@ local function register_decorations() }, y_min = y, y_max = y, - biomes = { "swampland_shore" }, + biomes = { "Swampland_shore" }, rotation = "random", }) end @@ -2691,7 +2710,7 @@ local function register_decorations() y_min = 1, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_farming:melon", - biomes = { "jungle" }, + biomes = { "Jungle" }, }) minetest.register_decoration({ deco_type = "simple", @@ -2708,7 +2727,7 @@ local function register_decorations() y_min = 1, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_farming:melon", - biomes = { "jungle_m" }, + biomes = { "JungleM" }, }) minetest.register_decoration({ deco_type = "simple", @@ -2725,7 +2744,7 @@ local function register_decorations() y_min = 1, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_farming:melon", - biomes = { "jungle_edge", "jungle_edge_m" }, + biomes = { "JungleEdge", "JungleEdgeM" }, }) -- Lots of melons in Jungle Edge M @@ -2744,7 +2763,7 @@ local function register_decorations() y_min = 1, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_farming:melon", - biomes = { "jungle_edge_m" }, + biomes = { "JungleEdgeM" }, }) -- Pumpkin @@ -2773,10 +2792,10 @@ local function register_decorations() }) -- Grasses and ferns - local grass_forest = {"plains", "taiga", "forest", "flower_forest", "birch_forest", "birch_forest_m", "roofed_forest", "swampland", "mesa_plateau_f_grasstop" } - local grass_plains = {"plains", "sunflower_plains", "jungle_edge", "jungle_edge_m" } - local grass_savanna = {"savanna", "savanna_m"} - local grass_sparse = {"extreme_hills", "extreme_hills_plus", "extreme_hills_plus_snowtop", "extreme_hills_m", "jungle", } + local grass_forest = {"Plains", "Taiga", "Forest", "FlowerForest", "BirchForest", "BirchForestM", "RoofedForest", "Swampland", "MesaPlateauF_grasstop" } + local grass_plains = {"Plains", "SunflowerPlains", "JungleEdge", "JungleEdgeM" } + local grass_savanna = {"Savanna", "SavannaM"} + local grass_sparse = {"ExtremeHills", "ExtremeHills+", "ExtremeHills+_snowtop", "ExtremeHillsM", "Jungle", } register_grass_decoration("tallgrass", -0.03, 0.09, grass_forest) register_grass_decoration("tallgrass", -0.015, 0.075, grass_forest) @@ -2791,21 +2810,21 @@ local function register_decorations() register_grass_decoration("tallgrass", 0.18, -0.03, grass_savanna) register_grass_decoration("tallgrass", 0.05, -0.03, grass_sparse) - local fern_minimal = { "jungle", "jungle_m", "jungle_edge", "jungle_edge_m", "taiga", "mega_taiga", "mega_spruce_taiga", "cold_taiga" } - local fern_low = { "jungle", "jungle_m", "jungle_edge", "jungle_edge_m", "taiga", "mega_taiga", "mega_spruce_taiga" } - local fern_jungle = { "jungle", "jungle_m", "jungle_edge", "jungle_edge_m" } - local fern_jungle_m = { "jungle_m" }, + local fern_minimal = { "Jungle", "JungleM", "JungleEdge", "JungleEdgeM", "Taiga", "MegaTaiga", "MegaSpruceTaiga", "ColdTaiga" } + local fern_low = { "Jungle", "JungleM", "JungleEdge", "JungleEdgeM", "Taiga", "MegaTaiga", "MegaSpruceTaiga" } + local fern_Jungle = { "Jungle", "JungleM", "JungleEdge", "JungleEdgeM" } + local fern_JungleM = { "JungleM" }, register_grass_decoration("fern", -0.03, 0.09, fern_minimal) register_grass_decoration("fern", -0.015, 0.075, fern_minimal) register_grass_decoration("fern", 0, 0.06, fern_minimal) register_grass_decoration("fern", 0.015, 0.045, fern_low) register_grass_decoration("fern", 0.03, 0.03, fern_low) - register_grass_decoration("fern", 0.01, 0.05, fern_jungle) - register_grass_decoration("fern", 0.03, 0.03, fern_jungle) - register_grass_decoration("fern", 0.05, 0.01, fern_jungle) - register_grass_decoration("fern", 0.07, -0.01, fern_jungle) - register_grass_decoration("fern", 0.09, -0.03, fern_jungle) - register_grass_decoration("fern", 0.12, -0.03, fern_jungle_m) + register_grass_decoration("fern", 0.01, 0.05, fern_Jungle) + register_grass_decoration("fern", 0.03, 0.03, fern_Jungle) + register_grass_decoration("fern", 0.05, 0.01, fern_Jungle) + register_grass_decoration("fern", 0.07, -0.01, fern_Jungle) + register_grass_decoration("fern", 0.09, -0.03, fern_Jungle) + register_grass_decoration("fern", 0.12, -0.03, fern_JungleM) -- Place tall grass on snow in Ice Plains and Extreme Hills+ minetest.register_decoration({ @@ -2820,7 +2839,7 @@ local function register_decorations() octaves = 3, persist = 0.6, }, - biomes = {"ice_plains"}, + biomes = {"IcePlains"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { @@ -2843,7 +2862,7 @@ local function register_decorations() octaves = 3, persist = 0.6, }, - biomes = {"extreme_hills_plus_snowtop"}, + biomes = {"ExtremeHills+_snowtop"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { @@ -2871,7 +2890,7 @@ local function register_decorations() }, y_min = 4, y_max = mcl_vars.mg_overworld_max, - biomes = {"desert", "mesa", "mesa_sandlevel", "mesa_plateau_f", "mesa_plateau_f_sandlevel", "mesa_plateau_f_grasstop", "taiga", "mega_taiga"}, + biomes = {"Desert", "Mesa", "Mesa_sandlevel", "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_grasstop", "Taiga", "MegaTaiga"}, decoration = "mcl_core:deadbush", height = 1, }) @@ -2882,7 +2901,7 @@ local function register_decorations() place_on = {"mcl_core:mycelium"}, sidelen = 80, fill_ratio = 0.009, - biomes = {"mushroom_island", "mushroom_island_shore"}, + biomes = {"MushroomIsland", "MushroomIslandShore"}, noise_threshold = 2.0, y_min = mcl_vars.mg_overworld_min, y_max = mcl_vars.mg_overworld_max, @@ -2893,19 +2912,19 @@ local function register_decorations() place_on = {"mcl_core:mycelium"}, sidelen = 80, fill_ratio = 0.009, - biomes = {"mushroom_island", "mushroom_island_shore"}, + biomes = {"MushroomIsland", "MushroomIslandShore"}, y_min = mcl_vars.mg_overworld_min, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_mushrooms:mushroom_brown", }) - -- Mushrooms in taigas + -- Mushrooms in Taiga minetest.register_decoration({ deco_type = "simple", place_on = {"mcl_core:podzol"}, sidelen = 80, fill_ratio = 0.003, - biomes = {"taiga", "mega_taiga", "mega_spruce_taiga"}, + biomes = {"Taiga", "MegaTaiga", "MegaSpruceTaiga"}, y_min = mcl_vars.mg_overworld_min, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_mushrooms:mushroom_red", @@ -2915,7 +2934,7 @@ local function register_decorations() place_on = {"mcl_core:podzol"}, sidelen = 80, fill_ratio = 0.003, - biomes = {"taiga", "mega_taiga", "mega_spruce_taiga"}, + biomes = {"Taiga", "MegaTaiga", "MegaSpruceTaiga"}, y_min = mcl_vars.mg_overworld_min, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_mushrooms:mushroom_brown", @@ -2946,7 +2965,7 @@ local function register_decorations() num_spawn_by = 1, }) - -- More mushrooms in swamplands + -- More mushrooms in Swampland minetest.register_decoration({ deco_type = "simple", place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:podzol", "mcl_core:mycelium", "mcl_core:stone", "mcl_core:andesite", "mcl_core:diorite", "mcl_core:granite"}, @@ -2962,7 +2981,7 @@ local function register_decorations() y_min = 1, y_max = mcl_vars.mg_overworld_max, decoration = mushrooms[m], - biomes = { "swampland "}, + biomes = { "Swampland"}, spawn_by = { "mcl_core:tree", "mcl_core:sprucetree", "mcl_core:darktree", "mcl_core:birchtree" }, num_spawn_by = 1, }) @@ -3005,18 +3024,18 @@ local function register_decorations() }, y_min = 1, y_max = mcl_vars.mg_overworld_max, - biomes = {"flower_forest"}, + biomes = {"FlowerForest"}, decoration = "mcl_flowers:"..name, }) end end - local flower_biomes1 = {"plains", "sunflower_plains", "roofed_forest", "forest", "birch_forest", "birch_forest_m", "taiga", "cold_taiga", "jungle", "jungle_m", "jungle_edge", "jungle_edge_m", "savanna", "savanna_m", "extreme_hills", "extreme_hills_m", "extreme_hills_plus", "extreme_hills_plus_snowtop" } + local flower_biomes1 = {"Plains", "SunflowerPlains", "RoofedForest", "Forest", "BirchForest", "BirchForestM", "Taiga", "ColdTaiga", "Jungle", "JungleM", "JungleEdge", "JungleEdgeM", "Savanna", "SavannaM", "ExtremeHills", "ExtremeHillsM", "ExtremeHills+", "ExtremeHills+_snowtop" } register_flower("dandelion", flower_biomes1, 8) register_flower("poppy", flower_biomes1, 9439) - local flower_biomes2 = {"plains", "sunflower_plains"} + local flower_biomes2 = {"Plains", "SunflowerPlains"} register_flower("tulip_red", flower_biomes2, 436) register_flower("tulip_orange", flower_biomes2, 536) register_flower("tulip_pink", flower_biomes2, 636) @@ -3024,8 +3043,8 @@ local function register_decorations() register_flower("azure_bluet", flower_biomes2, 800) register_flower("oxeye_daisy", flower_biomes2, 3490) - register_flower("allium", nil, 0) -- flower forest only - register_flower("blue_orchid", {"swampland"}, 64500, false) + register_flower("allium", nil, 0) -- flower Forest only + register_flower("blue_orchid", {"Swampland"}, 64500, false) end