Skip to content

Commit

Permalink
Floatland biomes: Simplify to grassland
Browse files Browse the repository at this point in the history
Make the placeholder biomes grassland to make the shape of the floatland
terrain more visible.
  • Loading branch information
paramat committed Aug 6, 2017
1 parent b4abb07 commit 5757759
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
17 changes: 7 additions & 10 deletions mods/default/mapgen.lua
Expand Up @@ -1446,19 +1446,18 @@ end

-- Biomes for floatlands
-- Used when mgv7 'biomerepeat' flag is false
-- TODO Temporary simple biomes to be developed later

function default.register_floatland_biomes(floatland_level, shadow_limit)
-- TODO Temporary simple biomes to be replaced by special floatland biomes later.

-- Coniferous forest
function default.register_floatland_biomes(floatland_level, shadow_limit)

minetest.register_biome({
name = "floatland_coniferous_forest",
name = "floatland_grassland",
--node_dust = "",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
depth_filler = 1,
--node_stone = "",
--node_water_top = "",
--depth_water_top = ,
Expand All @@ -1472,10 +1471,8 @@ function default.register_floatland_biomes(floatland_level, shadow_limit)
humidity_point = 50,
})

-- Coniferous forest ocean

minetest.register_biome({
name = "floatland_coniferous_forest_ocean",
name = "floatland_grassland_ocean",
--node_dust = "",
node_top = "default:sand",
depth_top = 1,
Expand Down Expand Up @@ -1607,7 +1604,7 @@ local function register_grass_decoration(offset, scale, length)
},
biomes = {"grassland", "grassland_dunes", "deciduous_forest",
"coniferous_forest", "coniferous_forest_dunes",
"floatland_grassland", "floatland_coniferous_forest"},
"floatland_grassland"},
y_min = 1,
y_max = 31000,
decoration = "default:grass_" .. length,
Expand Down Expand Up @@ -1721,7 +1718,7 @@ function default.register_decorations()
octaves = 3,
persist = 0.66
},
biomes = {"taiga", "coniferous_forest", "floatland_coniferous_forest"},
biomes = {"taiga", "coniferous_forest"},
y_min = 2,
y_max = 31000,
schematic = minetest.get_modpath("default") .. "/schematics/pine_tree.mts",
Expand Down
5 changes: 2 additions & 3 deletions mods/flowers/mapgen.lua
Expand Up @@ -95,7 +95,7 @@ local function register_flower(seed, name)
persist = 0.6
},
biomes = {"grassland", "deciduous_forest", "coniferous_forest",
"floatland_coniferous_forest"},
"floatland_grassland"},
y_min = 1,
y_max = 31000,
decoration = "flowers:"..name,
Expand All @@ -115,8 +115,7 @@ local function register_mushroom(name)
octaves = 3,
persist = 0.66
},
biomes = {"deciduous_forest", "coniferous_forest",
"floatland_coniferous_forest"},
biomes = {"deciduous_forest", "coniferous_forest"},
y_min = 1,
y_max = 31000,
decoration = "flowers:"..name,
Expand Down

0 comments on commit 5757759

Please sign in to comment.