Skip to content

Commit

Permalink
Devtest game: Update biome registrations (#9936)
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat committed May 26, 2020
1 parent 8713924 commit ba553e2
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions games/devtest/mods/mapgen/init.lua
Expand Up @@ -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,
})
Expand All @@ -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,
})
Expand Down

0 comments on commit ba553e2

Please sign in to comment.