Tweak beaches

This commit is contained in:
Wuzzy 2017-09-10 15:01:32 +02:00
parent b7684d2980
commit 84a92817cc
1 changed files with 49 additions and 32 deletions

View File

@ -101,19 +101,36 @@ local function register_biomes()
humidity_point = 40, humidity_point = 40,
}) })
-- A cold beach-like biome
minetest.register_biome({ minetest.register_biome({
name = "cold_taiga_beach", name = "cold_taiga_beach",
node_dust = "mcl_core:snow", node_dust = "mcl_core:snow",
node_top = "mcl_core:sand", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 2,
node_water_top = "mcl_core:ice", node_water_top = "mcl_core:ice",
depth_water_top = 1, depth_water_top = 1,
node_filler = "mcl_core:sand", node_filler = "mcl_core:sandstone",
depth_filler = 2,
node_riverbed = "mcl_core:sand",
depth_riverbed = 2,
y_min = 1,
y_max = 2,
heat_point = 0,
humidity_point = 40,
})
-- Water part of the beach. Added to prevent snow being on the ice.
minetest.register_biome({
name = "cold_taiga_beach_water",
node_top = "mcl_core:sand",
depth_top = 2,
node_water_top = "mcl_core:ice",
depth_water_top = 1,
node_filler = "mcl_core:sandstone",
depth_filler = 2, depth_filler = 2,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = -3, y_min = -3,
y_max = 2, y_max = 0,
heat_point = 0, heat_point = 0,
humidity_point = 40, humidity_point = 40,
}) })
@ -208,9 +225,9 @@ local function register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "extreme_hills_beach", name = "extreme_hills_beach",
node_top = "mcl_core:sand", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 2,
depth_water_top = 1, depth_water_top = 1,
node_filler = "mcl_core:sand", node_filler = "mcl_core:sandstone",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 4, depth_riverbed = 4,
@ -383,8 +400,8 @@ local function register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "plains_beach", name = "plains_beach",
node_top = "mcl_core:sand", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 2,
node_filler = "mcl_core:sand", node_filler = "mcl_core:sandstone",
depth_filler = 2, depth_filler = 2,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -457,9 +474,9 @@ local function register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "taiga_beach", name = "taiga_beach",
node_top = "mcl_core:sand", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 2,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sandstone",
depth_filler = 3, depth_filler = 1,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = 1, y_min = 1,
@ -500,9 +517,9 @@ local function register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "forest_beach", name = "forest_beach",
node_top = "mcl_core:sand", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 2,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sandstone",
depth_filler = 3, depth_filler = 1,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = -1, y_min = -1,
@ -534,7 +551,7 @@ local function register_biomes()
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = 2, y_min = 3,
y_max = mcl_vars.mg_overworld_max, y_max = mcl_vars.mg_overworld_max,
heat_point = 33, heat_point = 33,
humidity_point = 51, humidity_point = 51,
@ -543,13 +560,13 @@ local function register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "flower_forest_beach", name = "flower_forest_beach",
node_top = "mcl_core:sand", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 2,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sandstone",
depth_filler = 3, depth_filler = 1,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = -2, y_min = -2,
y_max = 1, y_max = 2,
heat_point = 33, heat_point = 33,
humidity_point = 51, humidity_point = 51,
}) })
@ -709,7 +726,7 @@ local function register_biomes()
node_riverbed = "mcl_core:redsand", node_riverbed = "mcl_core:redsand",
depth_riverbed = 1, depth_riverbed = 1,
node_stone = "mcl_colorblocks:hardened_clay_orange", node_stone = "mcl_colorblocks:hardened_clay_orange",
y_min = 1, y_min = -3,
y_max = 10, y_max = 10,
heat_point = 88, heat_point = 88,
humidity_point = 20, humidity_point = 20,
@ -717,14 +734,14 @@ local function register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "mesa_ocean", name = "mesa_ocean",
node_top = "mcl_core:redsand", node_top = "mcl_core:sand",
depth_top = 3, depth_top = 3,
node_filler = "mcl_colorblocks:hardened_clay", node_filler = "mcl_core:sand",
depth_filler = 2, depth_filler = 2,
node_riverbed = "mcl_core:redsand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = OCEAN_MIN, y_min = OCEAN_MIN,
y_max = 0, y_max = -4,
heat_point = 88, heat_point = 88,
humidity_point = 20, humidity_point = 20,
}) })
@ -768,7 +785,7 @@ local function register_biomes()
node_riverbed = "mcl_core:redsand", node_riverbed = "mcl_core:redsand",
depth_riverbed = 1, depth_riverbed = 1,
node_stone = "mcl_colorblocks:hardened_clay_orange", node_stone = "mcl_colorblocks:hardened_clay_orange",
y_min = 1, y_min = -3,
y_max = 10, y_max = 10,
heat_point = 64, heat_point = 64,
humidity_point = 37, humidity_point = 37,
@ -776,14 +793,14 @@ local function register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "mesa_plateau_f_ocean", name = "mesa_plateau_f_ocean",
node_top = "mcl_core:redsand", node_top = "mcl_core:sand",
depth_top = 3, depth_top = 3,
node_filler = "mcl_colorblocks:hardened_clay", node_filler = "mcl_colorblocks:sand",
depth_filler = 2, depth_filler = 2,
node_riverbed = "mcl_core:redsand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = OCEAN_MIN, y_min = OCEAN_MIN,
y_max = 0, y_max = -4,
heat_point = 64, heat_point = 64,
humidity_point = 37, humidity_point = 37,
}) })
@ -806,9 +823,9 @@ local function register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "savanna_beach", name = "savanna_beach",
node_top = "mcl_core:sand", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 3,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sandstone",
depth_filler = 3, depth_filler = 2,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = -1, y_min = -1,
@ -839,7 +856,7 @@ local function register_biomes()
node_top = "mcl_core:dirt_with_grass", node_top = "mcl_core:dirt_with_grass",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:coarse_dirt", node_filler = "mcl_core:coarse_dirt",
depth_filler = 2, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = 1, y_min = 1,