0
0
Fork 0

Add sky and fog colour for each overworld biome

This commit is contained in:
FossFanatic 2022-12-21 13:04:46 +00:00
parent 35b2f3b638
commit 91836f3a1d
1 changed files with 195 additions and 1 deletions

View File

@ -42,6 +42,8 @@ local function register_classic_superflat_biome()
heat_point = 50,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
end
@ -146,6 +148,8 @@ local function register_biomes()
heat_point = -5,
_mcl_biome_type = "snowy",
_mcl_palette_index = 2,
_mcl_skycolor = "#7FA1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "IcePlainsSpikes_ocean",
@ -162,6 +166,8 @@ local function register_biomes()
heat_point = -5,
_mcl_biome_type = "snowy",
_mcl_palette_index = 2,
_mcl_skycolor = "#7FA1FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Cold Taiga
@ -180,6 +186,8 @@ local function register_biomes()
heat_point = 8,
_mcl_biome_type = "snowy",
_mcl_palette_index = 3,
_mcl_skycolor = "#839EFF",
_mcl_fogcolor = "#C0D8FF"
})
-- A cold beach-like biome, implemented as low part of Cold Taiga
@ -200,6 +208,8 @@ local function register_biomes()
heat_point = 8,
_mcl_biome_type = "snowy",
_mcl_palette_index = 3,
_mcl_skycolor = "#7FA1FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Water part of the beach. Added to prevent snow being on the ice.
minetest.register_biome({
@ -218,6 +228,8 @@ local function register_biomes()
heat_point = 8,
_mcl_biome_type = "snowy",
_mcl_palette_index = 3,
_mcl_skycolor = "#7FA1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "ColdTaiga_ocean",
@ -234,9 +246,11 @@ local function register_biomes()
vertical_blend = 1,
_mcl_biome_type = "snowy",
_mcl_palette_index = 3,
_mcl_skycolor = "#7FA1FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Mega Taiga
-- Mega Pine Taiga
minetest.register_biome({
name = "MegaTaiga",
node_top = "mcl_core:podzol",
@ -251,6 +265,8 @@ local function register_biomes()
heat_point = 10,
_mcl_biome_type = "cold",
_mcl_palette_index = 4,
_mcl_skycolor = "#7CA3FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MegaTaiga_ocean",
@ -266,6 +282,8 @@ local function register_biomes()
heat_point = 10,
_mcl_biome_type = "cold",
_mcl_palette_index = 4,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Mega Spruce Taiga
@ -283,6 +301,8 @@ local function register_biomes()
heat_point = 8,
_mcl_biome_type = "cold",
_mcl_palette_index = 5,
_mcl_skycolor = "#7DA3FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MegaSpruceTaiga_ocean",
@ -298,6 +318,8 @@ local function register_biomes()
heat_point = 8,
_mcl_biome_type = "cold",
_mcl_palette_index = 5,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Extreme Hills
@ -316,6 +338,8 @@ local function register_biomes()
heat_point = 45,
_mcl_biome_type = "cold",
_mcl_palette_index = 6,
_mcl_skycolor = "#7DA2FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "ExtremeHills_beach",
@ -332,6 +356,8 @@ local function register_biomes()
heat_point = 45,
_mcl_biome_type = "cold",
_mcl_palette_index = 6,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "ExtremeHills_ocean",
@ -348,6 +374,8 @@ local function register_biomes()
heat_point = 45,
_mcl_biome_type = "cold",
_mcl_palette_index = 6,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Extreme Hills M
@ -366,6 +394,8 @@ local function register_biomes()
heat_point = 25,
_mcl_biome_type = "cold",
_mcl_palette_index = 7,
_mcl_skycolor = "#7DA2FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "ExtremeHillsM_ocean",
@ -381,6 +411,8 @@ local function register_biomes()
heat_point = 25,
_mcl_biome_type = "cold",
_mcl_palette_index = 7,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Extreme Hills+
@ -401,6 +433,8 @@ local function register_biomes()
vertical_blend = 6,
_mcl_biome_type = "cold",
_mcl_palette_index = 8,
_mcl_skycolor = "#7DA2FF",
_mcl_fogcolor = "#C0D8FF"
})
---- Sub-biome for Extreme Hills+ for those snow forests
minetest.register_biome({
@ -419,6 +453,8 @@ local function register_biomes()
heat_point = 25,
_mcl_biome_type = "cold",
_mcl_palette_index = 8,
_mcl_skycolor = "#7DA2FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "ExtremeHills+_ocean",
@ -434,6 +470,8 @@ local function register_biomes()
heat_point = 25,
_mcl_biome_type = "cold",
_mcl_palette_index = 8,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Stone beach
@ -449,6 +487,8 @@ local function register_biomes()
heat_point = 8,
_mcl_biome_type = "cold",
_mcl_palette_index = 9,
_mcl_skycolor = "#7DA2FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
@ -464,6 +504,8 @@ local function register_biomes()
heat_point = 8,
_mcl_biome_type = "cold",
_mcl_palette_index = 9,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Ice Plains
@ -485,6 +527,8 @@ local function register_biomes()
heat_point = 8,
_mcl_biome_type = "snowy",
_mcl_palette_index = 10,
_mcl_skycolor = "#7FA1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "IcePlains_ocean",
@ -500,6 +544,8 @@ local function register_biomes()
heat_point = 8,
_mcl_biome_type = "snowy",
_mcl_palette_index = 10,
_mcl_skycolor = "#7FA1FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Plains
@ -517,6 +563,8 @@ local function register_biomes()
heat_point = 58,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Plains_beach",
@ -532,6 +580,8 @@ local function register_biomes()
heat_point = 58,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Plains_ocean",
@ -547,6 +597,8 @@ local function register_biomes()
heat_point = 58,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Sunflower Plains
@ -564,6 +616,8 @@ local function register_biomes()
heat_point = 45,
_mcl_biome_type = "medium",
_mcl_palette_index = 11,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "SunflowerPlains_ocean",
@ -579,6 +633,8 @@ local function register_biomes()
heat_point = 45,
_mcl_biome_type = "medium",
_mcl_palette_index = 11,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Taiga
@ -596,6 +652,8 @@ local function register_biomes()
heat_point = 22,
_mcl_biome_type = "cold",
_mcl_palette_index = 12,
_mcl_skycolor = "#7DA3FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Taiga_beach",
@ -611,6 +669,8 @@ local function register_biomes()
heat_point = 22,
_mcl_biome_type = "cold",
_mcl_palette_index = 12,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Taiga_ocean",
@ -626,6 +686,8 @@ local function register_biomes()
heat_point = 22,
_mcl_biome_type = "cold",
_mcl_palette_index = 12,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Forest
@ -643,6 +705,8 @@ local function register_biomes()
heat_point = 45,
_mcl_biome_type = "medium",
_mcl_palette_index = 13,
_mcl_skycolor = "#79A6FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Forest_beach",
@ -658,6 +722,8 @@ local function register_biomes()
heat_point = 45,
_mcl_biome_type = "medium",
_mcl_palette_index = 13,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Forest_ocean",
@ -673,6 +739,8 @@ local function register_biomes()
heat_point = 45,
_mcl_biome_type = "medium",
_mcl_palette_index = 13,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Flower Forest
@ -690,6 +758,8 @@ local function register_biomes()
heat_point = 32,
_mcl_biome_type = "medium",
_mcl_palette_index = 14,
_mcl_skycolor = "#79A6FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "FlowerForest_beach",
@ -705,6 +775,8 @@ local function register_biomes()
heat_point = 32,
_mcl_biome_type = "medium",
_mcl_palette_index = 14,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "FlowerForest_ocean",
@ -720,6 +792,8 @@ local function register_biomes()
heat_point = 32,
_mcl_biome_type = "medium",
_mcl_palette_index = 14,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Birch Forest
@ -737,6 +811,8 @@ local function register_biomes()
heat_point = 31,
_mcl_biome_type = "medium",
_mcl_palette_index = 15,
_mcl_skycolor = "#7AA5FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "BirchForest_ocean",
@ -752,6 +828,8 @@ local function register_biomes()
heat_point = 31,
_mcl_biome_type = "medium",
_mcl_palette_index = 15,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Birch Forest M
@ -769,6 +847,8 @@ local function register_biomes()
heat_point = 27,
_mcl_biome_type = "medium",
_mcl_palette_index = 16,
_mcl_skycolor = "#7AA5FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "BirchForestM_ocean",
@ -784,6 +864,8 @@ local function register_biomes()
heat_point = 27,
_mcl_biome_type = "medium",
_mcl_palette_index = 16,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Desert
@ -802,6 +884,8 @@ local function register_biomes()
heat_point = 94,
_mcl_biome_type = "hot",
_mcl_palette_index = 17,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Desert_ocean",
@ -817,6 +901,8 @@ local function register_biomes()
heat_point = 94,
_mcl_biome_type = "hot",
_mcl_palette_index = 17,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Roofed Forest
@ -834,6 +920,8 @@ local function register_biomes()
heat_point = 27,
_mcl_biome_type = "medium",
_mcl_palette_index = 18,
_mcl_skycolor = "#79A6FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "RoofedForest_ocean",
@ -849,6 +937,8 @@ local function register_biomes()
heat_point = 27,
_mcl_biome_type = "medium",
_mcl_palette_index = 18,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Mesa: Starts with a couple of sand-covered layers (the "sandlevel"),
@ -867,6 +957,8 @@ local function register_biomes()
heat_point = 100,
_mcl_biome_type = "hot",
_mcl_palette_index = 19,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Helper biome for the red sand at the bottom of Mesas.
minetest.register_biome({
@ -884,6 +976,8 @@ local function register_biomes()
heat_point = 100,
_mcl_biome_type = "hot",
_mcl_palette_index = 19,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Mesa_ocean",
@ -900,6 +994,8 @@ local function register_biomes()
heat_point = 100,
_mcl_biome_type = "hot",
_mcl_palette_index = 19,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Mesa Bryce: Variant of Mesa, but with perfect strata and a much smaller red sand desert
@ -917,6 +1013,8 @@ local function register_biomes()
heat_point = 100,
_mcl_biome_type = "hot",
_mcl_palette_index = 20,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MesaBryce_sandlevel",
@ -933,6 +1031,8 @@ local function register_biomes()
heat_point = 100,
_mcl_biome_type = "hot",
_mcl_palette_index = 20,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MesaBryce_ocean",
@ -949,6 +1049,8 @@ local function register_biomes()
heat_point = 100,
_mcl_biome_type = "hot",
_mcl_palette_index = 20,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
@ -970,6 +1072,8 @@ local function register_biomes()
vertical_blend = 0, -- we want a sharp transition
_mcl_biome_type = "hot",
_mcl_palette_index = 21,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
-- The oak forest plateau of this biome.
-- This is a plateau for grass blocks, dry shrubs, tall grass, coarse dirt and oaks.
@ -989,6 +1093,8 @@ local function register_biomes()
heat_point = 60,
_mcl_biome_type = "hot",
_mcl_palette_index = 21,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MesaPlateauF_sandlevel",
@ -1005,6 +1111,8 @@ local function register_biomes()
heat_point = 60,
_mcl_biome_type = "hot",
_mcl_palette_index = 21,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MesaPlateauF_ocean",
@ -1021,6 +1129,8 @@ local function register_biomes()
heat_point = 60,
_mcl_biome_type = "hot",
_mcl_palette_index = 21,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Mesa Plateau FM
@ -1042,6 +1152,8 @@ local function register_biomes()
vertical_blend = 5,
_mcl_biome_type = "hot",
_mcl_palette_index = 22,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Grass plateau
minetest.register_biome({
@ -1059,6 +1171,8 @@ local function register_biomes()
heat_point = 60,
_mcl_biome_type = "hot",
_mcl_palette_index = 22,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MesaPlateauFM_sandlevel",
@ -1077,6 +1191,8 @@ local function register_biomes()
vertical_blend = 4,
_mcl_biome_type = "hot",
_mcl_palette_index = 22,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MesaPlateauFM_ocean",
@ -1093,6 +1209,8 @@ local function register_biomes()
heat_point = 60,
_mcl_biome_type = "hot",
_mcl_palette_index = 22,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
@ -1111,6 +1229,8 @@ local function register_biomes()
heat_point = 79,
_mcl_biome_type = "hot",
_mcl_palette_index = 1,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Savanna_beach",
@ -1126,6 +1246,8 @@ local function register_biomes()
heat_point = 79,
_mcl_biome_type = "hot",
_mcl_palette_index = 1,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Savanna_ocean",
@ -1141,6 +1263,8 @@ local function register_biomes()
heat_point = 79,
_mcl_biome_type = "hot",
_mcl_palette_index = 1,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Savanna M
@ -1160,6 +1284,8 @@ local function register_biomes()
heat_point = 100,
_mcl_biome_type = "hot",
_mcl_palette_index = 23,
_mcl_skycolor = "#6EB1FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "SavannaM_ocean",
@ -1175,6 +1301,8 @@ local function register_biomes()
heat_point = 100,
_mcl_biome_type = "hot",
_mcl_palette_index = 23,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Jungle
@ -1192,6 +1320,8 @@ local function register_biomes()
heat_point = 81,
_mcl_biome_type = "medium",
_mcl_palette_index = 24,
_mcl_skycolor = "#77A8FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Jungle_shore",
@ -1207,6 +1337,8 @@ local function register_biomes()
heat_point = 81,
_mcl_biome_type = "medium",
_mcl_palette_index = 24,
_mcl_skycolor = "#77A8FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Jungle_ocean",
@ -1223,6 +1355,8 @@ local function register_biomes()
heat_point = 81,
_mcl_biome_type = "medium",
_mcl_palette_index = 24,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Jungle M
@ -1241,6 +1375,8 @@ local function register_biomes()
heat_point = 81,
_mcl_biome_type = "medium",
_mcl_palette_index = 25,
_mcl_skycolor = "#77A8FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "JungleM_shore",
@ -1256,6 +1392,8 @@ local function register_biomes()
heat_point = 81,
_mcl_biome_type = "medium",
_mcl_palette_index = 25,
_mcl_skycolor = "#77A8FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "JungleM_ocean",
@ -1272,6 +1410,8 @@ local function register_biomes()
heat_point = 81,
_mcl_biome_type = "medium",
_mcl_palette_index = 25,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Jungle Edge
@ -1289,6 +1429,8 @@ local function register_biomes()
heat_point = 76,
_mcl_biome_type = "medium",
_mcl_palette_index = 26,
_mcl_skycolor = "#77A8FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "JungleEdge_ocean",
@ -1304,6 +1446,8 @@ local function register_biomes()
heat_point = 76,
_mcl_biome_type = "medium",
_mcl_palette_index = 26,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Jungle Edge M (very rare).
@ -1324,6 +1468,8 @@ local function register_biomes()
heat_point = 79,
_mcl_biome_type = "medium",
_mcl_palette_index = 27,
_mcl_skycolor = "#77A8FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "JungleEdgeM_ocean",
@ -1339,6 +1485,8 @@ local function register_biomes()
heat_point = 79,
_mcl_biome_type = "medium",
_mcl_palette_index = 27,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Mangrove swamp
@ -1357,6 +1505,8 @@ local function register_biomes()
heat_point = 94,
_mcl_biome_type = "hot",
_mcl_palette_index = 27,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MangroveSwamp_shore",
@ -1372,6 +1522,8 @@ local function register_biomes()
heat_point = 94,
_mcl_biome_type = "hot",
_mcl_palette_index = 27,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MangroveSwamp_ocean",
@ -1388,6 +1540,8 @@ local function register_biomes()
heat_point = 94,
_mcl_biome_type = "hot",
_mcl_palette_index = 27,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Swampland
minetest.register_biome({
@ -1405,6 +1559,8 @@ local function register_biomes()
heat_point = 50,
_mcl_biome_type = "medium",
_mcl_palette_index = 28,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Swampland_shore",
@ -1420,6 +1576,8 @@ local function register_biomes()
heat_point = 50,
_mcl_biome_type = "medium",
_mcl_palette_index = 28,
_mcl_skycolor = "#78A7FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "Swampland_ocean",
@ -1436,6 +1594,8 @@ local function register_biomes()
heat_point = 50,
_mcl_biome_type = "medium",
_mcl_palette_index = 28,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Mushroom Island / Mushroom Island Shore (rare)
@ -1456,6 +1616,8 @@ local function register_biomes()
heat_point = 50,
_mcl_biome_type = "medium",
_mcl_palette_index = 29,
_mcl_skycolor = "#77A8FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
@ -1472,6 +1634,8 @@ local function register_biomes()
heat_point = 50,
_mcl_biome_type = "medium",
_mcl_palette_index = 29,
_mcl_skycolor = "#77A8FF",
_mcl_fogcolor = "#C0D8FF"
})
minetest.register_biome({
name = "MushroomIsland_ocean",
@ -1487,6 +1651,8 @@ local function register_biomes()
heat_point = 50,
_mcl_biome_type = "medium",
_mcl_palette_index = 29,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Add deep ocean and underground biomes automatically.
@ -1509,6 +1675,8 @@ local function register_biomes()
vertical_blend = 5,
_mcl_biome_type = minetest.registered_biomes[biome]._mcl_biome_type,
_mcl_palette_index = minetest.registered_biomes[biome]._mcl_palette_index,
_mcl_skycolor = "#7BA4FF",
_mcl_fogcolor = "#C0D8FF"
})
-- Underground biomes are used to identify the underground and to prevent nodes from the surface
@ -1521,6 +1689,8 @@ local function register_biomes()
y_max = DEEP_OCEAN_MIN - 1,
_mcl_biome_type = minetest.registered_biomes[biome]._mcl_biome_type,
_mcl_palette_index = minetest.registered_biomes[biome]._mcl_palette_index,
_mcl_skycolor = minetest.registered_biomes[biome]._mcl_skycolor,
_mcl_fogcolor = minetest.registered_biomes[biome]._mcl_fogcolor,
})
end
@ -1575,6 +1745,8 @@ local function register_dimension_biomes()
humidity_point = 0,
_mcl_biome_type = "hot",
_mcl_palette_index = 17,
-- _mcl_skycolor = "#6EB1FF",
-- _mcl_fogcolor = "#330808"
})
minetest.register_decoration({
@ -1604,6 +1776,8 @@ local function register_dimension_biomes()
humidity_point = 33,
_mcl_biome_type = "hot",
_mcl_palette_index = 17,
-- _mcl_skycolor = "#6EB1FF",
-- _mcl_fogcolor = "#1B4745"
})
minetest.register_decoration({
deco_type = "simple",
@ -1653,6 +1827,8 @@ local function register_dimension_biomes()
humidity_point = 47,
_mcl_biome_type = "hot",
_mcl_palette_index = 17,
-- _mcl_skycolor = "#6EB1FF",
-- _mcl_fogcolor = "#330303"
})
minetest.register_decoration({
deco_type = "simple",
@ -1680,6 +1856,8 @@ local function register_dimension_biomes()
humidity_point = 70,
_mcl_biome_type = "hot",
_mcl_palette_index = 17,
-- _mcl_skycolor = "#6EB1FF",
-- _mcl_fogcolor = "#1A051A"
})
minetest.register_decoration({
deco_type = "simple",
@ -1707,6 +1885,8 @@ local function register_dimension_biomes()
humidity_point = 80,
_mcl_biome_type = "hot",
_mcl_palette_index = 17,
-- _mcl_skycolor = "#6EB1FF",
-- _mcl_fogcolor = "#685F70"
})
minetest.register_decoration({
@ -1759,6 +1939,8 @@ local function register_dimension_biomes()
vertical_blend = 16,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
-- _mcl_skycolor = "#000000",
-- _mcl_fogcolor = "#A080A0"
})
minetest.register_biome({
name = "EndBarrens",
@ -1774,6 +1956,8 @@ local function register_dimension_biomes()
vertical_blend = 16,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
-- _mcl_skycolor = "#000000",
-- _mcl_fogcolor = "#A080A0"
})
minetest.register_biome({
name = "EndMidlands",
@ -1789,6 +1973,8 @@ local function register_dimension_biomes()
vertical_blend = 16,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
-- _mcl_skycolor = "#000000",
-- _mcl_fogcolor = "#A080A0"
})
minetest.register_biome({
name = "EndHighlands",
@ -1804,6 +1990,8 @@ local function register_dimension_biomes()
vertical_blend = 16,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
-- _mcl_skycolor = "#000000",
-- _mcl_fogcolor = "#A080A0"
})
minetest.register_biome({
name = "EndSmallIslands",
@ -1819,6 +2007,8 @@ local function register_dimension_biomes()
vertical_blend = 16,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
-- _mcl_skycolor = "#000000",
-- _mcl_fogcolor = "#A080A0"
})
minetest.register_biome({
@ -1837,6 +2027,8 @@ local function register_dimension_biomes()
min_pos = {x = -1250, y = mcl_vars.mg_end_min, z = -1250},
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
-- _mcl_skycolor = "#000000",
-- _mcl_fogcolor = "#A080A0"
})
minetest.register_biome({
@ -1853,6 +2045,8 @@ local function register_dimension_biomes()
vertical_blend = 16,
_mcl_biome_type = "medium",
_mcl_palette_index = 0,
-- _mcl_skycolor = "#000000",
-- _mcl_fogcolor = "#A080A0"
})
end