From 97764600e27f8872768a28ac4a379d1d82f86952 Mon Sep 17 00:00:00 2001 From: Paramat Date: Mon, 18 Nov 2019 23:40:01 +0000 Subject: Randomwalk cave liquids: Remove deprecated 'lava depth' parameter (#9105) Low-disruption first step towards removing the hardcoded cave liquid code. Since MT 5.0.0 cave liquids can be defined and located by biome definitions instead. In games that do not yet use biome definitions to define and locate cave liquids (MTGame does), lava will now appear below y = water_level - 256 instead of below 'lava depth' (usually y = -256). Therefore no change in most mapgens if using the default 'lava depth'. --- builtin/settingtypes.txt | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'builtin') diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 3334926e7..fd8c50d4c 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1477,10 +1477,6 @@ mgv5_cave_width (Cave width) float 0.09 # Y of upper limit of large caves. mgv5_large_cave_depth (Large cave depth) int -256 -# Deprecated, define and locate cave liquids using biome definitions instead. -# Y of upper limit of lava in large caves. -mgv5_lava_depth (Lava depth) int -256 - # Minimum limit of random number of small caves per mapchunk. mgv5_small_cave_num_min (Small cave minimum number) int 0 0 256 @@ -1611,10 +1607,6 @@ mgv7_cave_width (Cave width) float 0.09 # Y of upper limit of large caves. mgv7_large_cave_depth (Large cave depth) int -33 -# Deprecated, define and locate cave liquids using biome definitions instead. -# Y of upper limit of lava in large caves. -mgv7_lava_depth (Lava depth) int -256 - # Minimum limit of random number of small caves per mapchunk. mgv7_small_cave_num_min (Small cave minimum number) int 0 0 256 @@ -1736,10 +1728,6 @@ mgcarpathian_cave_width (Cave width) float 0.09 # Y of upper limit of large caves. mgcarpathian_large_cave_depth (Large cave depth) int -33 -# Deprecated, define and locate cave liquids using biome definitions instead. -# Y of upper limit of lava in large caves. -mgcarpathian_lava_depth (Lava depth) int -256 - # Minimum limit of random number of small caves per mapchunk. mgcarpathian_small_cave_num_min (Small cave minimum number) int 0 0 256 @@ -1835,10 +1823,6 @@ mgflat_ground_level (Ground level) int 8 # Y of upper limit of large caves. mgflat_large_cave_depth (Large cave depth) int -33 -# Deprecated, define and locate cave liquids using biome definitions instead. -# Y of upper limit of lava in large caves. -mgflat_lava_depth (Lava depth) int -256 - # Minimum limit of random number of small caves per mapchunk. mgflat_small_cave_num_min (Small cave minimum number) int 0 0 256 @@ -1913,10 +1897,6 @@ mgfractal_cave_width (Cave width) float 0.09 # Y of upper limit of large caves. mgfractal_large_cave_depth (Large cave depth) int -33 -# Deprecated, define and locate cave liquids using biome definitions instead. -# Y of upper limit of lava in large caves. -mgfractal_lava_depth (Lava depth) int -256 - # Minimum limit of random number of small caves per mapchunk. mgfractal_small_cave_num_min (Small cave minimum number) int 0 0 256 @@ -2051,10 +2031,6 @@ mgvalleys_altitude_chill (Altitude chill) int 90 # Depth below which you'll find large caves. mgvalleys_large_cave_depth (Large cave depth) int -33 -# Deprecated, define and locate cave liquids using biome definitions instead. -# Y of upper limit of lava in large caves. -mgvalleys_lava_depth (Lava depth) int 1 - # Minimum limit of random number of small caves per mapchunk. mgvalleys_small_cave_num_min (Small cave minimum number) int 0 0 256 -- cgit v1.2.3