# Controls width of tunnels, a smaller value creates wider tunnels.
mgcarpathian_cave_width (Cave width) float 0.09
-# Y of upper limit of large pseudorandom caves.
+# Y of upper limit of large caves.
mgcarpathian_large_cave_depth (Large cave depth) int -33
+# Y of upper limit of lava in large caves.
+mgcarpathian_lava_depth (Lava depth) int -256
+
# Y-level of cavern upper limit.
mgcarpathian_cavern_limit (Cavern limit) int -256
# type: float
# mgcarpathian_cave_width = 0.09
-# Y of upper limit of large pseudorandom caves.
+# Y of upper limit of large caves.
# type: int
# mgcarpathian_large_cave_depth = -33
+# Y of upper limit of lava in large caves.
+# type: int
+# mgcarpathian_lava_depth = -256
+
# Y-level of cavern upper limit.
# type: int
# mgcarpathian_cavern_limit = -256
spflags = params->spflags;
cave_width = params->cave_width;
large_cave_depth = params->large_cave_depth;
+ lava_depth = params->lava_depth;
cavern_limit = params->cavern_limit;
cavern_taper = params->cavern_taper;
cavern_threshold = params->cavern_threshold;
settings->getFlagStrNoEx("mgcarpathian_spflags", spflags, flagdesc_mapgen_carpathian);
settings->getFloatNoEx("mgcarpathian_cave_width", cave_width);
settings->getS16NoEx("mgcarpathian_large_cave_depth", large_cave_depth);
+ settings->getS16NoEx("mgcarpathian_lava_depth", lava_depth);
settings->getS16NoEx("mgcarpathian_cavern_limit", cavern_limit);
settings->getS16NoEx("mgcarpathian_cavern_taper", cavern_taper);
settings->getFloatNoEx("mgcarpathian_cavern_threshold", cavern_threshold);
settings->setFlagStr("mgcarpathian_spflags", spflags, flagdesc_mapgen_carpathian, U32_MAX);
settings->setFloat("mgcarpathian_cave_width", cave_width);
settings->setS16("mgcarpathian_large_cave_depth", large_cave_depth);
+ settings->setS16("mgcarpathian_lava_depth", lava_depth);
settings->setS16("mgcarpathian_cavern_limit", cavern_limit);
settings->setS16("mgcarpathian_cavern_taper", cavern_taper);
settings->setFloat("mgcarpathian_cavern_threshold", cavern_threshold);