Animal Behaviours Death Action Classes - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki

<- Back

The AnimalBehaviours module of Vanilla Expanded Framework adds two death action classes:

How do I use this code?

Under the race tag of the ThingDef of an animal, you add:

<deathAction>
	<workerClass>ClassGoesHere</workerClass>
</deathAction>