1
0
Fork 0

Use sand and gravel for ocean floors

This commit is contained in:
Wuzzy 2019-12-22 01:22:05 +01:00
parent 9fdbb35f24
commit bbc5f2a0d9
1 changed files with 55 additions and 55 deletions

View File

@ -144,9 +144,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "IcePlainsSpikes_ocean", name = "IcePlainsSpikes_ocean",
node_top = "mcl_core:sand", node_top = "mcl_core:gravel",
depth_top = 2, depth_top = 2,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 3, depth_filler = 3,
node_river_water = "mcl_core:ice", node_river_water = "mcl_core:ice",
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
@ -216,9 +216,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "ColdTaiga_ocean", name = "ColdTaiga_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -249,9 +249,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "MegaTaiga_ocean", name = "MegaTaiga_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -281,9 +281,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "MegaSpruceTaiga_ocean", name = "MegaSpruceTaiga_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -330,9 +330,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "ExtremeHills_ocean", name = "ExtremeHills_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 4, depth_filler = 4,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 4, depth_riverbed = 4,
@ -364,9 +364,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "ExtremeHillsM_ocean", name = "ExtremeHillsM_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 3, depth_riverbed = 3,
@ -417,9 +417,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "ExtremeHills+_ocean", name = "ExtremeHills+_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 4, depth_filler = 4,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 4, depth_riverbed = 4,
@ -448,7 +448,7 @@ local function register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "StoneBeach_ocean", name = "StoneBeach_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 1, depth_riverbed = 1,
@ -483,9 +483,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "IcePlains_ocean", name = "IcePlains_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -530,9 +530,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "Plains_ocean", name = "Plains_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -562,9 +562,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "SunflowerPlains_ocean", name = "SunflowerPlains_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:dirt", node_riverbed = "mcl_core:dirt",
depth_riverbed = 2, depth_riverbed = 2,
@ -609,9 +609,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "Taiga_ocean", name = "Taiga_ocean",
node_top = "mcl_core:sand", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -656,9 +656,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "Forest_ocean", name = "Forest_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -703,9 +703,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "FlowerForest_ocean", name = "FlowerForest_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -735,9 +735,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "BirchForest_ocean", name = "BirchForest_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -767,9 +767,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "BirchForestM_ocean", name = "BirchForestM_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -832,9 +832,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "RoofedForest_ocean", name = "RoofedForest_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 2, depth_filler = 2,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -1005,7 +1005,7 @@ local function register_biomes()
name = "MesaPlateauF_ocean", name = "MesaPlateauF_ocean",
node_top = "mcl_core:sand", node_top = "mcl_core:sand",
depth_top = 3, depth_top = 3,
node_filler = "mcl_colorblocks:sand", node_filler = "mcl_core:sand",
depth_filler = 2, depth_filler = 2,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -1077,7 +1077,7 @@ local function register_biomes()
name = "MesaPlateauFM_ocean", name = "MesaPlateauFM_ocean",
node_top = "mcl_core:sand", node_top = "mcl_core:sand",
depth_top = 3, depth_top = 3,
node_filler = "mcl_colorblocks:sand", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 3, depth_riverbed = 3,
@ -1124,9 +1124,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "Savanna_ocean", name = "Savanna_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -1158,9 +1158,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "SavannaM_ocean", name = "SavannaM_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -1205,9 +1205,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "Jungle_ocean", name = "Jungle_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -1254,9 +1254,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "JungleM_ocean", name = "JungleM_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -1287,9 +1287,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "JungleEdge_ocean", name = "JungleEdge_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 2, depth_filler = 2,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -1322,9 +1322,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "JungleEdgeM_ocean", name = "JungleEdgeM_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:sand",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:sand",
depth_filler = 4, depth_filler = 4,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -1422,9 +1422,9 @@ local function register_biomes()
}) })
minetest.register_biome({ minetest.register_biome({
name = "MushroomIsland_ocean", name = "MushroomIsland_ocean",
node_top = "mcl_core:dirt", node_top = "mcl_core:gravel",
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:gravel",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:sand", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -1440,18 +1440,18 @@ local function register_biomes()
for i=1, #overworld_biomes do for i=1, #overworld_biomes do
local biome = overworld_biomes[i] local biome = overworld_biomes[i]
-- Deep Ocean: Has gravel floor -- Deep Ocean
minetest.register_biome({ minetest.register_biome({
name = biome .. "_deep_ocean", name = biome .. "_deep_ocean",
heat_point = minetest.registered_biomes[biome].heat_point, heat_point = minetest.registered_biomes[biome].heat_point,
humidity_point = minetest.registered_biomes[biome].humidity_point, humidity_point = minetest.registered_biomes[biome].humidity_point,
y_min = DEEP_OCEAN_MIN, y_min = DEEP_OCEAN_MIN,
y_max = DEEP_OCEAN_MAX, y_max = DEEP_OCEAN_MAX,
node_top = "mcl_core:gravel", node_top = minetest.registered_biomes[biome.."_ocean"].node_top,
depth_top = 1, depth_top = 2,
node_filler = "mcl_core:gravel", node_filler = minetest.registered_biomes[biome.."_ocean"].node_filler,
depth_filler = 2, depth_filler = 3,
node_riverbed = "mcl_core:gravel", node_riverbed = minetest.registered_biomes[biome.."_ocean"].node_riverbed,
depth_riverbed = 2, depth_riverbed = 2,
vertical_blend = 5, vertical_blend = 5,
_mcl_biome_type = minetest.registered_biomes[biome]._mcl_biome_type, _mcl_biome_type = minetest.registered_biomes[biome]._mcl_biome_type,