Remove on Faction Change - KonradHeinser/EBSGFramework GitHub Wiki
This simple comp just removes the hediff if the pawn's faction changes at any point. This technically only records the starting faction after one tick interval (1-15 ticks) to ensure that other effects on the hediff (i.e. Temporary Faction and any other similar effects from other mods) will have a chance to set the pawn's faction before this comp begins checking
<comps>
<li Class="EBSGFramework.HediffCompProperties_RemoveOnFactionChange" />
</comps>