If the gun was never held by another survivor, it'll be pristine. If the gun was held by another player, and that player was shot while holding the gun, the gun would suffer a reduction in condition. So basically, if you pick up a gun that is not pristine, it means it's been held by another survivor at some point.