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

◆ CanDoWireStuffHere()

bool Terraria.Player.CanDoWireStuffHere ( int x,
int y )
inline

Definition at line 44711 of file Player.cs.

44712 {
44713 if (!WorldGen.InWorld(x, y))
44714 {
44715 return false;
44716 }
44717 if (!NPC.downedGolemBoss && Main.tile[x, y].wall == 87)
44718 {
44719 return false;
44720 }
44721 return true;
44722 }

References Terraria.NPC.downedGolemBoss, Terraria.WorldGen.InWorld(), and Terraria.Main.tile.