Refactored OnVesselRecovered Code

Pulled the code to find all the variables of a type/module out into its
own section so I can reference it for OnVesselDestroy