mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 08:31:08 +01:00
46 lines
1.3 KiB
Lua
46 lines
1.3 KiB
Lua
local mod_mcl_core = minetest.get_modpath("mcl_core")
|
|
-- Savanna M aka Shattered Savanna aka Windswept Savanna
|
|
-- Changes to Savanna: Coarse Dirt. No sand beach. No oaks.
|
|
-- Otherwise identical to Savanna
|
|
vl_biomes.register_biome({
|
|
name = "SavannaM",
|
|
node_top = "mcl_core:dirt_with_grass",
|
|
depth_top = 1,
|
|
node_filler = "mcl_core:coarse_dirt",
|
|
depth_filler = 3,
|
|
node_riverbed = "mcl_core:sand",
|
|
depth_riverbed = 2,
|
|
y_min = 1,
|
|
y_max = vl_biomes.overworld_max,
|
|
humidity_point = 48,
|
|
heat_point = 100,
|
|
_mcl_biome_type = "hot",
|
|
_mcl_water_temp = "lukewarm",
|
|
_mcl_grass_palette_index = 23,
|
|
_mcl_foliage_palette_index = 3,
|
|
_mcl_water_palette_index = 2,
|
|
_mcl_skycolor = "#6EB1FF",
|
|
_ocean = {
|
|
node_top = "mcl_core:sand",
|
|
depth_top = 1,
|
|
node_filler = "mcl_core:sand",
|
|
depth_filler = 3,
|
|
},
|
|
})
|
|
-- Acacia (many variants)
|
|
for a = 1, 7 do
|
|
mcl_mapgen_core.register_decoration({
|
|
deco_type = "schematic",
|
|
place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:coarse_dirt"},
|
|
sidelen = 16,
|
|
fill_ratio = 0.0002,
|
|
biomes = {"SavannaM"},
|
|
y_min = 1,
|
|
y_max = vl_biomes.overworld_max,
|
|
schematic = mod_mcl_core .. "/schematics/mcl_core_acacia_" .. a .. ".mts",
|
|
flags = "place_center_x, place_center_z",
|
|
rotation = "random",
|
|
_mcl_foliage_palette_index = 3,
|
|
})
|
|
end
|
|
|