Active Terrain Healer - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

TerrainCompProperties_Healer allows the terrain to heal pawns traversing it

        public float amountToHeal;
        public bool curePermanent = true;

How do I use this code?

It is a comp class, so you just add it in XML in the <terrainComps> tag of the ActiveTerrain.

<terrainComps>
	<li Class="VEF.Maps.TerrainCompProperties_Healer">
		<amountToHeal>0.1</amountToHeal>
		<curePermanent>false</curePermanent>
	</li>		
</terrainComps>
⚠️ **GitHub.com Fallback** ⚠️