{
	code: "animalbot",
	class: "EntityAnimalBot",
	tags: ["bot"],
	canClimbByType: {
		"animalbot-locust-corrupt": true
	},
	canClimbAnywhereByType: {
		"animalbot-locust-corrupt": true
	},
	climbTouchDistanceByType: {
		"animalbot-locust-corrupt": 0.1
	},
	rotateModelOnClimbByType: {
		"animalbot-locust-corrupt": true
	},
	variantgroups: [
		{ code: "type", states: [
			"wolf-eurasian-adult-male", "wolf-eurasian-adult-female", "wolf-eurasian-baby-male",
			"chicken-hen", "chicken-rooster", "chicken-baby", 
			"hyena-spotted-adult-male", "hyena-spotted-adult-female", "hyena-spotted-baby-male",
			"sheep-bighorn-adult-male", "sheep-bighorn-adult-female", "sheep-bighorn-baby-male", 
			"bell", 
			"locust-corrupt", "locust-corrupt-hacked", "locust-bronze-hacked", "locust-sawblade", 
			"drifter-normal", "drifter-deep", "drifter-tainted", "drifter-corrupt", "drifter-nightmare", 
			"hare-european-adult-male", "fox-red-adult-male", "fox-red-adult-female", "fox-red-baby-male",
			"pig-eurasian-adult-male", "pig-eurasian-adult-female", "pig-eurasian-baby-male",
			"bear-brown-adult-male", "raccoon-common-adult-male", "raccoon-common-adult-female",
		] }
	],
	hitboxSizeByType: {
		"animalbot-wolf-eurasian-adult-*": { x: 1.2, y: 1 },
		"animalbot-wolf-eurasian-baby-*": { x: 0.6, y: 0.5 },
		"animalbot-hyena-spotted-adult-*": { x: 1.2, y: 1 },
		"animalbot-hyena-spotted-baby-*": { x: 0.6, y: 0.5 },
		"*-chicken-hen": { x: 0.75, y: 0.6 },
		"*-chicken-rooster": { x: 0.75, y: 0.6 },
		"*-chicken-baby": { x: 0.3, y: 0.2 },
		
		"animalbot-sheep-bighorn-adult-*": { x: 1.3, y: 1.4 },
		"animalbot-sheep-bighorn-baby-*": { x: 1.0, y: 0.5 },
		"*-bell-normal": { x: 0.75, y: 0.75 },
		"*-locust-*": { x: 0.65, y: 0.6 },
		
		"*-hare-european-adult-male": { x: 0.75, y: 0.5 },
		"*-fox-red-adult-female": { x: 0.75, y: 0.75 },
		"*-fox-red-adult-male": { x: 0.75, y: 0.75 },
		
		"*-fox-red-baby-male": { x: 0.6, y: 0.5 },
		"animalbot-pig-eurasian-baby-*": { x: 0.6, y: 0.5 },
		"animalbot-pig-eurasian-adult-*": { x: 0.99, y: 0.8 },
		
		"*-drifter-*": { x: 0.6, y: 1.3 },
		"animalbot-raccoon-*": { x: 0.75, y: 0.75 },
	},
	collisionBoxSizeByType: {
		"*-bear-brown-adult-male": { x: 1.2, y: 1.2 }
	},
	deadCollisionBoxSizeByType: {
		"*-bear-brown-adult-male": { x: 1.2, y: 0.75 }
	},
	selectionBoxSizeByType: {
		"*-bear-brown-adult-male": { x: 1.5, y: 1.8 },
		"*-bear-polar-adult-male": { x: 2.2, y: 2 },
	},
	deadSelectionBoxSizeByType: {
		"*-bear-polar-adult-male": { x: 1.7, y: 1.5 },
		"animalbot-bear-*-adult-male": { x: 1.2, y: 1 },
		},
	eyeHeightByType: {
		"animalbot-wolf-eurasian-adult-*": 0.9,
		"animalbot-wolf-eurasian-baby-*": 0.4,
		"animalbot-hyena-spotted-adult-*": 0.9,
		"animalbot-hyena-spotted-baby-*": 0.4,
		"*-chicken-hen": 0.3,
		"*-chicken-rooster": 0.3,
		"*-chicken-baby": 0.15,
		"animalbot-sheep-bighorn-adult-*": 1.4,
		"animalbot-sheep-bighorn-baby-*": 0.4,

		"*-hare-european-adult-male": 0.6,
		"*-fox-*": 0.7,

		"*-bell-normal": 0.75,
		"*-locust-*": 0.3,
		"*-drifter-*": 1.2,
		"animalbot-pig-eurasian-baby-*": 0.4,
		"animalbot-pig-eurasian-adult-*": 0.7,
		"animalbot-bear-*": 0.9,
		"animalbot-raccoon-*": 0.7,
		"moose-*": 0.8
		},
	drops: [],
	client: {
		renderer: "Shape",
		sizeByType: {
			"animalbot-bear-brown-adult-*": 1.25,
			"animalbot-bear-polar-adult-*": 1.4,
			"animalbot-bear-panda-adult-*": 0.8,
			"*-bell": 1.3,
			"*-locust-*": 1.2
		},
		shapeByType: {
			"*-bell": { base: "entity/lore/bell/bell" },
			"*-locust-corrupt": { base: "entity/lore/locust/locust-corrupt" },
			"*-locust-corrupt-hacked": { base: "entity/lore/locust/locust-corrupt" },
			"*-locust-bronze-hacked": { base: "entity/lore/locust/locust-bronze" },
			"*-locust-sawblade": { base: "entity/lore/locust/locust-corrupt-sawblade" },
			"*-drifter-normal": { base: "entity/lore/drifter/surface" },
			"*-drifter-deep": { base: "entity/lore/drifter/surface" },
			"*-drifter-tainted": { base: "entity/lore/drifter/spiked1", alternates: [{ base: "entity/lore/drifter/spiked2" }] },
			"*-drifter-corrupt": { base: "entity/lore/drifter/deerhorn" },
			"*-drifter-nightmare": { base: "entity/lore/drifter/knife" },

			"*-chicken-rooster": { base: "entity/animal/bird/chicken/chicken-rooster" },
			"*-chicken-hen": { base: "entity/animal/bird/chicken/chicken-hen" },
			"*-chicken-baby": { base: "entity/animal/bird/chicken/chicken-baby" },

			"*-hare-european-adult-male": { base: "entity/animal/mammal/hare/european-male" },

			"animalbot-hyena-spotted-baby-*": { base: "entity/animal/mammal/hyena/spotted-baby" },
			"*-hyena-spotted-adult-male": { base: "entity/animal/mammal/hyena/spotted-male" },
			"*-hyena-spotted-adult-female": { base: "entity/animal/mammal/hyena/spotted-female" },
			
			"animalbot-wolf-eurasian-adult-*": { base: "entity/animal/mammal/wolf/eurasian-adult" },
			"animalbot-wolf-eurasian-baby-*": { base: "entity/animal/mammal/wolf/eurasian-baby" },
			
			"animalbot-pig-eurasian-adult-male": { base: "entity/animal/mammal/hooved/pig/eurasian/adult" },
			"animalbot-pig-eurasian-adult-female": { base: "entity/animal/mammal/hooved/pig/eurasian/adult" },
			"animalbot-pig-eurasian-baby-male": { base: "entity/animal/mammal/hooved/pig/eurasian/baby" },
			"animalbot-sheep-bighorn-adult-male*": { base: "entity/animal/mammal/hooved/sheep/bighorn/male" },
			"animalbot-sheep-bighorn-adult-female*": { base: "entity/animal/mammal/hooved/sheep/bighorn/female" },
			"animalbot-sheep-bighorn-baby-male*": { base: "entity/animal/mammal/hooved/sheep/bighorn/baby" },
			"*-raccoon-common-adult-male": { base: "entity/animal/mammal/raccoon/common-male" },
			"*-raccoon-common-adult-female": { base: "entity/animal/mammal/raccoon/common-female" },
			
			"animalbot-bear-*": { base: "entity/animal/mammal/bear/black-adult" },

			"*-fox-red-adult-male": { base: "entity/animal/mammal/fox/fox-male" },
			"*-fox-red-adult-female": { base: "entity/animal/mammal/fox/fox-female" },
			"*-fox-red-baby-male": { base: "entity/animal/mammal/fox/fox-baby" },

			"*": { base: "entity/animal/mammal/{type}" }
		},
		textureByType: {
			"animalbot-hyena-spotted-baby-*": { base: "entity/animal/mammal/hyena/spotted-baby" },
			"*-hyena-spotted-adult-male": { base: "entity/animal/mammal/hyena/spotted-male1" },
			"*-hyena-spotted-adult-female": { base: "entity/animal/mammal/hyena/spotted-female1" },
			
			"animalbot-sheep-bighorn-adult-male": { base: "entity/animal/mammal/hooved/sheep/bighorn-male" },
			"animalbot-sheep-bighorn-adult-female": { base: "entity/animal/mammal/hooved/sheep/bighorn-female" },
			"animalbot-sheep-bighorn-baby-*": { base: "entity/animal/mammal/hooved/sheep/bighorn-baby" },
			
			"*-bell": { base: "entity/bell" },
			"*-locust-corrupt-hacked": { base: "entity/lore/locust/corrupt-hacked" },
			"*-locust-bronze-hacked": { base: "entity/lore/locust/bronze-hacked" },
			"animalbot-wolf-eurasian-adult-*": { base: "entity/animal/mammal/wolf/eurasian-adult1", alternates: [ { base: "entity/animal/mammal/wolf/eurasian-adult2" }, { base: "entity/animal/mammal/wolf/eurasian-adult3" }, { base: "entity/animal/mammal/wolf/eurasian-adult4" }, { base: "entity/animal/mammal/wolf/eurasian-adult5" }, { base: "entity/animal/mammal/wolf/eurasian-adult6" }, { base: "entity/animal/mammal/wolf/eurasian-adult7" }, { base: "entity/animal/mammal/wolf/eurasian-adult8" }, { base: "entity/animal/mammal/wolf/eurasian-adult9" } ] },
			"animalbot-wolf-eurasian-baby-*": { base: "entity/animal/mammal/wolf/eurasian-baby2" },
			"*-chicken-hen": { base: "entity/animal/bird/chicken/hen1", alternates: [ { base: "entity/animal/bird/chicken/hen2" }, { base: "entity/animal/bird/chicken/hen3" }, { base: "entity/animal/bird/chicken/hen4" }, { base: "entity/animal/bird/chicken/hen5" }, { base: "entity/animal/bird/chicken/hen6" }, { base: "entity/animal/bird/chicken/hen7" }, { base: "entity/animal/bird/chicken/hen8" } ] },
			"*-chicken-baby": { base: "entity/animal/bird/chicken/babychick1", alternates: [ { base: "entity/animal/bird/chicken/babychick2" }, { base: "entity/animal/bird/chicken/babychick3" }, { base: "entity/animal/bird/chicken/babychick4" }, { base: "entity/animal/bird/chicken/babychick5" }, { base: "entity/animal/bird/chicken/babychick6" }, { base: "entity/animal/bird/chicken/babychick7" }, { base: "entity/animal/bird/chicken/babychick8" } ] },
			"*-chicken-rooster": { base: "entity/animal/bird/chicken/rooster1", alternates: [ { base: "entity/animal/bird/chicken/rooster2" }, { base: "entity/animal/bird/chicken/rooster3" }, { base: "entity/animal/bird/chicken/rooster4" }, { base: "entity/animal/bird/chicken/rooster5" } ] },
			
			"*-drifter-normal": { base: "entity/lore/drifter/surface1", alternates: [ { base: "entity/lore/drifter/surface2" }, {base: "entity/lore/drifter/surface3" }] },
			"*-drifter-deep": { base: "entity/lore/drifter/deep1", alternates: [ { base: "entity/lore/drifter/deep2" } ] },
			"*-drifter-corrupt": { base: "entity/lore/drifter/spiked1", alternates: [ { base: "entity/lore/drifter/spiked2" } ] },
			"*-drifter-nightmare": { base: "entity/lore/drifter/deep1", alternates: [ { base: "entity/lore/drifter/deep2" } ] },
			
			"*-hare-female-lightgrey": { base: "entity/animal/mammal/hare/european-male*" },
			"*-fox-red-adult-female": { base: "entity/animal/mammal/fox/red-female" },
			"*-fox-red-adult-male": { base: "entity/animal/mammal/fox/red-male" },
			"*-fox-red-baby-male": { base: "entity/animal/mammal/fox/red-baby" },
			
			"animalbot-pig-eurasian-adult-male": { base: "entity/animal/mammal/hooved/pig/eurasian-male1" },
			"animalbot-pig-eurasian-adult-female": { base: "entity/animal/mammal/hooved/pig/eurasian-female1" },
			"animalbot-pig-eurasian-baby-male": { base: "entity/animal/mammal/hooved/pig/eurasian-baby" },
			
			"animalbot-bear-black-adult-*": { base: "entity/animal/mammal/bear/black-adult1" },
			"animalbot-bear-brown-adult-*": { base: "entity/animal/mammal/bear/brown-adult1", alternates: [ { base: "entity/animal/mammal/bear/brown-adult2" }, { base: "entity/animal/mammal/bear/brown-adult3" } ] },
			"animalbot-bear-sun-adult-*": { base: "entity/animal/mammal/bear/sun-adult1" },
			"animalbot-bear-panda-adult-*": { base: "entity/animal/mammal/bear/panda-adult1" },
			"animalbot-bear-polar-adult-*": { base: "entity/animal/mammal/bear/polar-adult1" },
			
			"animalbot-raccoon-common-adult-male": { base: "entity/animal/mammal/raccoon/common-male*" },
			"animalbot-raccoon-common-adult-female": { base: "entity/animal/mammal/raccoon/common-female*" },

			"*": { base: "entity/{type}/{type}*" }
		},
		behaviors: [
			{ code: "controlledphysics", stepHeight: 1.1251 }, 
			{ code: "interpolateposition" },
			{ code: "floatupwhenstuck", onlyWhenDead: true }
		],
		animations: [
			{
				code: "hurt",
				animation: "hurt", 
				animationSpeed: 2.2,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "die",
				animation: "death", 
				animationSpeed: 1.25,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "eat",
				animation: "eat", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "walk",
				animation: "walk", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "cry",
				animation: "cry", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "shamble",
				animation: "shamble", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "lowshamble",
				animation: "lowshamble", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "sleep",
				animation: "sleep", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "sit",
				animation: "sit", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "listen",
				animation: "listen", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "hide",
				animation: "hide", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "idletwitch",
				animation: "idletwitch", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{
				code: "drill",
				animation: "drill", 
				animationSpeed: 1,
				weight: 10,
				blendMode: "AddAverage" 
			},
			{ 
				code: "idle", 
				animation: "idle",
				blendMode: "AddAverage",
				easeOutSpeed: 4,
				triggeredBy: { defaultAnim: true }
			}
		]
	},
	server: {
		behaviors: [
			{ code: "controlledphysics", stepHeight: 1.1251 },
			{ code: "health", currenthealth: 100, maxhealth: 100 },
			{ code: "floatupwhenstuck", onlyWhenDead: true },
			{ code: "breathe" }
		]
	},
	soundsByType: {
		"animalbot-wolf-*": {
			hurt: "creature/wolf/hurt",
			death: "creature/wolf/hurt"
		},
		"*-chicken-hen": {
			hurt: "creature/chicken/hurt",
			death: "creature/chicken/hurt"
		}
	},
	idleSoundChance: 0
}