Highly Flammable - AndroidQuazar/VanillaExpandedFramework GitHub Wiki

CompHighlyFlammable will cause an animal to get a health condition (hediff) besides from Burn when it is set on fire

    //A comp class that will make an animal get a hediff if it is set on fire

    public string hediffToInflict = "";
    public int tickInterval = 50;

How do I use this code?

It is a comp class, so you just add it in XML in the <comps> tag. For example, this allows Wildpods in Alpha Animals to get permanent (untreatable) burns when on fire

<comps>
	<li Class="AnimalBehaviours.CompProperties_HighlyFlammable">
		<hediffToInflict>AA_PermanentBurn</hediffToInflict>		
	</li>
</comps>
⚠️ **GitHub.com Fallback** ⚠️