aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/mapgen/init.lua
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2020-05-26 23:11:33 +0100
committerGitHub <noreply@github.com>2020-05-26 23:11:33 +0100
commitba553e22e4d93bb094891d7296c3a32cf3340bd7 (patch)
treed70809011ecec095da8f7b48ffbc174e75af07ec /games/devtest/mods/mapgen/init.lua
parent871392481120759188ff9655cbd7ae6d05992db5 (diff)
downloadminetest-ba553e22e4d93bb094891d7296c3a32cf3340bd7.tar.gz
minetest-ba553e22e4d93bb094891d7296c3a32cf3340bd7.tar.bz2
minetest-ba553e22e4d93bb094891d7296c3a32cf3340bd7.zip
Devtest game: Update biome registrations (#9936)
Diffstat (limited to 'games/devtest/mods/mapgen/init.lua')
-rw-r--r--games/devtest/mods/mapgen/init.lua29
1 files changed, 26 insertions, 3 deletions
diff --git a/games/devtest/mods/mapgen/init.lua b/games/devtest/mods/mapgen/init.lua
index 13a186a50..a5f9128fb 100644
--- a/games/devtest/mods/mapgen/init.lua
+++ b/games/devtest/mods/mapgen/init.lua
@@ -61,8 +61,13 @@ if minetest.settings:get_bool("devtest_register_biomes", true) then
depth_top = 1,
node_filler = "basenodes:dirt",
depth_filler = 1,
- y_min = 5,
+ node_riverbed = "basenodes:sand",
+ depth_riverbed = 2,
+ node_dungeon = "basenodes:cobble",
+ node_dungeon_alt = "basenodes:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = 31000,
+ y_min = 4,
heat_point = 50,
humidity_point = 50,
})
@@ -72,9 +77,27 @@ if minetest.settings:get_bool("devtest_register_biomes", true) then
node_top = "basenodes:sand",
depth_top = 1,
node_filler = "basenodes:sand",
- depth_filler = 2,
+ depth_filler = 3,
+ node_riverbed = "basenodes:sand",
+ depth_riverbed = 2,
+ node_cave_liquid = "basenodes:water_source",
+ node_dungeon = "basenodes:cobble",
+ node_dungeon_alt = "basenodes:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
+ y_max = 3,
+ y_min = -255,
+ heat_point = 50,
+ humidity_point = 50,
+ })
+
+ minetest.register_biome({
+ name = "mapgen:grassland_under",
+ node_cave_liquid = {"basenodes:water_source", "basenodes:lava_source"},
+ node_dungeon = "basenodes:cobble",
+ node_dungeon_alt = "basenodes:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
+ y_max = -256,
y_min = -31000,
- y_max = 4,
heat_point = 50,
humidity_point = 50,
})