From 60b5f4b66be2252460eecae5da08010c5b6b02f5 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 15 Apr 2012 07:37:36 +0000 Subject: Lapis gets generated (thanks, Fordship) git-svn-id: http://mc-server.googlecode.com/svn/trunk@463 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cWorldGenerator.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/cWorldGenerator.cpp') diff --git a/source/cWorldGenerator.cpp b/source/cWorldGenerator.cpp index 19dc7835a..cdb3951b8 100644 --- a/source/cWorldGenerator.cpp +++ b/source/cWorldGenerator.cpp @@ -60,6 +60,10 @@ const int MAX_HEIGHT_DIAMOND = 16; const int NUM_NESTS_DIAMOND = 6; const int NEST_SIZE_DIAMOND = 5; +const int MAX_HEIGHT_LAPIS = 16; +const int NUM_NESTS_LAPIS = 6; +const int NEST_SIZE_LAPIS = 5; + @@ -321,6 +325,7 @@ void cWorldGenerator::GenerateTerrain(int a_ChunkX, int a_ChunkY, int a_ChunkZ, GenerateOre(E_BLOCK_REDSTONE_ORE, MAX_HEIGHT_REDSTONE, NUM_NESTS_REDSTONE, NEST_SIZE_REDSTONE, a_BlockData); GenerateOre(E_BLOCK_GOLD_ORE, MAX_HEIGHT_GOLD, NUM_NESTS_GOLD, NEST_SIZE_GOLD, a_BlockData); GenerateOre(E_BLOCK_DIAMOND_ORE, MAX_HEIGHT_DIAMOND, NUM_NESTS_DIAMOND, NEST_SIZE_DIAMOND, a_BlockData); + GenerateOre(E_BLOCK_LAPIS_ORE, MAX_HEIGHT_LAPIS, NUM_NESTS_LAPIS, NEST_SIZE_LAPIS, a_BlockData); } -- cgit v1.2.3