mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2024-12-26 02:40:36 +01:00
add a setting to allow the magma sea to be toned down a bit
This commit is contained in:
parent
bfa37cb648
commit
f0b652b0e8
@ -122,7 +122,7 @@ local perlin_wave_lava = {
|
||||
subterrane:register_cave_layer({
|
||||
minimum_depth = dfcaverns.config.level3_min,
|
||||
maximum_depth = dfcaverns.config.lava_sea_min,
|
||||
cave_threshold = 0.2,
|
||||
cave_threshold = dfcaverns.config.lava_sea_threshold,
|
||||
perlin_cave = perlin_cave_lava,
|
||||
perlin_wave = perlin_wave_lava,
|
||||
})
|
||||
|
@ -68,3 +68,4 @@ setting("int", "level1_min", -900, "Upper limit of level 2")
|
||||
setting("int", "level2_min", -1500, "Upper limit of level 3")
|
||||
setting("int", "level3_min", -2100, "Upper limit of lava sea")
|
||||
setting("int", "lava_sea_min", -2700, "Lower limit of the lava sea")
|
||||
setting("float", "lava_sea_threshold", 0.2, "Cavern threshold for magma sea (higher number means sparser magma)")
|
||||
|
@ -35,3 +35,6 @@ dfcaverns_level1_min (Upper limit of level 2) int -900
|
||||
dfcaverns_level2_min (Upper limit of level 3) int -1500
|
||||
dfcaverns_level3_min (Upper limit of lava sea) int -2100
|
||||
dfcaverns_lava_sea_min (Lower limit of lava sea) int -2700
|
||||
|
||||
#Determines threshold for higher number means sparser magma
|
||||
dfcaverns_lava_sea_threshold (Cavern threshold for magma sea) float 0.2 0.0 1.0
|
Loading…
Reference in New Issue
Block a user