mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-01-12 19:20:27 +01:00
add setting for other cavern layer thresholds
This commit is contained in:
parent
f33ebe2c74
commit
a9e6958a78
@ -80,7 +80,7 @@ subterrane:register_cave_decor(-113, dfcaverns.config.ymax)
|
||||
subterrane:register_cave_layer({
|
||||
minimum_depth = dfcaverns.config.ymax,
|
||||
maximum_depth = dfcaverns.config.level1_min,
|
||||
cave_threshold = 0.5,
|
||||
cave_threshold = dfcaverns.config.cavern_threshold,
|
||||
perlin_cave = perlin_cave,
|
||||
perlin_wave = perlin_wave,
|
||||
})
|
||||
@ -88,7 +88,7 @@ subterrane:register_cave_layer({
|
||||
subterrane:register_cave_layer({
|
||||
minimum_depth = dfcaverns.config.level1_min,
|
||||
maximum_depth = dfcaverns.config.level2_min,
|
||||
cave_threshold = 0.5,
|
||||
cave_threshold = dfcaverns.config.cavern_threshold,
|
||||
perlin_cave = perlin_cave,
|
||||
perlin_wave = perlin_wave,
|
||||
})
|
||||
@ -96,7 +96,7 @@ subterrane:register_cave_layer({
|
||||
subterrane:register_cave_layer({
|
||||
minimum_depth = dfcaverns.config.level2_min,
|
||||
maximum_depth = dfcaverns.config.level3_min,
|
||||
cave_threshold = 0.5,
|
||||
cave_threshold = dfcaverns.config.cavern_threshold,
|
||||
perlin_cave = perlin_cave,
|
||||
perlin_wave = perlin_wave,
|
||||
})
|
||||
|
@ -30,6 +30,10 @@ dfcaverns_vertical_cavern_scale (Vertical cavern dimension scale) float 256
|
||||
#affects the scale of features in the perlin noise that is used to build caverns.
|
||||
#Most caverns will be smaller than this (and a few might be larger)
|
||||
dfcaverns_horizontal_cavern_scale (Horizontal cavern dimension scale) float 256
|
||||
#Determines threshold for cave generation. Higher number means sparser caverns
|
||||
dfcaverns_cavern_threshold (Cavern threshold) float 0.5 0.0 1.0
|
||||
|
||||
[Cavern depth borders]
|
||||
dfcaverns_ymax (Upper limit of level 1) int -300
|
||||
dfcaverns_level1_min (Upper limit of level 2) int -900
|
||||
dfcaverns_level2_min (Upper limit of level 3) int -1500
|
||||
|
Loading…
Reference in New Issue
Block a user