Sunken my runes till I Terracotta
This commit is contained in:
1 parent
07a5587c57
commit
b4345aee9a
8 files changed
+18
-18
No files matched your search
@@ -61,7 +61,7 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
return;
|
||||
|
||||
// Place corals
|
||||
if (WorldGen.genRand.NextBool(3))
|
||||
if (WorldGen.genRand.NextBool(1))
|
||||
{
|
||||
up.TileType = (ushort)ModContent.TileType<SmallCorals>();
|
||||
up.HasTile = true;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
Main.tileFrameImportant[Type] = true;
|
||||
Main.tileObsidianKill[Type] = true;
|
||||
Main.tileSpelunker[Type] = true;
|
||||
Main.tileShine[Type] = 2000;
|
||||
Main.tileShine[Type] = 3500;
|
||||
Main.tileShine2[Type] = true;
|
||||
|
||||
HitSound = SoundID.Item27;
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 9.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -21,7 +21,7 @@ namespace CalamityMod.Tiles.SunkenSea
|
||||
CalamityUtils.MergeWithGeneral(Type);
|
||||
CalamityUtils.MergeWithDesert(Type);
|
||||
Main.tileLighted[Type] = true;
|
||||
Main.tileShine[Type] = 3000;
|
||||
Main.tileShine[Type] = 5000;
|
||||
Main.tileShine2[Type] = true;
|
||||
|
||||
TileID.Sets.ChecksForMerge[Type] = true;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 4.1 KiB |
+15
-15
@@ -1350,37 +1350,37 @@ namespace CalamityMod.World
|
||||
if (Main.tile[X, Y].TileType == ModContent.TileType<Limestone>())
|
||||
{
|
||||
//BranchCoralsOnLimestone
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y + 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 7);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y + 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 1);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y - 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 5);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y - 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 4);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y - 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 3);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y + 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 2);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y + 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 6);
|
||||
@@ -1389,42 +1389,42 @@ namespace CalamityMod.World
|
||||
if (Main.tile[X, Y].TileType == ModContent.TileType<PolypSand>())
|
||||
{
|
||||
//BranchCoralsOnSand
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y + 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 3);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y + 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 1);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y - 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 5);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y - 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 4);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y - 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 3);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y + 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 2);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(7))
|
||||
if (WorldGen.genRand.NextBool(15))
|
||||
{
|
||||
ushort[] BranchCorals = new ushort[] { (ushort)ModContent.TileType<BranchCoral>() };
|
||||
WorldGen.PlaceObject(X, Y + 1, WorldGen.genRand.Next(BranchCorals), true, 0, 0, 8);
|
||||
}
|
||||
if (WorldGen.genRand.NextBool(3))
|
||||
if (WorldGen.genRand.NextBool(6))
|
||||
{
|
||||
ushort[] DigitateCorals = new ushort[] { (ushort)ModContent.TileType<DigitateCoral>(),
|
||||
(ushort)ModContent.TileType<DigitateCoral3>(), (ushort)ModContent.TileType<DigitateCoral2>() };
|
||||
|
||||
Reference in new issue
Block a user