Hediff Polluter - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

HediffComp_Polluter is a comp class that can be applied to a hediff so the carrier of this hediff causes constant pollution on a timer

        public int amount;
        public int timer;

How do I use this code?

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 is the hediff added by the polluter gene in Alpha Genes

<comps>
	<li Class="VEF.AnimalBehaviours.HediffCompProperties_Polluter">
		<amount>1</amount>
		<timer>600</timer>			
	</li>
</comps>
⚠️ **GitHub.com Fallback** ⚠️