MineClone2/mods/MAPGEN/vl_biomes/nether/soulsandvalley.lua
2024-12-31 17:49:50 +01:00

116 lines
3.5 KiB
Lua

local mod_mcl_blackstone = minetest.get_modpath("mcl_blackstone")
vl_biomes.register_biome({
name = "SoulsandValley",
node_filler = "mcl_nether:netherrack",
node_stone = "mcl_nether:netherrack",
node_top = "mcl_blackstone:soul_soil",
node_water = "air",
node_river_water = "air",
node_cave_liquid = "air",
y_min = vl_biomes.nether_min,
y_max = vl_biomes.nether_max + 80,
heat_point = 77,
humidity_point = 33,
_mcl_biome_type = "hot",
_mcl_grass_palette_index = 17,
_mcl_foliage_palette_index = 3,
_mcl_water_palette_index = 0,
_mcl_waterfogcolor = vl_biomes.default_waterfogcolor,
_mcl_skycolor = vl_biomes.nether_skycolor,
_mcl_fogcolor = "#1B4745"
})
mcl_mapgen_core.register_decoration({
deco_type = "simple",
place_on = {"mcl_nether:netherrack", "mcl_nether:glowstone", "mcl_nether:magma"},
sidelen = 16,
fill_ratio = 10,
biomes = {"SoulsandValley"},
y_min = vl_biomes.lava_nether_max,
y_max = vl_biomes.nether_deco_max,
decoration = "mcl_blackstone:soul_soil",
flags = "all_floors, all_ceilings",
param2 = 0,
})
minetest.register_ore({
ore_type = "blob",
ore = "mcl_nether:soul_sand",
wherein = {"mcl_nether:netherrack", "mcl_blackstone:soul_soil"},
clust_scarcity = 100,
clust_num_ores = 225,
clust_size = 15,
biomes = {"SoulsandValley"},
y_min = vl_biomes.lava_nether_max,
y_max = vl_biomes.nether_deco_max,
noise_params = {
offset = 0,
scale = 1,
spread = vector.new(250, 250, 250),
seed = 12345,
octaves = 3,
persist = 0.6,
lacunarity = 2,
flags = "defaults",
}
})
mcl_mapgen_core.register_decoration({
deco_type = "simple",
place_on = {"mcl_blackstone:soul_soil", "mcl_nether:soul_sand"},
sidelen = 16,
fill_ratio = 0.062,
biomes = {"SoulsandValley"},
y_min = vl_biomes.lava_nether_max + 1,
flags = "all_floors",
max_height = 5,
decoration = "mcl_blackstone:soul_fire",
})
mcl_mapgen_core.register_decoration({
deco_type = "schematic",
place_on = {"mcl_blackstone:soul_soil", "mcl_nether:soulsand"},
sidelen = 16,
fill_ratio = 0.000212,
biomes = {"SoulsandValley"},
y_min = vl_biomes.lava_nether_max + 1,
flags = "all_floors, place_center_x, place_center_z",
schematic = mod_mcl_blackstone .. "/schematics/mcl_blackstone_nether_fossil_1.mts",
size = vector.new(5, 8, 5),
rotation = "random",
})
mcl_mapgen_core.register_decoration({
deco_type = "schematic",
place_on = {"mcl_blackstone:soul_soil", "mcl_nether:soulsand"},
sidelen = 16,
fill_ratio = 0.0002233,
biomes = {"SoulsandValley"},
y_min = vl_biomes.lava_nether_max + 1,
flags = "all_floors, place_center_x, place_center_z",
schematic = mod_mcl_blackstone .. "/schematics/mcl_blackstone_nether_fossil_2.mts",
size = vector.new(5, 8, 5),
rotation = "random",
})
mcl_mapgen_core.register_decoration({
deco_type = "schematic",
place_on = {"mcl_blackstone:soul_soil", "mcl_nether:soulsand"},
sidelen = 16,
fill_ratio = 0.000225,
biomes = {"SoulsandValley"},
y_min = vl_biomes.lava_nether_max + 1,
flags = "all_floors, place_center_x, place_center_z",
schematic = mod_mcl_blackstone .. "/schematics/mcl_blackstone_nether_fossil_3.mts",
size = vector.new(5, 8, 5),
rotation = "random",
})
mcl_mapgen_core.register_decoration({
deco_type = "schematic",
place_on = {"mcl_blackstone:soul_soil", "mcl_nether:soulsand"},
sidelen = 16,
fill_ratio = 0.00022323,
biomes = {"SoulsandValley"},
y_min = vl_biomes.lava_nether_max + 1,
flags = "all_floors, place_center_x, place_center_z",
schematic = mod_mcl_blackstone .. "/schematics/mcl_blackstone_nether_fossil_4.mts",
size = vector.new(5, 8, 5),
rotation = "random",
})