Remove commented lines from biome definitions

This commit is contained in:
Ezhh 2018-04-30 22:14:23 +01:00 committed by GitHub
parent aedd209440
commit b52ea3de15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -921,7 +921,6 @@ function default.register_biomes(upper_limit)
node_stone = "default:cave_ice", node_stone = "default:cave_ice",
node_water_top = "default:ice", node_water_top = "default:ice",
depth_water_top = 10, depth_water_top = 10,
--node_water = "",
node_river_water = "default:ice", node_river_water = "default:ice",
node_riverbed = "default:gravel", node_riverbed = "default:gravel",
depth_riverbed = 2, depth_riverbed = 2,
@ -938,11 +937,8 @@ function default.register_biomes(upper_limit)
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
node_water_top = "default:ice", node_water_top = "default:ice",
depth_water_top = 10, depth_water_top = 10,
--node_water = "",
--node_river_water = "",
y_max = -9, y_max = -9,
y_min = -112, y_min = -112,
heat_point = 0, heat_point = 0,
@ -954,15 +950,6 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "tundra", name = "tundra",
node_dust = "default:snowblock", 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", node_riverbed = "default:gravel",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -973,16 +960,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "tundra_beach", name = "tundra_beach",
--node_dust = "",
node_top = "default:gravel", node_top = "default:gravel",
depth_top = 1, depth_top = 1,
node_filler = "default:gravel", node_filler = "default:gravel",
depth_filler = 2, depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:gravel", node_riverbed = "default:gravel",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 1, y_max = 1,
@ -993,16 +974,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "tundra_ocean", name = "tundra_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:gravel", node_riverbed = "default:gravel",
depth_riverbed = 2, depth_riverbed = 2,
y_max = -4, y_max = -4,
@ -1020,11 +995,6 @@ function default.register_biomes(upper_limit)
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1035,16 +1005,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "taiga_ocean", name = "taiga_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 1, y_max = 1,
@ -1062,11 +1026,6 @@ function default.register_biomes(upper_limit)
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 1, depth_filler = 1,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1077,16 +1036,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "snowy_grassland_ocean", name = "snowy_grassland_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 4, y_max = 4,
@ -1099,16 +1052,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "grassland", name = "grassland",
--node_dust = "",
node_top = "default:dirt_with_grass", node_top = "default:dirt_with_grass",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 1, depth_filler = 1,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1119,16 +1066,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "grassland_dunes", name = "grassland_dunes",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 2, depth_filler = 2,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 5, y_max = 5,
@ -1139,16 +1080,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "grassland_ocean", name = "grassland_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 3, y_max = 3,
@ -1161,16 +1096,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "coniferous_forest", name = "coniferous_forest",
--node_dust = "",
node_top = "default:dirt_with_coniferous_litter", node_top = "default:dirt_with_coniferous_litter",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1181,16 +1110,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "coniferous_forest_dunes", name = "coniferous_forest_dunes",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 5, y_max = 5,
@ -1201,16 +1124,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "coniferous_forest_ocean", name = "coniferous_forest_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 3, y_max = 3,
@ -1223,16 +1140,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "deciduous_forest", name = "deciduous_forest",
--node_dust = "",
node_top = "default:dirt_with_grass", node_top = "default:dirt_with_grass",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1243,16 +1154,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "deciduous_forest_shore", name = "deciduous_forest_shore",
--node_dust = "",
node_top = "default:dirt", node_top = "default:dirt",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 0, y_max = 0,
@ -1263,16 +1168,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "deciduous_forest_ocean", name = "deciduous_forest_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = -2, y_max = -2,
@ -1285,16 +1184,11 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "desert", name = "desert",
--node_dust = "",
node_top = "default:desert_sand", node_top = "default:desert_sand",
depth_top = 1, depth_top = 1,
node_filler = "default:desert_sand", node_filler = "default:desert_sand",
depth_filler = 1, depth_filler = 1,
node_stone = "default:desert_stone", node_stone = "default:desert_stone",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1305,16 +1199,11 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "desert_ocean", name = "desert_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
node_stone = "default:desert_stone", node_stone = "default:desert_stone",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 4, y_max = 4,
@ -1327,16 +1216,11 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "sandstone_desert", name = "sandstone_desert",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 1, depth_filler = 1,
node_stone = "default:sandstone", node_stone = "default:sandstone",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1347,16 +1231,11 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "sandstone_desert_ocean", name = "sandstone_desert_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
node_stone = "default:sandstone", node_stone = "default:sandstone",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 4, y_max = 4,
@ -1369,16 +1248,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "cold_desert", name = "cold_desert",
--node_dust = "",
node_top = "default:silver_sand", node_top = "default:silver_sand",
depth_top = 1, depth_top = 1,
node_filler = "default:silver_sand", node_filler = "default:silver_sand",
depth_filler = 1, depth_filler = 1,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1389,16 +1262,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "cold_desert_ocean", name = "cold_desert_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 4, y_max = 4,
@ -1411,16 +1278,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "savanna", name = "savanna",
--node_dust = "",
node_top = "default:dirt_with_dry_grass", node_top = "default:dirt_with_dry_grass",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 1, depth_filler = 1,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1431,16 +1292,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "savanna_shore", name = "savanna_shore",
--node_dust = "",
node_top = "default:dirt", node_top = "default:dirt",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 0, y_max = 0,
@ -1451,16 +1306,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "savanna_ocean", name = "savanna_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = -2, y_max = -2,
@ -1473,16 +1322,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "rainforest", name = "rainforest",
--node_dust = "",
node_top = "default:dirt_with_rainforest_litter", node_top = "default:dirt_with_rainforest_litter",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = upper_limit, y_max = upper_limit,
@ -1493,16 +1336,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "rainforest_swamp", name = "rainforest_swamp",
--node_dust = "",
node_top = "default:dirt", node_top = "default:dirt",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = 0, y_max = 0,
@ -1513,16 +1350,10 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "rainforest_ocean", name = "rainforest_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
node_riverbed = "default:sand", node_riverbed = "default:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_max = -2, y_max = -2,
@ -1535,16 +1366,6 @@ function default.register_biomes(upper_limit)
minetest.register_biome({ minetest.register_biome({
name = "underground", 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_max = -113,
y_min = -31000, y_min = -31000,
heat_point = 50, heat_point = 50,
@ -1561,18 +1382,10 @@ function default.register_floatland_biomes(floatland_level, shadow_limit)
minetest.register_biome({ minetest.register_biome({
name = "floatland_grassland", name = "floatland_grassland",
--node_dust = "",
node_top = "default:dirt_with_grass", node_top = "default:dirt_with_grass",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 1, depth_filler = 1,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
--node_riverbed = "",
--depth_riverbed = ,
y_max = 31000, y_max = 31000,
y_min = floatland_level + 2, y_min = floatland_level + 2,
heat_point = 50, heat_point = 50,
@ -1581,18 +1394,10 @@ function default.register_floatland_biomes(floatland_level, shadow_limit)
minetest.register_biome({ minetest.register_biome({
name = "floatland_coniferous_forest", name = "floatland_coniferous_forest",
--node_dust = "",
node_top = "default:dirt_with_coniferous_litter", node_top = "default:dirt_with_coniferous_litter",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 3, depth_filler = 3,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
--node_water = "",
--node_river_water = "",
--node_riverbed = "",
--depth_riverbed = ,
y_max = 31000, y_max = 31000,
y_min = floatland_level + 2, y_min = floatland_level + 2,
heat_point = 50, heat_point = 50,
@ -1601,18 +1406,10 @@ function default.register_floatland_biomes(floatland_level, shadow_limit)
minetest.register_biome({ minetest.register_biome({
name = "floatland_ocean", name = "floatland_ocean",
--node_dust = "",
node_top = "default:sand", node_top = "default:sand",
depth_top = 1, depth_top = 1,
node_filler = "default:sand", node_filler = "default:sand",
depth_filler = 3, 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_max = floatland_level + 1,
y_min = shadow_limit, y_min = shadow_limit,
heat_point = 50, heat_point = 50,