Skip to content

Commit

Permalink
Default/mapgen: Tune biome points for improved disribution
Browse files Browse the repository at this point in the history
Bring humidity points closer to reduce distortion of voronoi cells
Slightly reduce size of hot and frozen biomes
Improve location of glacier biomes
Remove unnecessary snow nodeboxes from tundra to improve FPS
Add missing dirt_with_snow to taiga
  • Loading branch information
paramat committed Nov 8, 2015
1 parent 592ca34 commit 3d6f168
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions mods/default/mapgen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ function default.register_biomes()
node_river_water = "default:ice",
y_min = -8,
y_max = 31000,
heat_point = 5,
heat_point = 0,
humidity_point = 50,
})

Expand All @@ -353,15 +353,15 @@ function default.register_biomes()
--node_river_water = "",
y_min = -112,
y_max = -9,
heat_point = 5,
heat_point = 0,
humidity_point = 50,
})

-- Cold

minetest.register_biome({
name = "tundra",
node_dust = "default:snow",
--node_dust = "",
node_top = "default:dirt_with_snow",
depth_top = 1,
node_filler = "default:dirt",
Expand All @@ -374,7 +374,7 @@ function default.register_biomes()
y_min = 2,
y_max = 31000,
heat_point = 15,
humidity_point = 30,
humidity_point = 35,
})

minetest.register_biome({
Expand All @@ -392,17 +392,17 @@ function default.register_biomes()
y_min = -112,
y_max = 1,
heat_point = 15,
humidity_point = 30,
humidity_point = 35,
})


minetest.register_biome({
name = "taiga",
node_dust = "default:snow",
node_top = "default:snowblock",
node_top = "default:dirt_with_snow",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 4,
depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
Expand All @@ -411,7 +411,7 @@ function default.register_biomes()
y_min = 2,
y_max = 31000,
heat_point = 15,
humidity_point = 70,
humidity_point = 65,
})

minetest.register_biome({
Expand All @@ -429,7 +429,7 @@ function default.register_biomes()
y_min = -112,
y_max = 1,
heat_point = 15,
humidity_point = 70,
humidity_point = 65,
})

-- Temperate
Expand All @@ -448,8 +448,8 @@ function default.register_biomes()
--node_river_water = "",
y_min = 5,
y_max = 31000,
heat_point = 45,
humidity_point = 30,
heat_point = 40,
humidity_point = 35,
})

minetest.register_biome({
Expand All @@ -466,8 +466,8 @@ function default.register_biomes()
--node_river_water = "",
y_min = -112,
y_max = 4,
heat_point = 45,
humidity_point = 30,
heat_point = 40,
humidity_point = 35,
})


Expand All @@ -485,8 +485,8 @@ function default.register_biomes()
--node_river_water = "",
y_min = 5,
y_max = 31000,
heat_point = 45,
humidity_point = 70,
heat_point = 40,
humidity_point = 65,
})

minetest.register_biome({
Expand All @@ -503,8 +503,8 @@ function default.register_biomes()
--node_river_water = "",
y_min = -112,
y_max = 4,
heat_point = 45,
humidity_point = 70,
heat_point = 40,
humidity_point = 65,
})


Expand All @@ -522,8 +522,8 @@ function default.register_biomes()
--node_river_water = "",
y_min = 5,
y_max = 31000,
heat_point = 55,
humidity_point = 30,
heat_point = 60,
humidity_point = 35,
})

minetest.register_biome({
Expand All @@ -540,8 +540,8 @@ function default.register_biomes()
--node_river_water = "",
y_min = -112,
y_max = 4,
heat_point = 55,
humidity_point = 30,
heat_point = 60,
humidity_point = 35,
})


Expand All @@ -559,8 +559,8 @@ function default.register_biomes()
--node_river_water = "",
y_min = 1,
y_max = 31000,
heat_point = 55,
humidity_point = 70,
heat_point = 60,
humidity_point = 65,
})

minetest.register_biome({
Expand All @@ -577,8 +577,8 @@ function default.register_biomes()
--node_river_water = "",
y_min = -3,
y_max = 0,
heat_point = 55,
humidity_point = 70,
heat_point = 60,
humidity_point = 65,
})

minetest.register_biome({
Expand All @@ -595,8 +595,8 @@ function default.register_biomes()
--node_river_water = "",
y_min = -112,
y_max = -4,
heat_point = 55,
humidity_point = 70,
heat_point = 60,
humidity_point = 65,
})

-- Hot
Expand All @@ -616,7 +616,7 @@ function default.register_biomes()
y_min = 5,
y_max = 31000,
heat_point = 85,
humidity_point = 10,
humidity_point = 20,
})

minetest.register_biome({
Expand All @@ -634,7 +634,7 @@ function default.register_biomes()
y_min = -112,
y_max = 4,
heat_point = 85,
humidity_point = 10,
humidity_point = 20,
})


Expand Down Expand Up @@ -708,7 +708,7 @@ function default.register_biomes()
y_min = 1,
y_max = 31000,
heat_point = 85,
humidity_point = 90,
humidity_point = 80,
})

minetest.register_biome({
Expand All @@ -726,7 +726,7 @@ function default.register_biomes()
y_min = -3,
y_max = 0,
heat_point = 85,
humidity_point = 90,
humidity_point = 80,
})

minetest.register_biome({
Expand All @@ -744,7 +744,7 @@ function default.register_biomes()
y_min = -112,
y_max = -4,
heat_point = 85,
humidity_point = 90,
humidity_point = 80,
})

-- Underground
Expand Down

0 comments on commit 3d6f168

Please sign in to comment.