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

◆ IsChestRigged()

static bool Terraria.WorldGen.IsChestRigged ( int x,
int y )
inlinestatic

Definition at line 30886 of file WorldGen.cs.

30887 {
30888 if (Main.tile[x, y].type == 467)
30889 {
30890 return Main.tile[x, y].frameX / 36 == 4;
30891 }
30892 return false;
30893 }

References Terraria.Main.tile.

Referenced by Terraria.MessageBuffer.GetData(), and Terraria.Player.TileInteractionsUse().