diff --git a/World/Abyss.cs b/World/Abyss.cs index 83fe3baaa0..ed9db6a412 100644 --- a/World/Abyss.cs +++ b/World/Abyss.cs @@ -303,10 +303,6 @@ namespace CalamityMod.World maxAbyssIslands = 16; //Medium World } - // Place the Terminus shrine. - UndergroundShrines.SpecialHut((ushort)ModContent.TileType(), (ushort)ModContent.TileType(), - (ushort)ModContent.WallType(), UndergroundShrines.UndergroundShrineType.Abyss, abyssChasmX, AbyssChasmBottom); - //place eidolon snail fossil int realFossilY = 0; bool placedFossil = false; @@ -349,6 +345,13 @@ namespace CalamityMod.World } } + //place a single abyss island under the terminus shrine + AbyssIsland(abyssChasmX, AbyssChasmBottom + 5, 65, 75, 40, 45, false, false, true); + + //place terminus shrine + UndergroundShrines.SpecialHut((ushort)ModContent.TileType(), (ushort)ModContent.TileType(), + (ushort)ModContent.WallType(), UndergroundShrines.UndergroundShrineType.Abyss, abyssChasmX, AbyssChasmBottom); + int islandLocationOffset = 30; int islandLocationY = rockLayer; @@ -400,18 +403,18 @@ namespace CalamityMod.World } //place some islands lining the walls in layer 4 - for (int voidIslandY = (int)(rockLayer + y * 0.262); voidIslandY <= AbyssChasmBottom; voidIslandY++) + for (int voidIslandY = (int)(rockLayer + y * 0.262); voidIslandY <= AbyssChasmBottom - 20; voidIslandY++) { if (WorldGen.genRand.NextBool(8)) { - int randomIsland = WorldGen.genRand.Next(2); //0 1 + int randomIsland = WorldGen.genRand.Next(2); switch (randomIsland) { case 0: - AbyssIsland(abyssChasmX + 42, voidIslandY, 55, 75, 35, 45, false, true, true); + AbyssIsland(abyssChasmX + WorldGen.genRand.Next(42, 48), voidIslandY, 55, 75, 35, 45, false, true, true); break; case 1: - AbyssIsland(abyssChasmX - 42, voidIslandY, 55, 75, 35, 45, false, true, true); + AbyssIsland(abyssChasmX - WorldGen.genRand.Next(42, 48), voidIslandY, 55, 75, 35, 45, false, true, true); break; } diff --git a/World/DungeonArchive.cs b/World/DungeonArchive.cs index f1fd87cec4..86b7d39a64 100644 --- a/World/DungeonArchive.cs +++ b/World/DungeonArchive.cs @@ -26,7 +26,7 @@ namespace CalamityMod.World bool foundValidPosition = false; int dungeonArchiveColor = 0; //0 = blue, 1 = green, 2 = pink - int heightLimit = (Main.maxTilesY / 2) + (Main.maxTilesY / 7); + int heightLimit = (Main.maxTilesY / 2) + (Main.maxTilesY / 9); int xMin = WorldGen.dungeonSide == -1 ? 5 : (Main.maxTilesX / 2) + 5; int xMax = WorldGen.dungeonSide == -1 ? (Main.maxTilesX / 2) - 5 : Main.maxTilesX - 5;