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

◆ AI_007_GrapplingHooks_CanTileBeLatchedOnTo()

bool Terraria.Projectile.AI_007_GrapplingHooks_CanTileBeLatchedOnTo ( Tile theTile)
inlineprivate

Definition at line 43038 of file Projectile.cs.

43039 {
43040 return Main.tileSolid[theTile.type] | (theTile.type == 314) | (type == 865 && TileID.Sets.IsATreeTrunk[theTile.type]) | (type == 865 && theTile.type == 323);
43041 }
static bool[] IsATreeTrunk
Definition TileID.cs:91

References Terraria.ID.TileID.Sets.IsATreeTrunk, Terraria.Main.tileSolid, and System.type.