Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FinishTenthAnniversaryWorld()

static void Terraria.WorldGen.FinishTenthAnniversaryWorld ( )
inlinestaticprivate

Definition at line 16853 of file WorldGen.cs.

16854 {
16855 if (!remixWorldGen)
16856 {
16858 {
16860 }
16861 PaintTheDungeon(24, 24);
16862 PaintTheLivingTrees(12, 12);
16863 PaintTheTemple(10, 5);
16864 PaintTheClouds(12, 12);
16865 PaintTheSand(7, 7);
16866 PaintThePyramids(12, 12);
16867 }
16868 PaintTheTrees();
16870 if (!getGoodWorldGen)
16871 {
16872 for (int i = 50; i < Main.maxTilesX - 50; i++)
16873 {
16874 for (int j = 50; j < Main.maxTilesY - 50; j++)
16875 {
16876 Tile tile = Main.tile[i, j];
16877 if (genRand.Next(4) == 0 && tile.active() && tile.type == 138 && tile.frameX == 0 && tile.frameY == 0)
16878 {
16879 Main.tile[i, j].type = 665;
16880 Main.tile[i, j + 1].type = 665;
16881 Main.tile[i + 1, j].type = 665;
16882 Main.tile[i + 1, j + 1].type = 665;
16883 }
16884 }
16885 }
16886 }
16887 if (!getGoodWorldGen)
16888 {
16890 }
16891 }
static void PaintTheDungeon(byte tilePaintColor, byte wallPaintColor)
static void PaintTheMushrooms()
static bool remixWorldGen
Definition WorldGen.cs:1148
static void PaintTheSand(byte tilePaintColor, byte wallPaintColor)
static UnifiedRandom genRand
Definition WorldGen.cs:1215
static void PaintTheClouds(byte tilePaintColor, byte wallPaintColor)
static void PaintTheTemple(byte tilePaintColor, byte wallPaintColor)
static void PaintThePyramids(byte tilePaintColor, byte wallPaintColor)
static void ImproveAllChestContents()
static void PaintTheLivingTrees(byte livingTreePaintColor, byte livingTreeWallPaintColor)
static bool drunkWorldGen
Definition WorldGen.cs:1154
static void ConvertSkyIslands(int convertType, bool growTrees)
static void PaintTheTrees()
static bool getGoodWorldGen
Definition WorldGen.cs:1156

References Terraria.Tile.active(), Terraria.Tile.frameX, Terraria.Tile.frameY, Terraria.Main.tile, and Terraria.Tile.type.