Psyfocus regeneration - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki
HediffComp_PsyfocusRegeneration is a comp class that can be applied to a hediff so the carrier regenerates psyfocus without having to meditate
         public int rateInTicks = 1000;
         public float regenAmount = 0.1f;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, this regenerates 0.5% psyfocus every hour:
<comps>
	<li Class="VEF.AnimalBehaviours.HediffCompProperties_PsyfocusRegeneration">
		<rateInTicks>6000</rateInTicks>
		<regenAmount>0.005</regenAmount>			
	</li>
</comps>