1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

Floatland biomes: Add forest, tune beach height

This commit is contained in:
paramat 2018-02-25 20:19:41 +00:00 committed by paramat
parent 04a46d0671
commit 702070accb
2 changed files with 29 additions and 8 deletions

View File

@ -1476,13 +1476,33 @@ function default.register_floatland_biomes(floatland_level, shadow_limit)
--node_riverbed = "", --node_riverbed = "",
--depth_riverbed = , --depth_riverbed = ,
y_max = 31000, y_max = 31000,
y_min = floatland_level + 4, y_min = floatland_level + 2,
heat_point = 50, heat_point = 50,
humidity_point = 50, humidity_point = 25,
}) })
minetest.register_biome({ minetest.register_biome({
name = "floatland_grassland_ocean", name = "floatland_coniferous_forest",
--node_dust = "",
node_top = "default:dirt_with_coniferous_litter",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
--node_riverbed = "",
--depth_riverbed = ,
y_max = 31000,
y_min = floatland_level + 2,
heat_point = 50,
humidity_point = 75,
})
minetest.register_biome({
name = "floatland_ocean",
--node_dust = "", --node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
@ -1495,7 +1515,7 @@ function default.register_floatland_biomes(floatland_level, shadow_limit)
--node_river_water = "", --node_river_water = "",
--node_riverbed = "", --node_riverbed = "",
--depth_riverbed = , --depth_riverbed = ,
y_max = floatland_level + 3, y_max = floatland_level + 1,
y_min = shadow_limit, y_min = shadow_limit,
heat_point = 50, heat_point = 50,
humidity_point = 50, humidity_point = 50,
@ -1653,7 +1673,7 @@ local function register_fern_decoration(seed, length)
octaves = 3, octaves = 3,
persist = 0.7 persist = 0.7
}, },
biomes = {"coniferous_forest"}, biomes = {"coniferous_forest", "floatland_coniferous_forest"},
y_max = 31000, y_max = 31000,
y_min = 6, y_min = 6,
decoration = "default:fern_" .. length, decoration = "default:fern_" .. length,
@ -1775,7 +1795,7 @@ function default.register_decorations()
octaves = 3, octaves = 3,
persist = 0.66 persist = 0.66
}, },
biomes = {"taiga", "coniferous_forest"}, biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
y_max = 31000, y_max = 31000,
y_min = 2, y_min = 2,
schematic = minetest.get_modpath("default") .. "/schematics/pine_tree.mts", schematic = minetest.get_modpath("default") .. "/schematics/pine_tree.mts",
@ -1794,7 +1814,7 @@ function default.register_decorations()
octaves = 3, octaves = 3,
persist = 0.66 persist = 0.66
}, },
biomes = {"taiga", "coniferous_forest"}, biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
y_max = 31000, y_max = 31000,
y_min = 1, y_min = 1,
schematic = minetest.get_modpath("default") .. "/schematics/pine_log.mts", schematic = minetest.get_modpath("default") .. "/schematics/pine_log.mts",

View File

@ -114,7 +114,8 @@ local function register_mushroom(name)
octaves = 3, octaves = 3,
persist = 0.66 persist = 0.66
}, },
biomes = {"deciduous_forest", "coniferous_forest"}, biomes = {"deciduous_forest", "coniferous_forest",
"floatland_coniferous_forest"},
y_max = 31000, y_max = 31000,
y_min = 1, y_min = 1,
decoration = "flowers:"..name, decoration = "flowers:"..name,