mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 08:31:08 +01:00
108 lines
2.8 KiB
Lua
108 lines
2.8 KiB
Lua
local mod_mcl_core = minetest.get_modpath("mcl_core")
|
|
|
|
-- Taiga
|
|
vl_biomes.register_biome({
|
|
name = "Taiga",
|
|
node_top = "mcl_core:dirt_with_grass",
|
|
depth_top = 1,
|
|
node_filler = "mcl_core:dirt",
|
|
depth_filler = 3,
|
|
node_riverbed = "mcl_core:sand",
|
|
depth_riverbed = 2,
|
|
y_min = 4,
|
|
y_max = vl_biomes.overworld_max,
|
|
humidity_point = 58,
|
|
heat_point = 22,
|
|
_mcl_biome_type = "cold",
|
|
_mcl_water_temp = "cold",
|
|
_mcl_grass_palette_index = 12,
|
|
_mcl_foliage_palette_index = 10,
|
|
_mcl_water_palette_index = 4,
|
|
_mcl_skycolor = "#7DA3FF",
|
|
_beach = {
|
|
node_top = "mcl_core:sand",
|
|
depth_top = 2,
|
|
node_filler = "mcl_core:sandstone",
|
|
depth_filler = 1,
|
|
y_min = 1,
|
|
y_max = 3,
|
|
_mcl_foliage_palette_index = 1,
|
|
},
|
|
_ocean = {
|
|
node_top = "mcl_core:gravel",
|
|
depth_top = 1,
|
|
node_filler = "mcl_core:gravel",
|
|
depth_filler = 3,
|
|
},
|
|
})
|
|
|
|
-- Small lollipop spruce
|
|
mcl_mapgen_core.register_decoration({
|
|
deco_type = "schematic",
|
|
place_on = {"group:grass_block", "mcl_core:podzol"},
|
|
sidelen = 16,
|
|
noise_params = {
|
|
offset = 0.004,
|
|
scale = 0.0022,
|
|
spread = vector.new(250, 250, 250),
|
|
seed = 2500,
|
|
octaves = 3,
|
|
persist = 0.66
|
|
},
|
|
biomes = {"Taiga"},
|
|
y_min = 2,
|
|
y_max = vl_biomes.overworld_max,
|
|
schematic = mod_mcl_core .. "/schematics/mcl_core_spruce_lollipop.mts",
|
|
flags = "place_center_x, place_center_z",
|
|
-- not supported by spruce leaves _mcl_foliage_palette_index = 10,
|
|
})
|
|
|
|
-- Matchstick spruce: Very few leaves, tall trunk
|
|
mcl_mapgen_core.register_decoration({
|
|
deco_type = "schematic",
|
|
place_on = {"group:grass_block", "mcl_core:podzol"},
|
|
sidelen = 80,
|
|
noise_params = {
|
|
offset = -0.025,
|
|
scale = 0.025,
|
|
spread = vector.new(250, 250, 250),
|
|
seed = 2566,
|
|
octaves = 5,
|
|
persist = 0.60,
|
|
},
|
|
biomes = {"Taiga"},
|
|
y_min = 3,
|
|
y_max = vl_biomes.overworld_max,
|
|
schematic = mod_mcl_core .. "/schematics/mcl_core_spruce_matchstick.mts",
|
|
flags = "place_center_x, place_center_z",
|
|
-- not supported by spruce leaves _mcl_foliage_palette_index = 10,
|
|
})
|
|
|
|
-- Common spruce
|
|
vl_biomes.register_spruce_decoration(11000, 0.00150, "mcl_core_spruce_5.mts", {"Taiga"})
|
|
vl_biomes.register_spruce_decoration(2500, 0.00325, "mcl_core_spruce_1.mts", {"Taiga"})
|
|
vl_biomes.register_spruce_decoration(7000, 0.00425, "mcl_core_spruce_3.mts", {"Taiga"})
|
|
vl_biomes.register_spruce_decoration(9000, 0.00325, "mcl_core_spruce_4.mts", {"Taiga"})
|
|
|
|
-- Mushrooms in Taiga
|
|
mcl_mapgen_core.register_decoration({
|
|
deco_type = "simple",
|
|
place_on = {"mcl_core:podzol"},
|
|
sidelen = 80,
|
|
fill_ratio = 0.003,
|
|
biomes = {"Taiga"},
|
|
y_min = vl_biomes.overworld_min,
|
|
y_max = vl_biomes.overworld_max,
|
|
decoration = "mcl_mushrooms:mushroom_red",
|
|
})
|
|
mcl_mapgen_core.register_decoration({
|
|
deco_type = "simple",
|
|
place_on = {"mcl_core:podzol"},
|
|
sidelen = 80,
|
|
fill_ratio = 0.003,
|
|
biomes = {"Taiga"},
|
|
y_min = vl_biomes.overworld_min,
|
|
y_max = vl_biomes.overworld_max,
|
|
decoration = "mcl_mushrooms:mushroom_brown",
|
|
})
|
|
|