Animal Behaviours Extra Defs - Vanilla-Expanded/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).
- RiverNeedingAnimalDef: A list of animals that will only spawn in a biome if there are rivers running through the map's tile.
Defs are added just by creating an XML file for them. Examples:
<VEF.AnimalBehaviours.GenericToggleableAnimalDef>
	<defName>Example_DisabledAnimalSpawns</defName>
	<toggleablePawns>			
		<li>Rat</li>
	</toggleablePawns>							
</VEF.AnimalBehaviours.GenericToggleableAnimalDef><VEF.AnimalBehaviours.AnimalsUnaffectedBySelfTameDef>
	<defName>Example_DisabledAnimalSelfTames</defName>
	<unaffectedBySelfTamePawns>			
		<li>Rat</li>
	</unaffectedBySelfTamePawns>							
</VEF.AnimalBehaviours.AnimalsUnaffectedBySelfTameDef><VEF.AnimalBehaviours.AnimalsDisabledFromQuestsDef>
	<defName>Example_DisabledAnimalFromQuests</defName>
	<disabledFromQuestsPawns>			
		<li>Rat</li>
	</disabledFromQuestsPawns>							
</VEF.AnimalBehaviours.AnimalsDisabledFromQuestsDef><VEF.AnimalBehaviours.RiverNeedingAnimalDef>
	<defName>AEXP_RiverNeedingAnimals</defName>
	<riverNeedingAnimals>
		<li>AEXP_Crocodile</li>
		<li>AEXP_Beaver</li>
	</riverNeedingAnimals>
</VEF.AnimalBehaviours.RiverNeedingAnimalDef>Poor rat, why do you hate rats? You monster