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

Hediffs that copy comp class functionality

juanosarg edited this page Sep 8, 2022 · 3 revisions

These are HediffComp classes that copy the functionality of one of our Animal Behaviours comp classes. This makes all the effects of the comp work through a hediff, so they can be added via diseases, implants, etc

First of all, 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. For example, this allows the Animusmorphs in Alpha Animals to cause a nuzzling thought in nearby pawns. This is applied to their "jaw" part hediff.

<comps>
	<li Class="AnimalBehaviours.HediffCompProperties_ThoughtEffecter">
		<radius>10</radius>
		<tickInterval>2000</tickInterval>
		<thoughtDef>AA_BeenPsionicallyNuzzled</thoughtDef>
	</li>
</comps>

What hediff comps of this kind are implemented?

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