Closed 81ninja closed 8 years ago
Thanks for letting us know. However, the API is for the 1.2 pre-release as far as I know, which could mean that the recovery scenarios had their names changed in 1.2.
I'll take a look this weekend and check it, and potentially push a fix to it.
EDIT: I just checked and 1.1.3 had RecoverAsset as contract type. A simple rename should be enough to fix the issue.
As of 1.1.3, stranded Kerbals (either EVA or in pods) are not being generated along with rescue contracts in career mode, even after you accept the contract, disconnect and join back again.
I notice there's code on ScenarioWorker.cs to spawn missing kerbals for RescueKerbal missions. But those contracts are (at least since 1.1.3) actually named as RecoverAsset. Here's a snip from my save file:
From the description, Mauliana should be stranded inside a Mk1 Crew Cabin in LKO.
I'm not sure if it's just a matter of changing RescueKerbal to RecoverAsset in the code. I think it wouldn't be a final solution, because it seems there are, should or there will be contracts for recovering assets other than Kerbonauts in the future - from what I can tell by looking at the API at https://kerbalspaceprogram.com/api/interface_contracts_1_1_i_contract_parameter_host.html