Skip to content

Highly Flammable

juanosarg edited this page Jun 24, 2025 · 3 revisions

<- Back

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="VEF.AnimalBehaviours.CompProperties_HighlyFlammable">
		<hediffToInflict>AA_PermanentBurn</hediffToInflict>		
	</li>
</comps>

Clone this wiki locally