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

◆ badOceanCaveTiles()

static bool Terraria.WorldGen.badOceanCaveTiles ( int x,
int y )
inlinestaticprivate

Definition at line 66393 of file WorldGen.cs.

66394 {
66395 if (Main.tile[x, y].wall == 83 || Main.tile[x, y].wall == 3 || Main.wallDungeon[Main.tile[x, y].wall] || Main.tile[x, y].type == 203 || Main.tile[x, y].type == 25 || Main.tileDungeon[Main.tile[x, y].type] || Main.tile[x, y].type == 26 || Main.tile[x, y].type == 31)
66396 {
66397 return true;
66398 }
66399 return false;
66400 }

References Terraria.Main.tile, Terraria.Main.tileDungeon, and Terraria.Main.wallDungeon.