Definition at line 23561 of file WorldGen.cs.
23562 {
23563 int num = style / 36;
23564 int num2 = style % 36;
23565 int num3 = 54 * num;
23567 try
23568 {
23569 if (Main.tile[i,
j - 2].nactive() && Main.tileSolid[Main.tile[i,
j - 2].type] &&
SolidTile(i,
j + 2))
23570 {
23571 Main.tile[
i,
j - 1].active(active:
true);
23572 Main.tile[
i,
j - 1].type = 10;
23575 Main.tile[
i,
j].active(active:
true);
23576 Main.tile[
i,
j].type = 10;
23579 Main.tile[
i,
j + 1].active(active:
true);
23580 Main.tile[
i,
j + 1].type = 10;
23583 return true;
23584 }
23585 return false;
23586 }
23587 catch
23588 {
23589 return false;
23590 }
23591 }
static UnifiedRandom genRand
References Terraria.Enums.SolidTile, Terraria.Main.tile, and Terraria.Main.tileSolid.