Hediff heat pusher - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

HediffComp_HeatPusher is a comp class that can be applied to a hediff so the carrier of the hediff acts as a heat pusher

        public int tickCounter = 60;
        public float heatPushMaxTemperature = 99999f;
        public float heatPushMinTemperature = -99999f;
        public float heatPerSecond;

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 created by the "heat radiating" gene in Alpha Genes

<comps>
	<li Class="VEF.AnimalBehaviours.HediffCompProperties_HeatPusher">
		<tickCounter>250</tickCounter>
		<heatPushMaxTemperature>80</heatPushMaxTemperature>
		<heatPerSecond>60</heatPerSecond>
	</li>
</comps>
⚠️ **GitHub.com Fallback** ⚠️