From bdc09d2313e5734400d2283549c4906d77a546d0 Mon Sep 17 00:00:00 2001 From: paramat Date: Wed, 28 Jun 2017 09:56:18 +0100 Subject: [PATCH] Floatland biomes: Add ocean biomes to fix missing sandstone Update biome lists for blob ores. --- mods/default/mapgen.lua | 58 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 6 deletions(-) diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index 1305226a..8e9ef16f 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -188,7 +188,8 @@ function default.register_blob_ores() "deciduous_forest_shore", "deciduous_forest_ocean", "cold_desert", "cold_desert_ocean", "savanna", "savanna_shore", "savanna_ocean", "rainforest", "rainforest_swamp", "rainforest_ocean", "underground", - "floatland_ocean", "floatland_grassland", "floatland_coniferous_forest"} + "floatland_grassland", "floatland_grassland_ocean", + "floatland_coniferous_forest", "floatland_coniferous_forest_ocean"} }) -- Dirt @@ -242,7 +243,8 @@ function default.register_blob_ores() "deciduous_forest_shore", "deciduous_forest_ocean", "cold_desert", "cold_desert_ocean", "savanna", "savanna_shore", "savanna_ocean", "rainforest", "rainforest_swamp", "rainforest_ocean", "underground", - "floatland_ocean", "floatland_grassland", "floatland_coniferous_forest"} + "floatland_grassland", "floatland_grassland_ocean", + "floatland_coniferous_forest", "floatland_coniferous_forest_ocean"} }) end @@ -1201,6 +1203,28 @@ function default.register_floatland_biomes(floatland_level, shadow_limit) humidity_point = 70, }) + -- Coniferous forest ocean + + minetest.register_biome({ + name = "floatland_coniferous_forest_ocean", + --node_dust = "", + node_top = "default:sand", + depth_top = 1, + node_filler = "default:sand", + depth_filler = 3, + --node_stone = "", + --node_water_top = "", + --depth_water_top = , + --node_water = "", + --node_river_water = "", + --node_riverbed = "", + --depth_riverbed = , + y_min = shadow_limit, + y_max = floatland_level + 1, + heat_point = 50, + humidity_point = 70, + }) + -- Grassland minetest.register_biome({ @@ -1223,6 +1247,28 @@ function default.register_floatland_biomes(floatland_level, shadow_limit) humidity_point = 35, }) + -- Grassland ocean + + minetest.register_biome({ + name = "floatland_grassland_ocean", + --node_dust = "", + node_top = "default:sand", + depth_top = 1, + node_filler = "default:sand", + depth_filler = 3, + --node_stone = "", + --node_water_top = "", + --depth_water_top = , + --node_water = "", + --node_river_water = "", + --node_riverbed = "", + --depth_riverbed = , + y_min = shadow_limit, + y_max = floatland_level + 1, + heat_point = 50, + humidity_point = 35, + }) + -- Sandstone desert minetest.register_biome({ @@ -1245,16 +1291,16 @@ function default.register_floatland_biomes(floatland_level, shadow_limit) humidity_point = 0, }) - -- Floatland ocean / underground + -- Sandstone desert ocean minetest.register_biome({ - name = "floatland_ocean", + name = "floatland_sandstone_desert_ocean", --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", + node_stone = "default:sandstone", --node_water_top = "", --depth_water_top = , --node_water = "", @@ -1264,7 +1310,7 @@ function default.register_floatland_biomes(floatland_level, shadow_limit) y_min = shadow_limit, y_max = floatland_level + 1, heat_point = 50, - humidity_point = 50, + humidity_point = 0, }) end