Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Highly Flammable

juanosarg edited this page Jan 25, 2021 · 1 revision

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>

VFE Core

General Comp classes

General DefModExtensions

Item Processor

PipeSystem

Custom Structure Generation

Multi Verb Combat Framework - MVCF

Animal Behaviours

Apparel

Cuisine

Furniture

Plants

Clone this wiki locally