I brought back the vanilla internal organs and added some new ones, but I ran into a strange issue. If any inventory slot linked to a damage zone is occupied, it disables other damage zones connected to the same bone.
In my case, the Torso damage zone caused all internal organs linked to the spine bones to be disabled whenever one of these slots was filled: inventorySlots[] = { "Vest", "Body", "Back", "Hips" };
What I Tried:
- Renaming Internal Organs: I gave the internal organs random names, thinking it was old code for organs. This didn’t help.
- Changing Bone Attachments: I moved some internal organs to a different bone (the foot) to see what would happen.
Result: The organs connected to the foot worked fine, but the ones linked to the spine were still disabled when I equipped something in the Torso slots.
It seems like if a damage zone has inventory slots and any of those slots are occupied, all other zones linked to the same bone get disabled.