Skip to content

Regeneration

juanosarg edited this page Jan 25, 2021 · 3 revisions

CompRegeneration is a comp class that allows an animal to regenerate wounds

    //A very simple class that regenerates wounds

    public int rateInTicks = 1000;

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 Raptor Shrimp in Alpha Animals to regenerate

<comps>
	<li Class="AnimalBehaviours.CompProperties_Regeneration">
		<rateInTicks>20</rateInTicks>
	</li>
</comps>

VFE Core

General Comp classes

General DefModExtensions

Item Processor

PipeSystem

Custom Structure Generation

Multi Verb Combat Framework - MVCF

Animal Behaviours

Genes

Apparel

Cuisine

Furniture

Plants

Deprecated

Clone this wiki locally