Resurrect - AndroidQuazar/VanillaExpandedFramework GitHub Wiki
HediffCompProperties_Resurrect is a comp class that can be applied to a hediff so if the creature dies it will be resurrected. The amount of times this can happen can be configured.
public int livesLeft = 1;
It is a comp class, so you just add it in XML in the <comps>
tag of the hediff you want to have this behaviour. For example, Phoenix Owlcats in Alpha Animals can resurrect up to 9 times
<comps>
<li Class="AnimalBehaviours.HediffCompProperties_Resurrect">
<livesLeft>9</livesLeft>
</li>
</comps>