Mgv5/7 biomes: Add more shallow dirt waters

Dirt waters are more suitable for waterlilies
Add dedicated dunes biome in coniferous forest
Papyrus: use dirt base again
Force-place roots on mapgen tree schematics
Tune some humidity points to improve voronoi cells
Add random rotation to jungle trees
This commit is contained in:
paramat 2015-09-28 03:14:44 +01:00
parent ac810dbf9d
commit 2119054a95
6 changed files with 110 additions and 60 deletions

View File

@ -374,7 +374,7 @@ function default.register_biomes()
y_min = 2,
y_max = 31000,
heat_point = 20,
humidity_point = 30,
humidity_point = 25,
})
minetest.register_biome({
@ -392,9 +392,10 @@ function default.register_biomes()
y_min = -112,
y_max = 1,
heat_point = 20,
humidity_point = 30,
humidity_point = 25,
})
minetest.register_biome({
name = "taiga",
node_dust = "default:snow",
@ -410,7 +411,7 @@ function default.register_biomes()
y_min = 2,
y_max = 31000,
heat_point = 20,
humidity_point = 70,
humidity_point = 75,
})
minetest.register_biome({
@ -428,10 +429,10 @@ function default.register_biomes()
y_min = -112,
y_max = 1,
heat_point = 20,
humidity_point = 70,
humidity_point = 75,
})
-- Cool
-- Temperate
minetest.register_biome({
name = "stone_grassland",
@ -445,10 +446,10 @@ function default.register_biomes()
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 6,
y_min = 5,
y_max = 31000,
heat_point = 45,
humidity_point = 30,
humidity_point = 25,
})
minetest.register_biome({
@ -464,11 +465,12 @@ function default.register_biomes()
--node_water = "",
--node_river_water = "",
y_min = -112,
y_max = 5,
y_max = 4,
heat_point = 45,
humidity_point = 30,
humidity_point = 25,
})
minetest.register_biome({
name = "coniferous_forest",
--node_dust = "",
@ -481,10 +483,28 @@ function default.register_biomes()
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 6,
y_min = 9,
y_max = 31000,
heat_point = 45,
humidity_point = 70,
humidity_point = 75,
})
minetest.register_biome({
name = "coniferous_forest_dunes",
--node_dust = "",
node_top = "default:sand",
depth_top = 1,
node_filler = "default:sand",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 5,
y_max = 8,
heat_point = 45,
humidity_point = 75,
})
minetest.register_biome({
@ -500,12 +520,11 @@ function default.register_biomes()
--node_water = "",
--node_river_water = "",
y_min = -112,
y_max = 5,
y_max = 4,
heat_point = 45,
humidity_point = 70,
humidity_point = 75,
})
-- Warm
minetest.register_biome({
name = "sandstone_grassland",
@ -519,10 +538,10 @@ function default.register_biomes()
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 6,
y_min = 5,
y_max = 31000,
heat_point = 70,
humidity_point = 30,
humidity_point = 25,
})
minetest.register_biome({
@ -538,11 +557,12 @@ function default.register_biomes()
--node_water = "",
--node_river_water = "",
y_min = -112,
y_max = 5,
y_max = 4,
heat_point = 70,
humidity_point = 30,
humidity_point = 25,
})
minetest.register_biome({
name = "deciduous_forest",
--node_dust = "",
@ -555,10 +575,28 @@ function default.register_biomes()
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 6,
y_min = 1,
y_max = 31000,
heat_point = 70,
humidity_point = 70,
humidity_point = 75,
})
minetest.register_biome({
name = "deciduous_forest_swamp",
--node_dust = "",
node_top = "default:dirt",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = -3,
y_max = 0,
heat_point = 70,
humidity_point = 75,
})
minetest.register_biome({
@ -574,9 +612,9 @@ function default.register_biomes()
--node_water = "",
--node_river_water = "",
y_min = -112,
y_max = 5,
y_max = -4,
heat_point = 70,
humidity_point = 70,
humidity_point = 75,
})
-- Hot
@ -617,6 +655,7 @@ function default.register_biomes()
humidity_point = 10,
})
minetest.register_biome({
name = "savanna",
--node_dust = "",
@ -629,12 +668,30 @@ function default.register_biomes()
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 5,
y_min = 1,
y_max = 31000,
heat_point = 95,
humidity_point = 50,
})
minetest.register_biome({
name = "savanna_swamp",
--node_dust = "",
node_top = "default:dirt",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = -3,
y_max = 0,
heat_point = 95,
humidity_point = 50,
})
minetest.register_biome({
name = "savanna_ocean",
--node_dust = "",
@ -648,11 +705,12 @@ function default.register_biomes()
--node_water = "",
--node_river_water = "",
y_min = -112,
y_max = 4,
y_max = -4,
heat_point = 95,
humidity_point = 50,
})
minetest.register_biome({
name = "rainforest",
--node_dust = "",
@ -683,7 +741,7 @@ function default.register_biomes()
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
y_min = 0,
y_min = -3,
y_max = 0,
heat_point = 95,
humidity_point = 90,
@ -702,7 +760,7 @@ function default.register_biomes()
--node_water = "",
--node_river_water = "",
y_min = -112,
y_max = -1,
y_max = -4,
heat_point = 95,
humidity_point = 90,
})
@ -713,9 +771,9 @@ function default.register_biomes()
name = "underground",
--node_dust = "",
--node_top = "",
depth_top = 0,
--depth_top = ,
--node_filler = "",
depth_filler = -4,
--depth_filler = ,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
@ -838,13 +896,9 @@ local function register_grass_decoration(offset, scale, length)
octaves = 3,
persist = 0.6
},
biomes = {
"stone_grassland", "stone_grassland_ocean",
"sandstone_grassland", "sandstone_grassland_ocean",
"deciduous_forest", "deciduous_forest_ocean",
"coniferous_forest", "coniferous_forest_ocean",
},
y_min = 5,
biomes = {"stone_grassland", "sandstone_grassland",
"deciduous_forest", "coniferous_forest", "coniferous_forest_dunes"},
y_min = 1,
y_max = 31000,
decoration = "default:grass_"..length,
})
@ -864,7 +918,7 @@ local function register_dry_grass_decoration(offset, scale, length)
persist = 0.6
},
biomes = {"savanna"},
y_min = 5,
y_min = 1,
y_max = 31000,
decoration = "default:dry_grass_"..length,
})
@ -888,7 +942,7 @@ function default.register_decorations()
persist = 0.66
},
biomes = {"deciduous_forest"},
y_min = 6,
y_min = 1,
y_max = 31000,
schematic = minetest.get_modpath("default").."/schematics/apple_tree.mts",
flags = "place_center_x, place_center_z",
@ -906,6 +960,7 @@ function default.register_decorations()
y_max = 31000,
schematic = minetest.get_modpath("default").."/schematics/jungle_tree.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
-- Taiga and temperate forest pine tree
@ -944,7 +999,7 @@ function default.register_decorations()
persist = 0.66
},
biomes = {"savanna"},
y_min = 6,
y_min = 1,
y_max = 31000,
schematic = minetest.get_modpath("default").."/schematics/acacia_tree.mts",
flags = "place_center_x, place_center_z",
@ -999,7 +1054,7 @@ function default.register_decorations()
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:sand"},
place_on = {"default:dirt", "default:sand"},
sidelen = 16,
noise_params = {
offset = -0.3,
@ -1009,7 +1064,7 @@ function default.register_decorations()
octaves = 3,
persist = 0.7
},
biomes = {"savanna_ocean", "desert_ocean"},
biomes = {"savanna_swamp", "desert_ocean"},
y_min = 0,
y_max = 0,
schematic = minetest.get_modpath("default").."/schematics/papyrus.mts",

Binary file not shown.

View File

@ -94,13 +94,9 @@ local function register_flower(seed, name)
octaves = 3,
persist = 0.6
},
biomes = {
"stone_grassland",
"sandstone_grassland",
"deciduous_forest",
"coniferous_forest",
},
y_min = 6,
biomes = {"stone_grassland", "sandstone_grassland",
"deciduous_forest", "coniferous_forest"},
y_min = 1,
y_max = 31000,
decoration = "flowers:"..name,
})
@ -120,7 +116,7 @@ local function register_mushroom(name)
persist = 0.66
},
biomes = {"deciduous_forest", "coniferous_forest"},
y_min = 6,
y_min = 1,
y_max = 31000,
decoration = "flowers:"..name,
})
@ -129,7 +125,7 @@ end
local function register_waterlily()
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt", "default:sand"},
place_on = {"default:dirt"},
sidelen = 16,
noise_params = {
offset = -0.12,
@ -139,8 +135,7 @@ local function register_waterlily()
octaves = 3,
persist = 0.7
},
biomes = {"deciduous_forest_ocean", "sandstone_grassland_ocean",
"rainforest_swamp", "savanna_ocean", "desert_ocean"},
biomes = {"rainforest_swamp", "savanna_swamp", "deciduous_forest_swamp"},
y_min = 0,
y_max = 0,
schematic = minetest.get_modpath("flowers").."/schematics/waterlily.mts",