forked from minetest/minetest_game
Biomes: Add vertical biome blends (#2120)
Alter a few biome y-limits for consistency.
This commit is contained in:
parent
3d709dfa1d
commit
64470dc786
@ -953,7 +953,7 @@ function default.register_biomes(upper_limit)
|
|||||||
node_riverbed = "default:gravel",
|
node_riverbed = "default:gravel",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = upper_limit,
|
y_max = upper_limit,
|
||||||
y_min = 49,
|
y_min = 47,
|
||||||
heat_point = 0,
|
heat_point = 0,
|
||||||
humidity_point = 40,
|
humidity_point = 40,
|
||||||
})
|
})
|
||||||
@ -966,7 +966,8 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 1,
|
depth_filler = 1,
|
||||||
node_riverbed = "default:gravel",
|
node_riverbed = "default:gravel",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = 48,
|
vertical_blend = 4,
|
||||||
|
y_max = 46,
|
||||||
y_min = 2,
|
y_min = 2,
|
||||||
heat_point = 0,
|
heat_point = 0,
|
||||||
humidity_point = 40,
|
humidity_point = 40,
|
||||||
@ -980,6 +981,7 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 2,
|
depth_filler = 2,
|
||||||
node_riverbed = "default:gravel",
|
node_riverbed = "default:gravel",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
|
vertical_blend = 1,
|
||||||
y_max = 1,
|
y_max = 1,
|
||||||
y_min = -3,
|
y_min = -3,
|
||||||
heat_point = 0,
|
heat_point = 0,
|
||||||
@ -994,6 +996,7 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 3,
|
depth_filler = 3,
|
||||||
node_riverbed = "default:gravel",
|
node_riverbed = "default:gravel",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
|
vertical_blend = 1,
|
||||||
y_max = -4,
|
y_max = -4,
|
||||||
y_min = -112,
|
y_min = -112,
|
||||||
heat_point = 0,
|
heat_point = 0,
|
||||||
@ -1012,7 +1015,7 @@ function default.register_biomes(upper_limit)
|
|||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = upper_limit,
|
y_max = upper_limit,
|
||||||
y_min = 2,
|
y_min = 4,
|
||||||
heat_point = 25,
|
heat_point = 25,
|
||||||
humidity_point = 70,
|
humidity_point = 70,
|
||||||
})
|
})
|
||||||
@ -1025,7 +1028,8 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 3,
|
depth_filler = 3,
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = 1,
|
vertical_blend = 1,
|
||||||
|
y_max = 3,
|
||||||
y_min = -112,
|
y_min = -112,
|
||||||
heat_point = 25,
|
heat_point = 25,
|
||||||
humidity_point = 70,
|
humidity_point = 70,
|
||||||
@ -1043,7 +1047,7 @@ function default.register_biomes(upper_limit)
|
|||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = upper_limit,
|
y_max = upper_limit,
|
||||||
y_min = 5,
|
y_min = 4,
|
||||||
heat_point = 20,
|
heat_point = 20,
|
||||||
humidity_point = 35,
|
humidity_point = 35,
|
||||||
})
|
})
|
||||||
@ -1056,7 +1060,8 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 3,
|
depth_filler = 3,
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = 4,
|
vertical_blend = 1,
|
||||||
|
y_max = 3,
|
||||||
y_min = -112,
|
y_min = -112,
|
||||||
heat_point = 20,
|
heat_point = 20,
|
||||||
humidity_point = 35,
|
humidity_point = 35,
|
||||||
@ -1086,6 +1091,7 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 2,
|
depth_filler = 2,
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
|
vertical_blend = 1,
|
||||||
y_max = 5,
|
y_max = 5,
|
||||||
y_min = 4,
|
y_min = 4,
|
||||||
heat_point = 50,
|
heat_point = 50,
|
||||||
@ -1130,6 +1136,7 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 3,
|
depth_filler = 3,
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
|
vertical_blend = 1,
|
||||||
y_max = 5,
|
y_max = 5,
|
||||||
y_min = 4,
|
y_min = 4,
|
||||||
heat_point = 45,
|
heat_point = 45,
|
||||||
@ -1188,6 +1195,7 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 3,
|
depth_filler = 3,
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
|
vertical_blend = 1,
|
||||||
y_max = -2,
|
y_max = -2,
|
||||||
y_min = -112,
|
y_min = -112,
|
||||||
heat_point = 60,
|
heat_point = 60,
|
||||||
@ -1206,7 +1214,7 @@ function default.register_biomes(upper_limit)
|
|||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = upper_limit,
|
y_max = upper_limit,
|
||||||
y_min = 5,
|
y_min = 4,
|
||||||
heat_point = 92,
|
heat_point = 92,
|
||||||
humidity_point = 16,
|
humidity_point = 16,
|
||||||
})
|
})
|
||||||
@ -1220,7 +1228,8 @@ function default.register_biomes(upper_limit)
|
|||||||
node_stone = "default:desert_stone",
|
node_stone = "default:desert_stone",
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = 4,
|
vertical_blend = 1,
|
||||||
|
y_max = 3,
|
||||||
y_min = -112,
|
y_min = -112,
|
||||||
heat_point = 92,
|
heat_point = 92,
|
||||||
humidity_point = 16,
|
humidity_point = 16,
|
||||||
@ -1238,7 +1247,7 @@ function default.register_biomes(upper_limit)
|
|||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = upper_limit,
|
y_max = upper_limit,
|
||||||
y_min = 5,
|
y_min = 4,
|
||||||
heat_point = 60,
|
heat_point = 60,
|
||||||
humidity_point = 0,
|
humidity_point = 0,
|
||||||
})
|
})
|
||||||
@ -1252,7 +1261,7 @@ function default.register_biomes(upper_limit)
|
|||||||
node_stone = "default:sandstone",
|
node_stone = "default:sandstone",
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = 4,
|
y_max = 3,
|
||||||
y_min = -112,
|
y_min = -112,
|
||||||
heat_point = 60,
|
heat_point = 60,
|
||||||
humidity_point = 0,
|
humidity_point = 0,
|
||||||
@ -1269,7 +1278,7 @@ function default.register_biomes(upper_limit)
|
|||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = upper_limit,
|
y_max = upper_limit,
|
||||||
y_min = 5,
|
y_min = 4,
|
||||||
heat_point = 40,
|
heat_point = 40,
|
||||||
humidity_point = 0,
|
humidity_point = 0,
|
||||||
})
|
})
|
||||||
@ -1282,7 +1291,8 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 3,
|
depth_filler = 3,
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
y_max = 4,
|
vertical_blend = 1,
|
||||||
|
y_max = 3,
|
||||||
y_min = -112,
|
y_min = -112,
|
||||||
heat_point = 40,
|
heat_point = 40,
|
||||||
humidity_point = 0,
|
humidity_point = 0,
|
||||||
@ -1326,6 +1336,7 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 3,
|
depth_filler = 3,
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
|
vertical_blend = 1,
|
||||||
y_max = -2,
|
y_max = -2,
|
||||||
y_min = -112,
|
y_min = -112,
|
||||||
heat_point = 89,
|
heat_point = 89,
|
||||||
@ -1370,6 +1381,7 @@ function default.register_biomes(upper_limit)
|
|||||||
depth_filler = 3,
|
depth_filler = 3,
|
||||||
node_riverbed = "default:sand",
|
node_riverbed = "default:sand",
|
||||||
depth_riverbed = 2,
|
depth_riverbed = 2,
|
||||||
|
vertical_blend = 1,
|
||||||
y_max = -2,
|
y_max = -2,
|
||||||
y_min = -112,
|
y_min = -112,
|
||||||
heat_point = 86,
|
heat_point = 86,
|
||||||
@ -1719,7 +1731,7 @@ function default.register_decorations()
|
|||||||
},
|
},
|
||||||
biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
|
biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
y_min = 2,
|
y_min = 4,
|
||||||
schematic = minetest.get_modpath("default") .. "/schematics/pine_tree.mts",
|
schematic = minetest.get_modpath("default") .. "/schematics/pine_tree.mts",
|
||||||
flags = "place_center_x, place_center_z",
|
flags = "place_center_x, place_center_z",
|
||||||
})
|
})
|
||||||
@ -1739,7 +1751,7 @@ function default.register_decorations()
|
|||||||
},
|
},
|
||||||
biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
|
biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
y_min = 2,
|
y_min = 4,
|
||||||
schematic = minetest.get_modpath("default") .. "/schematics/small_pine_tree.mts",
|
schematic = minetest.get_modpath("default") .. "/schematics/small_pine_tree.mts",
|
||||||
flags = "place_center_x, place_center_z",
|
flags = "place_center_x, place_center_z",
|
||||||
})
|
})
|
||||||
@ -1752,7 +1764,7 @@ function default.register_decorations()
|
|||||||
fill_ratio = 0.0018,
|
fill_ratio = 0.0018,
|
||||||
biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
|
biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
y_min = 1,
|
y_min = 4,
|
||||||
schematic = minetest.get_modpath("default") .. "/schematics/pine_log.mts",
|
schematic = minetest.get_modpath("default") .. "/schematics/pine_log.mts",
|
||||||
flags = "place_center_x",
|
flags = "place_center_x",
|
||||||
rotation = "random",
|
rotation = "random",
|
||||||
@ -1862,7 +1874,7 @@ function default.register_decorations()
|
|||||||
},
|
},
|
||||||
biomes = {"desert"},
|
biomes = {"desert"},
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
y_min = 5,
|
y_min = 4,
|
||||||
schematic = minetest.get_modpath("default") .. "/schematics/large_cactus.mts",
|
schematic = minetest.get_modpath("default") .. "/schematics/large_cactus.mts",
|
||||||
flags = "place_center_x",
|
flags = "place_center_x",
|
||||||
rotation = "random",
|
rotation = "random",
|
||||||
@ -1885,7 +1897,7 @@ function default.register_decorations()
|
|||||||
},
|
},
|
||||||
biomes = {"desert"},
|
biomes = {"desert"},
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
y_min = 5,
|
y_min = 4,
|
||||||
decoration = "default:cactus",
|
decoration = "default:cactus",
|
||||||
height = 2,
|
height = 2,
|
||||||
height_max = 5,
|
height_max = 5,
|
||||||
@ -2033,7 +2045,7 @@ function default.register_decorations()
|
|||||||
flags = "absvalue"
|
flags = "absvalue"
|
||||||
},
|
},
|
||||||
biomes = {"coniferous_forest_dunes", "grassland_dunes"},
|
biomes = {"coniferous_forest_dunes", "grassland_dunes"},
|
||||||
y_max = 5,
|
y_max = 6,
|
||||||
y_min = 4,
|
y_min = 4,
|
||||||
decoration = {
|
decoration = {
|
||||||
"default:marram_grass_1",
|
"default:marram_grass_1",
|
||||||
@ -2057,7 +2069,7 @@ function default.register_decorations()
|
|||||||
persist = 1.0
|
persist = 1.0
|
||||||
},
|
},
|
||||||
biomes = {"tundra"},
|
biomes = {"tundra"},
|
||||||
y_max = 48,
|
y_max = 50,
|
||||||
y_min = 2,
|
y_min = 2,
|
||||||
decoration = "default:permafrost_with_moss",
|
decoration = "default:permafrost_with_moss",
|
||||||
place_offset_y = -1,
|
place_offset_y = -1,
|
||||||
@ -2083,7 +2095,7 @@ function default.register_decorations()
|
|||||||
persist = 1.0
|
persist = 1.0
|
||||||
},
|
},
|
||||||
biomes = {"tundra"},
|
biomes = {"tundra"},
|
||||||
y_max = 48,
|
y_max = 50,
|
||||||
y_min = 2,
|
y_min = 2,
|
||||||
decoration = "default:snow",
|
decoration = "default:snow",
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user