Skip to content

Commit 702070a

Browse files
committedFeb 27, 2018
Floatland biomes: Add forest, tune beach height
1 parent 04a46d0 commit 702070a

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed
 

Diff for: ‎mods/default/mapgen.lua

+27-7
Original file line numberDiff line numberDiff line change
@@ -1476,13 +1476,33 @@ function default.register_floatland_biomes(floatland_level, shadow_limit)
14761476
--node_riverbed = "",
14771477
--depth_riverbed = ,
14781478
y_max = 31000,
1479-
y_min = floatland_level + 4,
1479+
y_min = floatland_level + 2,
14801480
heat_point = 50,
1481-
humidity_point = 50,
1481+
humidity_point = 25,
1482+
})
1483+
1484+
minetest.register_biome({
1485+
name = "floatland_coniferous_forest",
1486+
--node_dust = "",
1487+
node_top = "default:dirt_with_coniferous_litter",
1488+
depth_top = 1,
1489+
node_filler = "default:dirt",
1490+
depth_filler = 3,
1491+
--node_stone = "",
1492+
--node_water_top = "",
1493+
--depth_water_top = ,
1494+
--node_water = "",
1495+
--node_river_water = "",
1496+
--node_riverbed = "",
1497+
--depth_riverbed = ,
1498+
y_max = 31000,
1499+
y_min = floatland_level + 2,
1500+
heat_point = 50,
1501+
humidity_point = 75,
14821502
})
14831503

14841504
minetest.register_biome({
1485-
name = "floatland_grassland_ocean",
1505+
name = "floatland_ocean",
14861506
--node_dust = "",
14871507
node_top = "default:sand",
14881508
depth_top = 1,
@@ -1495,7 +1515,7 @@ function default.register_floatland_biomes(floatland_level, shadow_limit)
14951515
--node_river_water = "",
14961516
--node_riverbed = "",
14971517
--depth_riverbed = ,
1498-
y_max = floatland_level + 3,
1518+
y_max = floatland_level + 1,
14991519
y_min = shadow_limit,
15001520
heat_point = 50,
15011521
humidity_point = 50,
@@ -1653,7 +1673,7 @@ local function register_fern_decoration(seed, length)
16531673
octaves = 3,
16541674
persist = 0.7
16551675
},
1656-
biomes = {"coniferous_forest"},
1676+
biomes = {"coniferous_forest", "floatland_coniferous_forest"},
16571677
y_max = 31000,
16581678
y_min = 6,
16591679
decoration = "default:fern_" .. length,
@@ -1775,7 +1795,7 @@ function default.register_decorations()
17751795
octaves = 3,
17761796
persist = 0.66
17771797
},
1778-
biomes = {"taiga", "coniferous_forest"},
1798+
biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
17791799
y_max = 31000,
17801800
y_min = 2,
17811801
schematic = minetest.get_modpath("default") .. "/schematics/pine_tree.mts",
@@ -1794,7 +1814,7 @@ function default.register_decorations()
17941814
octaves = 3,
17951815
persist = 0.66
17961816
},
1797-
biomes = {"taiga", "coniferous_forest"},
1817+
biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
17981818
y_max = 31000,
17991819
y_min = 1,
18001820
schematic = minetest.get_modpath("default") .. "/schematics/pine_log.mts",

Diff for: ‎mods/flowers/mapgen.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ local function register_mushroom(name)
114114
octaves = 3,
115115
persist = 0.66
116116
},
117-
biomes = {"deciduous_forest", "coniferous_forest"},
117+
biomes = {"deciduous_forest", "coniferous_forest",
118+
"floatland_coniferous_forest"},
118119
y_max = 31000,
119120
y_min = 1,
120121
decoration = "flowers:"..name,

0 commit comments

Comments
 (0)