-- Aliases for map generators
--
+-- All mapgens
+
minetest.register_alias("mapgen_stone", "default:stone")
-minetest.register_alias("mapgen_dirt", "default:dirt")
-minetest.register_alias("mapgen_dirt_with_grass", "default:dirt_with_grass")
-minetest.register_alias("mapgen_sand", "default:sand")
minetest.register_alias("mapgen_water_source", "default:water_source")
minetest.register_alias("mapgen_river_water_source", "default:river_water_source")
+
+-- Additional aliases needed for mapgen v6
+
minetest.register_alias("mapgen_lava_source", "default:lava_source")
+minetest.register_alias("mapgen_dirt", "default:dirt")
+minetest.register_alias("mapgen_dirt_with_grass", "default:dirt_with_grass")
+minetest.register_alias("mapgen_sand", "default:sand")
minetest.register_alias("mapgen_gravel", "default:gravel")
minetest.register_alias("mapgen_desert_stone", "default:desert_stone")
minetest.register_alias("mapgen_desert_sand", "default:desert_sand")
minetest.register_alias("mapgen_snowblock", "default:snowblock")
minetest.register_alias("mapgen_snow", "default:snow")
minetest.register_alias("mapgen_ice", "default:ice")
-minetest.register_alias("mapgen_sandstone", "default:sandstone")
-
--- Flora
minetest.register_alias("mapgen_tree", "default:tree")
minetest.register_alias("mapgen_leaves", "default:leaves")
minetest.register_alias("mapgen_pine_tree", "default:pine_tree")
minetest.register_alias("mapgen_pine_needles", "default:pine_needles")
--- Dungeons
-
minetest.register_alias("mapgen_cobble", "default:cobble")
minetest.register_alias("mapgen_stair_cobble", "stairs:stair_cobble")
minetest.register_alias("mapgen_mossycobble", "default:mossycobble")
minetest.register_alias("mapgen_stair_desert_stone", "stairs:stair_desert_stone")
minetest.register_alias("mapgen_sandstonebrick", "default:sandstonebrick")
-minetest.register_alias("mapgen_stair_sandstone_block", "stairs:stair_sandstone_block")
--
node_river_water = "default:ice",
node_riverbed = "default:gravel",
depth_riverbed = 2,
+ node_dungeon = "default:ice",
+ node_dungeon_stair = "stairs:stair_ice",
y_max = upper_limit,
y_min = -8,
heat_point = 0,
node_water_top = "default:ice",
depth_water_top = 10,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -9,
y_min = -255,
heat_point = 0,
minetest.register_biome({
name = "icesheet_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 0,
node_dust = "default:snow",
node_riverbed = "default:gravel",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = upper_limit,
y_min = 47,
heat_point = 0,
depth_filler = 1,
node_riverbed = "default:gravel",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 4,
y_max = 46,
y_min = 2,
depth_filler = 2,
node_riverbed = "default:gravel",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = 1,
y_min = -3,
node_riverbed = "default:gravel",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = -4,
y_min = -255,
minetest.register_biome({
name = "tundra_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 0,
depth_filler = 3,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = upper_limit,
y_min = 4,
heat_point = 25,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = 3,
y_min = -255,
minetest.register_biome({
name = "taiga_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 25,
depth_filler = 1,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = upper_limit,
y_min = 4,
heat_point = 20,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = 3,
y_min = -255,
minetest.register_biome({
name = "snowy_grassland_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 20,
depth_filler = 1,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = upper_limit,
y_min = 6,
heat_point = 50,
depth_filler = 2,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = 5,
y_min = 4,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = 3,
y_min = -255,
heat_point = 50,
minetest.register_biome({
name = "grassland_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 50,
depth_filler = 3,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = upper_limit,
y_min = 6,
heat_point = 45,
depth_filler = 3,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = 5,
y_min = 4,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = 3,
y_min = -255,
heat_point = 45,
minetest.register_biome({
name = "coniferous_forest_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 45,
depth_filler = 3,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = upper_limit,
y_min = 1,
heat_point = 60,
depth_filler = 3,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = 0,
y_min = -1,
heat_point = 60,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = -2,
y_min = -255,
minetest.register_biome({
name = "deciduous_forest_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 60,
node_stone = "default:desert_stone",
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:desert_stone",
+ node_dungeon_stair = "stairs:stair_desert_stone",
y_max = upper_limit,
y_min = 4,
heat_point = 92,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:desert_stone",
+ node_dungeon_stair = "stairs:stair_desert_stone",
vertical_blend = 1,
y_max = 3,
y_min = -255,
minetest.register_biome({
name = "desert_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 92,
node_stone = "default:sandstone",
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:sandstonebrick",
+ node_dungeon_stair = "stairs:stair_sandstone_block",
y_max = upper_limit,
y_min = 4,
heat_point = 60,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:sandstonebrick",
+ node_dungeon_stair = "stairs:stair_sandstone_block",
y_max = 3,
y_min = -255,
heat_point = 60,
minetest.register_biome({
name = "sandstone_desert_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 60,
depth_filler = 1,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = upper_limit,
y_min = 4,
heat_point = 40,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = 3,
y_min = -255,
minetest.register_biome({
name = "cold_desert_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 40,
depth_filler = 1,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = upper_limit,
y_min = 1,
heat_point = 89,
depth_filler = 3,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = 0,
y_min = -1,
heat_point = 89,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = -2,
y_min = -255,
minetest.register_biome({
name = "savanna_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 89,
depth_filler = 3,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = upper_limit,
y_min = 1,
heat_point = 86,
depth_filler = 3,
node_riverbed = "default:sand",
depth_riverbed = 2,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = 0,
y_min = -1,
heat_point = 86,
node_riverbed = "default:sand",
depth_riverbed = 2,
node_cave_liquid = "default:water_source",
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
vertical_blend = 1,
y_max = -2,
y_min = -255,
minetest.register_biome({
name = "rainforest_under",
node_cave_liquid = {"default:water_source", "default:lava_source"},
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = -256,
y_min = -31000,
heat_point = 86,
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 1,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = 31000,
y_min = floatland_level + 2,
heat_point = 50,
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = 31000,
y_min = floatland_level + 2,
heat_point = 50,
depth_top = 1,
node_filler = "default:sand",
depth_filler = 3,
+ node_dungeon = "default:cobble",
+ node_dungeon_alt = "default:mossycobble",
+ node_dungeon_stair = "stairs:stair_cobble",
y_max = floatland_level + 1,
y_min = shadow_limit,
heat_point = 50,