As a design suggestion, you might want to make examining the pile reveal the pants anyway, or at least give the player a strong hint that they haven’t searched through the pile and might want to. There’s some discussion of searching and examining here; several people said “search” essentially creates a guess-the-verb problem for them.