Clean up and adjust poison water.
This commit is contained in:
parent
3ddce086ca
commit
a6497392bd
6 changed files with 56 additions and 52 deletions
41
mapgen.lua
41
mapgen.lua
|
@ -87,6 +87,7 @@ fun_caves.underzones = {
|
|||
regular_columns = false,
|
||||
stalactite = 'fun_caves:icicle_down',
|
||||
stalactite_chance = 12,
|
||||
stone_depth = 2,
|
||||
upper_bound = -4832,
|
||||
vary = true,
|
||||
},
|
||||
|
@ -104,6 +105,7 @@ fun_caves.underzones = {
|
|||
lake_level = 5,
|
||||
lower_bound = -10032,
|
||||
regular_columns = false,
|
||||
stone_depth = 1,
|
||||
upper_bound = -9872,
|
||||
vary = true,
|
||||
},
|
||||
|
@ -112,11 +114,11 @@ fun_caves.underzones = {
|
|||
ceiling = -14914,
|
||||
ceiling_node = 'fun_caves:hot_brass',
|
||||
column_node = 'default:steelblock',
|
||||
column_node_rare = nil,
|
||||
floor = -14982,
|
||||
floor_node = 'fun_caves:hot_brass',
|
||||
lower_bound = -14992,
|
||||
regular_columns = true,
|
||||
stone_depth = 1,
|
||||
upper_bound = -14912,
|
||||
vary = false,
|
||||
},
|
||||
|
@ -134,6 +136,7 @@ fun_caves.underzones = {
|
|||
lake_level = 10,
|
||||
lower_bound = -19952,
|
||||
regular_columns = false,
|
||||
stone_depth = 2,
|
||||
upper_bound = -19792,
|
||||
vary = true,
|
||||
},
|
||||
|
@ -141,12 +144,11 @@ fun_caves.underzones = {
|
|||
name = 'Styx',
|
||||
ceiling = -29812,
|
||||
ceiling_node = 'default:dirt',
|
||||
column_node = nil,
|
||||
column_node_rare = nil,
|
||||
floor = -30012,
|
||||
floor_node = 'default:dirt',
|
||||
lower_bound = -30032,
|
||||
regular_columns = false,
|
||||
stone_depth = 2,
|
||||
sealevel = -29842,
|
||||
upper_bound = -29792,
|
||||
vary = true,
|
||||
|
@ -157,111 +159,120 @@ fun_caves.cave_biomes = {
|
|||
algae = {
|
||||
biome_val_low = 0,
|
||||
biome_val_high = 0.2,
|
||||
ceiling_node = 'fun_caves:stone_with_algae',
|
||||
dirt = 'default:dirt',
|
||||
dirt_chance = 10,
|
||||
floor_node = 'fun_caves:stone_with_algae',
|
||||
fungi = true,
|
||||
stalactite = 'fun_caves:stalactite_slimy',
|
||||
stalactite_chance = 12,
|
||||
stalagmite = 'fun_caves:stalagmite_slimy',
|
||||
stalagmite_chance = 12,
|
||||
stone_type = 'fun_caves:stone_with_algae',
|
||||
stone_depth = 1,
|
||||
underwater = true,
|
||||
},
|
||||
coal = {
|
||||
biome_val_low = 0.5,
|
||||
biome_val_high = 0.6,
|
||||
ceiling_node = 'fun_caves:black_sand',
|
||||
deco = 'default:coalblock',
|
||||
deco_chance = 100,
|
||||
fungi = nil,
|
||||
floor_node = 'fun_caves:black_sand',
|
||||
stalagmite = 'fun_caves:constant_flame',
|
||||
stalagmite_chance = 50,
|
||||
stone_type = 'fun_caves:black_sand',
|
||||
stone_depth = 2,
|
||||
underwater = false,
|
||||
},
|
||||
hot = {
|
||||
biome_val_low = 0.6,
|
||||
biome_val_high = 99,
|
||||
ceiling_node = 'fun_caves:hot_cobble',
|
||||
floor_node = 'fun_caves:hot_cobble',
|
||||
fluid = 'default:lava_source',
|
||||
fluid_chance = 300,
|
||||
stalagmite = fun_caves.hot_spikes,
|
||||
stalagmite_chance = 50,
|
||||
stone_type = 'fun_caves:hot_cobble',
|
||||
stone_depth = 1,
|
||||
underwater = false,
|
||||
},
|
||||
ice = {
|
||||
biome_val_low = -99,
|
||||
biome_val_high = -0.6,
|
||||
ceiling_node = 'default:ice',
|
||||
floor_node = 'default:ice',
|
||||
stalactite = 'fun_caves:icicle_down',
|
||||
stalactite_chance = 12,
|
||||
stalagmite = 'fun_caves:icicle_up',
|
||||
stalagmite_chance = 12,
|
||||
stone_type = 'default:ice',
|
||||
stone_depth = 2,
|
||||
underwater = true,
|
||||
},
|
||||
ice_thin = {
|
||||
biome_val_low = -0.6,
|
||||
biome_val_high = -0.5,
|
||||
stone_type = 'fun_caves:thin_ice',
|
||||
ceiling_node = 'fun_caves:thin_ice',
|
||||
floor_node = 'fun_caves:thin_ice',
|
||||
stone_depth = 2,
|
||||
underwater = true,
|
||||
},
|
||||
lichen = {
|
||||
biome_val_low = -0.3,
|
||||
biome_val_high = 0,
|
||||
ceiling_node = 'fun_caves:stone_with_lichen',
|
||||
dirt = 'default:dirt',
|
||||
dirt_chance = 10,
|
||||
floor_node = 'fun_caves:stone_with_lichen',
|
||||
fungi = true,
|
||||
stalactite = 'fun_caves:stalactite',
|
||||
stalactite_chance = 12,
|
||||
stalagmite = 'fun_caves:stalagmite',
|
||||
stalagmite_chance = 12,
|
||||
stone_type = 'fun_caves:stone_with_lichen',
|
||||
stone_depth = 1,
|
||||
underwater = true,
|
||||
},
|
||||
lichen_dead = {
|
||||
biome_val_low = -0.6,
|
||||
biome_val_high = -0.5,
|
||||
ceiling_node = 'fun_caves:stone_with_lichen',
|
||||
floor_node = 'fun_caves:stone_with_lichen',
|
||||
stalactite = 'fun_caves:stalactite',
|
||||
stalactite_chance = 12,
|
||||
stalagmite = 'fun_caves:stalagmite',
|
||||
stalagmite_chance = 12,
|
||||
stone_type = 'fun_caves:stone_with_lichen',
|
||||
stone_depth = 1,
|
||||
underwater = true,
|
||||
},
|
||||
moss = {
|
||||
biome_val_low = -0.5,
|
||||
biome_val_high = -0.3,
|
||||
ceiling_node = 'fun_caves:stone_with_moss',
|
||||
deco = 'fun_caves:glowing_fungal_stone',
|
||||
deco_chance = 50,
|
||||
floor_node = 'fun_caves:stone_with_moss',
|
||||
fluid = 'default:water_source',
|
||||
fluid_chance = 300,
|
||||
stalactite = 'fun_caves:stalactite_mossy',
|
||||
stalactite_chance = 12,
|
||||
stalagmite = 'fun_caves:stalagmite_mossy',
|
||||
stalagmite_chance = 12,
|
||||
stone_type = 'fun_caves:stone_with_moss',
|
||||
stone_depth = 1,
|
||||
underwater = true,
|
||||
},
|
||||
salt = {
|
||||
biome_val_low = 0.2,
|
||||
biome_val_high = 0.35,
|
||||
ceiling_node = 'fun_caves:stone_with_salt',
|
||||
deco = 'fun_caves:radioactive_ore',
|
||||
deco_chance = 500,
|
||||
stone_type = 'fun_caves:stone_with_salt',
|
||||
floor_node = 'fun_caves:stone_with_salt',
|
||||
stone_depth = 2,
|
||||
underwater = false,
|
||||
},
|
||||
sand = {
|
||||
biome_val_low = 0.35,
|
||||
biome_val_high = 0.5,
|
||||
stone_type = 'default:sand',
|
||||
ceiling_node = 'default:sand',
|
||||
floor_node = 'default:sand',
|
||||
stone_depth = 2,
|
||||
underwater = true,
|
||||
},
|
||||
|
@ -282,7 +293,7 @@ local function generate(p_minp, p_maxp, seed)
|
|||
|
||||
local write = false
|
||||
local write_p2 = false
|
||||
local underzone = nil
|
||||
local underzone
|
||||
for _, uz in pairs(fun_caves.underzones) do
|
||||
local avg = (minp.y + maxp.y) / 2
|
||||
if avg <= uz.upper_bound and avg >= uz.lower_bound then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue