Fix organ harvest cheeses.
Introduction
In vanilla, removing artificial body parts does not count as organ harvesting, which, in some respects, makes sense.
However, this behavior introduces several exploits, such as:
[list]
[*] Organ harvested thought can be circumvented by, for example, installing a detoxifier lung into a prisoner and then removing it, thereby producing a natural lung without any penalty.
[*] Prisoners can be incapacitated by installing peg legs and then removing them without any penalty, effectively nullifying prison break mechanics. (By contrast, using a surgery that directly removes legs will apply organ harvest thoughts, when added by a mod.)
[/list]
With this mod, removing any artificial body part that has a natural counterpart is treated as organ harvesting, preventing the exploits described above.
Details
[list]
[*] Organ use precepts are still respected (including modded ones).
[*] If a prisoner is killed by surgery (for example, by removing a bionic heart), this mod does nothing, as the game will instead apply the “Innocent prisoner died” thought.
[*] Installing an artificial body parts over another artificial body parts isn't treated as organ harvesting.
[*] Removing artificial implants without natural counterparts (such as a stoneskin gland) is unaffected by this mod.
[/list]
Compatibility
[list]
[*] This mod should work with modded organ use precepts (checked with VRE - Pigskin), unless they use some kind of custom codes.
[*] Works in my modlist.
[/list]