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

Initial Ability

juanosarg edited this page Sep 8, 2022 · 1 revision

CompInitialAbility makes an animal always spawn with an initial ability present. Bear in mind that certain abilities will only work if the animal is also draftable, so test throroughly

    //A comp class that makes animals always spawn with an initial ability

    public AbilityDef initialAbility;

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 the Thrumborat in Vanilla Genetics Expanded to always have the burrow ability

<comps>
	<li Class="AnimalBehaviours.CompProperties_InitialAbility">
		<initialAbility>GR_Burrow</initialAbility>
	</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