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

◆ AllowsSandfall()

static bool Terraria.WorldGen.AllowsSandfall ( Tile tileTopCache)
inlinestatic

Definition at line 76670 of file WorldGen.cs.

76671 {
76672 if (tileTopCache == null)
76673 {
76674 return false;
76675 }
76676 bool result = true;
76677 if (tileTopCache.active() && (TileID.Sets.BasicChest[tileTopCache.type] || TileID.Sets.BasicChestFake[tileTopCache.type] || tileTopCache.type == 323 || tileTopCache.type == 88 || tileTopCache.type == 80 || tileTopCache.type == 77 || tileTopCache.type == 26 || tileTopCache.type == 475 || tileTopCache.type == 470 || tileTopCache.type == 597))
76678 {
76679 result = false;
76680 }
76681 return result;
76682 }
static bool[] BasicChest
Definition TileID.cs:223
static bool[] BasicChestFake
Definition TileID.cs:225

References Terraria.ID.TileID.Sets.BasicChest, and Terraria.ID.TileID.Sets.BasicChestFake.