From b52ea3de159a135bad608360ce8d68c57bf64ce7 Mon Sep 17 00:00:00 2001 From: Ezhh Date: Mon, 30 Apr 2018 22:14:23 +0100 Subject: [PATCH] Remove commented lines from biome definitions --- mods/default/mapgen.lua | 203 ---------------------------------------- 1 file changed, 203 deletions(-) diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index 7f0fbd88..c84e2076 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -921,7 +921,6 @@ function default.register_biomes(upper_limit) node_stone = "default:cave_ice", node_water_top = "default:ice", depth_water_top = 10, - --node_water = "", node_river_water = "default:ice", node_riverbed = "default:gravel", depth_riverbed = 2, @@ -938,11 +937,8 @@ function default.register_biomes(upper_limit) depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", node_water_top = "default:ice", depth_water_top = 10, - --node_water = "", - --node_river_water = "", y_max = -9, y_min = -112, heat_point = 0, @@ -954,15 +950,6 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "tundra", node_dust = "default:snowblock", - --node_top = , - --depth_top = , - --node_filler = , - --depth_filler = , - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:gravel", depth_riverbed = 2, y_max = upper_limit, @@ -973,16 +960,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "tundra_beach", - --node_dust = "", node_top = "default:gravel", depth_top = 1, node_filler = "default:gravel", depth_filler = 2, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:gravel", depth_riverbed = 2, y_max = 1, @@ -993,16 +974,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "tundra_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:gravel", depth_riverbed = 2, y_max = -4, @@ -1020,11 +995,6 @@ function default.register_biomes(upper_limit) depth_top = 1, node_filler = "default:dirt", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1035,16 +1005,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "taiga_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 1, @@ -1062,11 +1026,6 @@ function default.register_biomes(upper_limit) depth_top = 1, node_filler = "default:dirt", depth_filler = 1, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1077,16 +1036,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "snowy_grassland_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 4, @@ -1099,16 +1052,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "grassland", - --node_dust = "", node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 1, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1119,16 +1066,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "grassland_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 = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 5, @@ -1139,16 +1080,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "grassland_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 3, @@ -1161,16 +1096,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "coniferous_forest", - --node_dust = "", node_top = "default:dirt_with_coniferous_litter", depth_top = 1, node_filler = "default:dirt", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1181,16 +1110,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "coniferous_forest_dunes", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 5, @@ -1201,16 +1124,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "coniferous_forest_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 3, @@ -1223,16 +1140,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "deciduous_forest", - --node_dust = "", node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1243,16 +1154,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "deciduous_forest_shore", - --node_dust = "", node_top = "default:dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 0, @@ -1263,16 +1168,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "deciduous_forest_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = -2, @@ -1285,16 +1184,11 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "desert", - --node_dust = "", node_top = "default:desert_sand", depth_top = 1, node_filler = "default:desert_sand", depth_filler = 1, node_stone = "default:desert_stone", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1305,16 +1199,11 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "desert_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, node_stone = "default:desert_stone", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 4, @@ -1327,16 +1216,11 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "sandstone_desert", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 1, node_stone = "default:sandstone", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1347,16 +1231,11 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "sandstone_desert_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, node_stone = "default:sandstone", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 4, @@ -1369,16 +1248,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "cold_desert", - --node_dust = "", node_top = "default:silver_sand", depth_top = 1, node_filler = "default:silver_sand", depth_filler = 1, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1389,16 +1262,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "cold_desert_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 4, @@ -1411,16 +1278,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "savanna", - --node_dust = "", node_top = "default:dirt_with_dry_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 1, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1431,16 +1292,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "savanna_shore", - --node_dust = "", node_top = "default:dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 0, @@ -1451,16 +1306,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "savanna_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = -2, @@ -1473,16 +1322,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "rainforest", - --node_dust = "", node_top = "default:dirt_with_rainforest_litter", depth_top = 1, node_filler = "default:dirt", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = upper_limit, @@ -1493,16 +1336,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "rainforest_swamp", - --node_dust = "", node_top = "default:dirt", depth_top = 1, node_filler = "default:dirt", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = 0, @@ -1513,16 +1350,10 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "rainforest_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", node_riverbed = "default:sand", depth_riverbed = 2, y_max = -2, @@ -1535,16 +1366,6 @@ function default.register_biomes(upper_limit) minetest.register_biome({ name = "underground", - --node_dust = "", - --node_top = "", - --depth_top = , - --node_filler = "", - --depth_filler = , - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", y_max = -113, y_min = -31000, heat_point = 50, @@ -1561,18 +1382,10 @@ function default.register_floatland_biomes(floatland_level, shadow_limit) minetest.register_biome({ name = "floatland_grassland", - --node_dust = "", node_top = "default:dirt_with_grass", depth_top = 1, node_filler = "default:dirt", depth_filler = 1, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", - --node_riverbed = "", - --depth_riverbed = , y_max = 31000, y_min = floatland_level + 2, heat_point = 50, @@ -1581,18 +1394,10 @@ function default.register_floatland_biomes(floatland_level, shadow_limit) minetest.register_biome({ name = "floatland_coniferous_forest", - --node_dust = "", node_top = "default:dirt_with_coniferous_litter", depth_top = 1, node_filler = "default:dirt", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", - --node_riverbed = "", - --depth_riverbed = , y_max = 31000, y_min = floatland_level + 2, heat_point = 50, @@ -1601,18 +1406,10 @@ function default.register_floatland_biomes(floatland_level, shadow_limit) minetest.register_biome({ name = "floatland_ocean", - --node_dust = "", node_top = "default:sand", depth_top = 1, node_filler = "default:sand", depth_filler = 3, - --node_stone = "", - --node_water_top = "", - --depth_water_top = , - --node_water = "", - --node_river_water = "", - --node_riverbed = "", - --depth_riverbed = , y_max = floatland_level + 1, y_min = shadow_limit, heat_point = 50, -- 2.25.1