summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-08-10 11:57:05 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-08-10 11:57:05 +0200
commite529401dbb6d9c6de3b5e81b3308a478fe1a36db (patch)
treefe8010a1eb8485250739523c2050ee129b007111 /src/Generating/ComposableGenerator.cpp
parentAdded NetherOreNests. (diff)
downloadcuberite-e529401dbb6d9c6de3b5e81b3308a478fe1a36db.tar
cuberite-e529401dbb6d9c6de3b5e81b3308a478fe1a36db.tar.gz
cuberite-e529401dbb6d9c6de3b5e81b3308a478fe1a36db.tar.bz2
cuberite-e529401dbb6d9c6de3b5e81b3308a478fe1a36db.tar.lz
cuberite-e529401dbb6d9c6de3b5e81b3308a478fe1a36db.tar.xz
cuberite-e529401dbb6d9c6de3b5e81b3308a478fe1a36db.tar.zst
cuberite-e529401dbb6d9c6de3b5e81b3308a478fe1a36db.zip
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r--src/Generating/ComposableGenerator.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index 1ae86a29f..58ad8fc2e 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -387,6 +387,28 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
m_FinishGens.push_back(new cFinishGenSingleTopBlock(Seed, E_BLOCK_LILY_PAD, AllowedBiomes, 4, AllowedBlocks));
}
+ else if (NoCaseCompare(*itr, "NaturalPatches") == 0)
+ {
+ cStructGenOreNests::OreList Ores;
+
+ // Dirt vein
+ cStructGenOreNests::OreInfo DirtVein;
+ DirtVein.BlockType = E_BLOCK_DIRT;
+ DirtVein.MaxHeight = 127;
+ DirtVein.NumNests = 20;
+ DirtVein.NestSize = 32;
+ Ores.push_back(DirtVein);
+
+ // Gravel vein
+ cStructGenOreNests::OreInfo GravelVein;
+ GravelVein.BlockType = E_BLOCK_DIRT;
+ GravelVein.MaxHeight = 127;
+ GravelVein.NumNests = 20;
+ GravelVein.NestSize = 32;
+ Ores.push_back(GravelVein);
+
+ m_FinishGens.push_back(new cStructGenOreNests(Seed, Ores, E_BLOCK_STONE));
+ }
else if (NoCaseCompare(*itr, "NetherClumpFoliage") == 0)
{
m_FinishGens.push_back(new cFinishGenNetherClumpFoliage(Seed));