mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2024-12-25 02:10:37 +01:00
switch to new subterrane api
This commit is contained in:
parent
da8454d478
commit
b181f17af8
39
biomes.lua
39
biomes.lua
@ -27,28 +27,29 @@ subterrane:override_biome({
|
||||
humidity_point = 50,
|
||||
})
|
||||
|
||||
subterrane:set_tcave_array({
|
||||
{dfcaverns.config.ymax, 1.5},
|
||||
{dfcaverns.config.ymax-100, 0.5},
|
||||
|
||||
{dfcaverns.config.level1_min+100, 0.5},
|
||||
{dfcaverns.config.level1_min, 1.0},
|
||||
{dfcaverns.config.level1_min-100, 0.5},
|
||||
|
||||
{dfcaverns.config.level2_min+100, 0.5},
|
||||
{dfcaverns.config.level2_min, 1.0},
|
||||
{dfcaverns.config.level2_min-100, 0.5},
|
||||
subterrane:register_cave_layer({
|
||||
minimum_depth = dfcaverns.config.ymax,
|
||||
maximum_depth = dfcaverns.config.level1_min,
|
||||
})
|
||||
|
||||
{dfcaverns.config.level3_min+100, 0.5},
|
||||
{dfcaverns.config.level3_min, 1.0},
|
||||
{dfcaverns.config.level3_min-100, 0.5},
|
||||
subterrane:register_cave_layer({
|
||||
minimum_depth = dfcaverns.config.level1_min,
|
||||
maximum_depth = dfcaverns.config.level2_min,
|
||||
})
|
||||
|
||||
{dfcaverns.config.lava_sea_min+100, 0.5},
|
||||
{dfcaverns.config.lava_sea_min, 1.0},
|
||||
{dfcaverns.config.lava_sea_min-100, 0.5},
|
||||
subterrane:register_cave_layer({
|
||||
minimum_depth = dfcaverns.config.level2_min,
|
||||
maximum_depth = dfcaverns.config.level3_min,
|
||||
})
|
||||
|
||||
{dfcaverns.config.ymin+100, 0.5},
|
||||
{dfcaverns.config.ymin, 1.5},
|
||||
subterrane:register_cave_layer({
|
||||
minimum_depth = dfcaverns.config.level3_min,
|
||||
maximum_depth = dfcaverns.config.lava_sea_min,
|
||||
})
|
||||
|
||||
subterrane:register_cave_layer({
|
||||
minimum_depth = dfcaverns.config.lava_sea_min,
|
||||
maximum_depth = dfcaverns.config.ymin,
|
||||
})
|
||||
|
||||
dfcaverns.can_support_vegetation = {[c_sand] = true, [c_dirt] = true, [c_coal_ore] = true, [c_gravel] = true}
|
||||
|
Loading…
Reference in New Issue
Block a user