VoxeLibre/mods/MAPGEN/vl_biomes/desert.lua
2024-10-29 19:28:43 +01:00

45 lines
981 B
Lua

-- Desert
vl_biomes.register_biome({
name = "Desert",
node_top = "mcl_core:sand",
depth_top = 1,
node_filler = "mcl_core:sand",
depth_filler = 2,
node_riverbed = "mcl_core:sand",
depth_riverbed = 2,
node_stone = "mcl_core:sandstone",
y_min = 1,
y_max = vl_biomes.overworld_max,
humidity_point = 26,
heat_point = 94,
_mcl_biome_type = "hot",
_mcl_water_temp = "warm",
_mcl_grass_palette_index = 17,
_mcl_foliage_palette_index = 3,
_mcl_water_palette_index = 3,
_mcl_skycolor = "#6EB1FF",
_ocean = {
node_filler = "mcl_core:sand",
depth_filler = 3,
}
})
mcl_mapgen_core.register_decoration({
deco_type = "simple",
priority = 1500,
place_on = {"group:sand", "group:hardened_clay"},
sidelen = 16,
noise_params = {
offset = 0.01,
scale = 0.006,
spread = vector.new(100, 100, 100),
seed = 1972,
octaves = 3,
persist = 0.6
},
y_min = 4,
y_max = vl_biomes.overworld_max,
biomes = {"Desert"},
decoration = "mcl_core:deadbush",
height = 1,
})