<?xml version="1.0" encoding="utf-8" ?>
<Defs>

	<ThingDef ParentName="TYBasePawn" Name="TyranidBase" Abstract="True">
		<soundImpactDefault>BulletImpactFlesh</soundImpactDefault>
		<statBases>
			<Flammability>1.0</Flammability>
			<PsychicSensitivity>0</PsychicSensitivity>
			<ToxicSensitivity>0</ToxicSensitivity>
			<ComfyTemperatureMin>-10</ComfyTemperatureMin>
			<ComfyTemperatureMax>50</ComfyTemperatureMax>
			<MeatAmount>1.5</MeatAmount>
		</statBases>
		<race>
			<thinkTreeMain>Humanlike</thinkTreeMain>
			<thinkTreeConstant>HumanlikeConstant</thinkTreeConstant>
			<!-- <fleshType>Insectoid</fleshType> COMMENTED OUT TO TEST -->
			<bloodDef>FilthBloodInsect</bloodDef>
			<needsRest>false</needsRest>
			<hasGenders>false</hasGenders>
			<foodType>OmnivoreAnimal, AnimalProduct</foodType>
		</race>
		<recipes>
			<li>Euthanize</li>
        </recipes>
	</ThingDef>
	
	<!--QX==================== Imperial Guard Factions Mod - Tyranid Mawloc =========================QX-->
	
	<ThingDef ParentName="TyranidBase">
		<defName>Tyranid_Mawlock</defName>
		<label>Tyranid Mawloc</label>
		<description>The Broodlord is always the first Genestealer to make planetfall when the Tyranids first infest a world. They are even more powerful than the standard Genestealer, and are specifically adept at infiltration to get closer to the enemy. They are very adaptable and highly intelligent as well as being a synapse creature. Their powerful talons can cut through most materials with ease..</description>
		<statBases>
			<MoveSpeed>7.0</MoveSpeed>
			<ArmorRating_Blunt>0.6</ArmorRating_Blunt>
			<ArmorRating_Sharp>0.6</ArmorRating_Sharp>
		</statBases>
		<tools>
			<li>
				<capacities>
					<li>ToxicBite</li>
				</capacities>
				<power>5</power>
				<cooldownTime>0.25</cooldownTime>
				<linkedBodyPartsGroup>TYHeadAttackTool</linkedBodyPartsGroup>
				<surpriseAttack>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>5</amount>
						</li>
					</extraMeleeDamages>
				</surpriseAttack>
			</li>
		</tools>
		<race>
			<intelligence>ToolUser</intelligence>
			<thinkTreeMain>Mechanoid</thinkTreeMain>
			<body>TYTyranidMelee</body>
			<baseBodySize>2.0</baseBodySize>
			<baseHealthScale>3.0</baseHealthScale>
			<wildness>0.95</wildness>
			<lifeStageAges>
				<li>
					<def>TyranidComplete</def>
					<minAge>0</minAge>
					<soundWounded>Pawn_Megascarab_Wounded</soundWounded>
					<soundDeath>Pawn_Megascarab_Death</soundDeath>
					<soundCall>Pawn_Megascarab_Call</soundCall>
					<soundAngry>Pawn_Megascarab_Angry</soundAngry>
				</li>
			</lifeStageAges>
			<soundMeleeHitPawn>Pawn_Melee_SmallScratch_HitPawn</soundMeleeHitPawn>
			<soundMeleeHitBuilding>Pawn_Melee_SmallScratch_HitBuilding</soundMeleeHitBuilding>
			<soundMeleeMiss>Pawn_Melee_SmallScratch_Miss</soundMeleeMiss>
			<meatLabel>Mawloc Flesh</meatLabel>
		</race>
	</ThingDef>
	
	<!--QX==================== Imperial Guard Factions Mod - Tyranid Broodlord =========================QX-->
	
	<ThingDef ParentName="TyranidBase">
		<defName>Tyranid_Broodlord</defName>
		<label>Tyranid Broodlord</label>
		<description>The Broodlord is always the first Genestealer to make planetfall when the Tyranids first infest a world. They are even more powerful than the standard Genestealer, and are specifically adept at infiltration to get closer to the enemy. They are very adaptable and highly intelligent as well as being a synapse creature. Their powerful talons can cut through most materials with ease..</description>
		<statBases>
			<MoveSpeed>5.0</MoveSpeed>
			<ArmorRating_Blunt>0.3</ArmorRating_Blunt>
			<ArmorRating_Sharp>0.3</ArmorRating_Sharp>
		</statBases>
		<tools>
			<li>
				<capacities>
					<li>ToxicBite</li>
				</capacities>
				<power>5</power>
				<cooldownTime>0.35</cooldownTime>
				<linkedBodyPartsGroup>TYHeadAttackTool</linkedBodyPartsGroup>
				<surpriseAttack>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>5</amount>
						</li>
					</extraMeleeDamages>
				</surpriseAttack>
			</li>
		</tools>
		<race>
			<intelligence>ToolUser</intelligence>
			<thinkTreeMain>Mechanoid</thinkTreeMain>
			<body>TYTyranidMelee</body>
			<baseBodySize>2.0</baseBodySize>
			<baseHealthScale>2.5</baseHealthScale>
			<wildness>0.95</wildness>
			<lifeStageAges>
				<li>
					<def>TyranidComplete</def>
					<minAge>0</minAge>
					<soundWounded>Pawn_Megascarab_Wounded</soundWounded>
					<soundDeath>Pawn_Megascarab_Death</soundDeath>
					<soundCall>Pawn_Megascarab_Call</soundCall>
					<soundAngry>Pawn_Megascarab_Angry</soundAngry>
				</li>
			</lifeStageAges>
			<soundMeleeHitPawn>Pawn_Melee_SmallScratch_HitPawn</soundMeleeHitPawn>
			<soundMeleeHitBuilding>Pawn_Melee_SmallScratch_HitBuilding</soundMeleeHitBuilding>
			<soundMeleeMiss>Pawn_Melee_SmallScratch_Miss</soundMeleeMiss>
			<meatLabel>Broodlord Flesh</meatLabel>
		</race>
	</ThingDef>
	
	<!--QX==================== Imperial Guard Factions Mod - Tyranid Exocrine =========================QX-->
	
	<ThingDef ParentName="TyranidBase">
		<defName>Tyranid_Exocrine</defName>
		<label>Tyranid Exocrine</label>
		<description>Little more than a living artillery platform, the Exocrine is controlled by the brain of its Bio-Plasmic Cannon Biomorph, a giant weapon able to unleash a vast ball of plasma, or several focussed streams of fire from its multiple barrels. The Exocrine itself is purely a means of transportation for the bio-plasmic cannon nested into its flesh..</description>
		<statBases>
			<MoveSpeed>2.0</MoveSpeed>
			<ArmorRating_Blunt>0.7</ArmorRating_Blunt>
			<ArmorRating_Sharp>0.7</ArmorRating_Sharp>
		</statBases>
		<verbs>
			<li>
				<verbClass>Verb_MeleeAttack</verbClass>
				<defaultCooldownTime>2.0</defaultCooldownTime>
				<meleeDamageBaseAmount>10</meleeDamageBaseAmount>
				<meleeDamageDef>Blunt</meleeDamageDef>
			</li>
		</verbs>
		<race>
			<intelligence>ToolUser</intelligence>
			<thinkTreeMain>Mechanoid</thinkTreeMain>
			<body>TYTyranid</body>
			<baseBodySize>2.0</baseBodySize>
			<baseHealthScale>3.5</baseHealthScale>
			<wildness>0.50</wildness>
			<lifeStageAges>
				<li>
					<def>TyranidComplete</def>
					<minAge>0</minAge>
					<soundWounded>Pawn_Megascarab_Wounded</soundWounded>
					<soundDeath>Pawn_Megascarab_Death</soundDeath>
					<soundCall>Pawn_Megascarab_Call</soundCall>
					<soundAngry>Pawn_Megascarab_Angry</soundAngry>
				</li>
			</lifeStageAges>
			<soundMeleeHitPawn>Pawn_Melee_SmallScratch_HitPawn</soundMeleeHitPawn>
			<soundMeleeHitBuilding>Pawn_Melee_SmallScratch_HitBuilding</soundMeleeHitBuilding>
			<soundMeleeMiss>Pawn_Melee_SmallScratch_Miss</soundMeleeMiss>
			<meatLabel>Exocrine Flesh</meatLabel>
		</race>
	</ThingDef>
	
	<!--QX==================== Imperial Guard Factions Mod - Tyranid GeneStealer =========================QX-->
	
	<ThingDef ParentName="TyranidBase">
		<defName>Tyranid_GeneStealer</defName>
		<label>Tyranid GeneStealer</label>
		<description>A Genestealer is a species of Tyranid used as the ultimate shock trooper. Their purpose is to advance ahead of a Hive Fleet and pinpoint potential planets for the Tyranids to devour. They are amongst the most deadly creatures in the Galaxy, combining high cunning, lightning-fast reactions and movement, with large, extremely sharp claws that can rip through the toughest armour in seconds..</description>
		<statBases>
			<MoveSpeed>4.0</MoveSpeed>
			<ArmorRating_Blunt>0.3</ArmorRating_Blunt>
			<ArmorRating_Sharp>0.3</ArmorRating_Sharp>
		</statBases>
		<tools>
			<li>
				<capacities>
					<li>ToxicBite</li>
				</capacities>
				<power>5</power>
				<cooldownTime>0.5</cooldownTime>
				<linkedBodyPartsGroup>TYHeadAttackTool</linkedBodyPartsGroup>
				<surpriseAttack>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>5</amount>
						</li>
					</extraMeleeDamages>
				</surpriseAttack>
			</li>
		</tools>
		<race>
			<intelligence>ToolUser</intelligence>
			<thinkTreeMain>Mechanoid</thinkTreeMain>
			<body>TYTyranidMelee</body>
			<baseBodySize>2.0</baseBodySize>
			<baseHealthScale>2.0</baseHealthScale>
			<wildness>0.95</wildness>
			<lifeStageAges>
				<li>
					<def>TyranidComplete</def>
					<minAge>0</minAge>
					<soundWounded>Pawn_Megascarab_Wounded</soundWounded>
					<soundDeath>Pawn_Megascarab_Death</soundDeath>
					<soundCall>Pawn_Megascarab_Call</soundCall>
					<soundAngry>Pawn_Megascarab_Angry</soundAngry>
				</li>
			</lifeStageAges>
			<soundMeleeHitPawn>Pawn_Melee_SmallScratch_HitPawn</soundMeleeHitPawn>
			<soundMeleeHitBuilding>Pawn_Melee_SmallScratch_HitBuilding</soundMeleeHitBuilding>
			<soundMeleeMiss>Pawn_Melee_SmallScratch_Miss</soundMeleeMiss>
			<meatLabel>Genestealer Flesh</meatLabel>
		</race>
	</ThingDef>

	<!--QX==================== Imperial Guard Factions Mod - Tyranid Tyrannocyte =========================QX-->
	
	<ThingDef ParentName="TyranidBase">
		<defName>Tyranid_Tyrannocyte</defName>
		<label>Tyranid Tyrannocyte</label>
		<description>Tyrannocytes serve as ship-to-surface transports. Though they appear to be merely spores, they are in fact creatures onto themselves. Once it has delivered its passengers, the Tyrannocyte fills with gas and flies into the air, raining death upon the enemy with its five Deathspitters.</description>
		<statBases>
			<MoveSpeed>2.5</MoveSpeed>
			<ArmorRating_Blunt>0.3</ArmorRating_Blunt>
			<ArmorRating_Sharp>0.3</ArmorRating_Sharp>
		</statBases>
		<verbs>
			<li>
				<verbClass>Verb_MeleeAttack</verbClass>
				<defaultCooldownTime>2.0</defaultCooldownTime>
				<meleeDamageBaseAmount>10</meleeDamageBaseAmount>
				<meleeDamageDef>Blunt</meleeDamageDef>
			</li>
		</verbs>
		<race>
			<intelligence>ToolUser</intelligence>
			<thinkTreeMain>Mechanoid</thinkTreeMain>
			<body>TYTyranid</body>
			<baseBodySize>2.0</baseBodySize>
			<baseHealthScale>2.3</baseHealthScale>
			<wildness>0.95</wildness>
			<lifeStageAges>
				<li>
					<def>TyranidComplete</def>
					<minAge>0</minAge>
					<soundWounded>Pawn_Megascarab_Wounded</soundWounded>
					<soundDeath>Pawn_Megascarab_Death</soundDeath>
					<soundCall>Pawn_Megascarab_Call</soundCall>
					<soundAngry>Pawn_Megascarab_Angry</soundAngry>
				</li>
			</lifeStageAges>
			<soundMeleeHitPawn>Pawn_Melee_SmallScratch_HitPawn</soundMeleeHitPawn>
			<soundMeleeHitBuilding>Pawn_Melee_SmallScratch_HitBuilding</soundMeleeHitBuilding>
			<soundMeleeMiss>Pawn_Melee_SmallScratch_Miss</soundMeleeMiss>
			<meatLabel>Tyrannocyte Flesh</meatLabel>
		</race>
	</ThingDef>
	
</Defs>