Skip to content

Commit a1b8b68

Browse files
committedDec 19, 2015
Default/mapgen: Re-add grassy sand dune biomes
1 parent b57ecb9 commit a1b8b68

File tree

1 file changed

+60
-4
lines changed

1 file changed

+60
-4
lines changed
 

‎mods/default/mapgen.lua

+60-4
Original file line numberDiff line numberDiff line change
@@ -446,12 +446,30 @@ function default.register_biomes()
446446
--depth_water_top = ,
447447
--node_water = "",
448448
--node_river_water = "",
449-
y_min = 5,
449+
y_min = 6,
450450
y_max = 31000,
451451
heat_point = 40,
452452
humidity_point = 35,
453453
})
454454

455+
minetest.register_biome({
456+
name = "stone_grassland_dunes",
457+
--node_dust = "",
458+
node_top = "default:sand",
459+
depth_top = 1,
460+
node_filler = "default:sand",
461+
depth_filler = 2,
462+
--node_stone = "",
463+
--node_water_top = "",
464+
--depth_water_top = ,
465+
--node_water = "",
466+
--node_river_water = "",
467+
y_min = 5,
468+
y_max = 5,
469+
heat_point = 40,
470+
humidity_point = 35,
471+
})
472+
455473
minetest.register_biome({
456474
name = "stone_grassland_ocean",
457475
--node_dust = "",
@@ -483,12 +501,30 @@ function default.register_biomes()
483501
--depth_water_top = ,
484502
--node_water = "",
485503
--node_river_water = "",
486-
y_min = 5,
504+
y_min = 6,
487505
y_max = 31000,
488506
heat_point = 40,
489507
humidity_point = 65,
490508
})
491509

510+
minetest.register_biome({
511+
name = "coniferous_forest_dunes",
512+
--node_dust = "",
513+
node_top = "default:sand",
514+
depth_top = 1,
515+
node_filler = "default:sand",
516+
depth_filler = 3,
517+
--node_stone = "",
518+
--node_water_top = "",
519+
--depth_water_top = ,
520+
--node_water = "",
521+
--node_river_water = "",
522+
y_min = 5,
523+
y_max = 5,
524+
heat_point = 40,
525+
humidity_point = 65,
526+
})
527+
492528
minetest.register_biome({
493529
name = "coniferous_forest_ocean",
494530
--node_dust = "",
@@ -520,12 +556,30 @@ function default.register_biomes()
520556
--depth_water_top = ,
521557
--node_water = "",
522558
--node_river_water = "",
523-
y_min = 5,
559+
y_min = 6,
524560
y_max = 31000,
525561
heat_point = 60,
526562
humidity_point = 35,
527563
})
528564

565+
minetest.register_biome({
566+
name = "sandstone_grassland_dunes",
567+
--node_dust = "",
568+
node_top = "default:sand",
569+
depth_top = 1,
570+
node_filler = "default:sand",
571+
depth_filler = 2,
572+
node_stone = "default:sandstone",
573+
--node_water_top = "",
574+
--depth_water_top = ,
575+
--node_water = "",
576+
--node_river_water = "",
577+
y_min = 5,
578+
y_max = 5,
579+
heat_point = 60,
580+
humidity_point = 35,
581+
})
582+
529583
minetest.register_biome({
530584
name = "sandstone_grassland_ocean",
531585
--node_dust = "",
@@ -879,7 +933,9 @@ local function register_grass_decoration(offset, scale, length)
879933
persist = 0.6
880934
},
881935
biomes = {"stone_grassland", "sandstone_grassland",
882-
"deciduous_forest", "coniferous_forest"},
936+
"deciduous_forest", "coniferous_forest",
937+
"stone_grassland_dunes", "sandstone_grassland_dunes",
938+
"coniferous_forest_dunes"},
883939
y_min = 1,
884940
y_max = 31000,
885941
decoration = "default:grass_"..length,

0 commit comments

Comments
 (0)
Please sign in to comment.