There are two instances where I'll need to know whether the player as a certain item. In one, I'll need to know if he has at least one lockpick. In the other, I need to know whether he has at least one unit of juniper berries.
What would be the best way to do this?