if (this.x in |player.x, player.x+3| && this.x in |player.y, player.y+3) { player.chat = "The NPC touched me!";}