Describe the bug
This mod patches natural body parts in the game to drop after installing an artificial replacement. This will only happen if the body part is not damaged. The 'drop healthy limb after surgery' mechanic works for all organs except for arms.
Expected behavior
After installing a Bionic Arm, the biological arm should be spawned if it was healthy on the patient.
To Reproduce
Steps to reproduce the behavior:
Debug in a bionic arm and debug 'Finish all research'
Find a pawn with a completely healthy arm. No negative hediffs
In patient's Health tab, queue up Install bionic arm on that arm
Observe that the biological arm will not be spawned after surgery
Additional context
This mechanic seems to work fine for legs, eyes, hearts...etc. It's only arms that are having an issue. The patch method for Arms is the same as other body parts, so it's not immediately obvious what the problem is.
Technical notes
MedicalRecipesUtility.IsCleanAndDroppable() might be returning false or the PatchOperation for Arm is failing. Debug logging might be needed.
Describe the bug This mod patches natural body parts in the game to drop after installing an artificial replacement. This will only happen if the body part is not damaged. The 'drop healthy limb after surgery' mechanic works for all organs except for arms.
Expected behavior After installing a Bionic Arm, the biological arm should be spawned if it was healthy on the patient.
To Reproduce Steps to reproduce the behavior:
Additional context This mechanic seems to work fine for legs, eyes, hearts...etc. It's only arms that are having an issue. The patch method for Arms is the same as other body parts, so it's not immediately obvious what the problem is.
Technical notes
MedicalRecipesUtility.IsCleanAndDroppable()
might be returning false or the PatchOperation for Arm is failing. Debug logging might be needed.