Animal Behaviours Extra Defs - AndroidQuazar/VanillaExpandedFramework GitHub Wiki
The AnimalBehaviours module of Vanilla Expanded Framework adds three new Defs:
- GenericToggleableAnimalDef: Defines animals whose spawning can be selected by the player. These animal toggles will appear on the Vanilla Animals Expanded menu options, which may not be desireable to the modder.
- AnimalsUnaffectedBySelfTameDef: A list of animals that will be unaffected by the game's self-taming event.
- AnimalsDisabledFromQuestsDef: A list of animals that will never be added to game's quests (for example Animal Hospitality quests).
Defs are added just by creating an XML file for them. Examples:
<AnimalBehaviours.GenericToggleableAnimalDef>
<defName>Example_DisabledAnimalSpawns</defName>
<toggleablePawns>
<li>Rat</li>
</toggleablePawns>
</AnimalBehaviours.GenericToggleableAnimalDef>
<AnimalBehaviours.AnimalsUnaffectedBySelfTameDef>
<defName>Example_DisabledAnimalSelfTames</defName>
<unaffectedBySelfTamePawns>
<li>Rat</li>
</unaffectedBySelfTamePawns>
</AnimalBehaviours.AnimalsUnaffectedBySelfTameDef>
<AnimalBehaviours.AnimalsDisabledFromQuestsDef>
<defName>Example_DisabledAnimalFromQuests</defName>
<disabledFromQuestsPawns>
<li>Rat</li>
</disabledFromQuestsPawns>
</AnimalBehaviours.AnimalsDisabledFromQuestsDef>
Poor rat, why do you hate rats? You monster