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

	<!-- ====================================================== -->

	<ThingDef ParentName="WMH_MonsterBase">
		<defName>WMH_Wyvern</defName>
		<label>wyvern</label>

		<description>Wyverns are often mistaken for dragons, and, though they are much smaller than their more famous kin and do not breathe fire, they are likewise extremely dangerous monsters. Before charging to combat, wyverns tend to spit acid at their enemies.\n\nMonster class traits: Being a Draconid, Wyvern can move over difficult terrain with ease.</description>
		<statBases>
			<MoveSpeed>2.50</MoveSpeed>
			<ComfyTemperatureMin>-10</ComfyTemperatureMin>
			<ToxicSensitivity>0</ToxicSensitivity>
			<Flammability>0</Flammability>
			<MarketValue>350</MarketValue>
			<ArmorRating_Blunt>1</ArmorRating_Blunt>
			<ArmorRating_Sharp>.6</ArmorRating_Sharp>
		</statBases>
		<tools>

			<li>
				<label>left claw</label>
				<capacities>
					<li>Scratch</li>
				</capacities>
				<power>13</power>
				<cooldownTime>1.5</cooldownTime>
				<linkedBodyPartsGroup>Feet</linkedBodyPartsGroup>

			</li>
			<li>
				<label>right claw</label>
				<capacities>
					<li>Scratch</li>
				</capacities>
				<power>13</power>
				<cooldownTime>1.5</cooldownTime>
				<linkedBodyPartsGroup>Feet</linkedBodyPartsGroup>

			</li>
			<li>
				
				<capacities>
					<li>Bite</li>
				</capacities>
				<power>15</power>
				<cooldownTime>1</cooldownTime>
				<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
				<chanceFactor>0.9</chanceFactor>

			</li>
			<li>
				<label>tail</label>
				<capacities>
					<li>WMH_VeryToxicBite</li>
				</capacities>
				<power>25</power>
				<cooldownTime>2</cooldownTime>
				<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
				<chanceFactor>0.75</chanceFactor>
				<surpriseAttack>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>25</amount>
						</li>
					</extraMeleeDamages>
				</surpriseAttack>
			</li>
		</tools>
		<comps>
			<li Class="WMHAnimalBehaviours.CompProperties_Hovering">
				<isFloater>true</isFloater>
				<canCrossWater>true</canCrossWater>
			</li>
		</comps>
		<verbs>
			<li>
				<verbClass>Verb_Shoot</verbClass>
				<accuracyTouch>1</accuracyTouch>
				<accuracyShort>1</accuracyShort>
				<accuracyMedium>1</accuracyMedium>
				<accuracyLong>1</accuracyLong>
				<hasStandardCommand>true</hasStandardCommand>
				<defaultProjectile>WMH_WyvernAcidSpit</defaultProjectile>
				<warmupTime>3</warmupTime>
				<burstShotCount>1</burstShotCount>
				
				<minRange>10</minRange>
				<range>30</range>
				<!--<soundCast>AA_RockThrow</soundCast>-->
				<muzzleFlashScale>0</muzzleFlashScale>
				<!--Commanility determines how frequent this range verb is chosen.-->
				<commonality>0.5</commonality>
			</li>


		</verbs>
		<race>

			<body>WMH_Reptile</body>
			<baseBodySize>3</baseBodySize>
			<baseHealthScale>15</baseHealthScale>
			<leatherDef>Leather_Lizard</leatherDef>
			<useMeatFrom>WMH_Chort</useMeatFrom>
			<gestationPeriodDays>30</gestationPeriodDays>
			<lifeExpectancy>18</lifeExpectancy>
			<foodType>OmnivoreAnimal, AnimalProduct</foodType>
			<baseHungerRate>0.10</baseHungerRate>
			<wildness>1</wildness>

			<lifeStageAges>
				<li>
					<def>AnimalAdult</def>
					<minAge>0</minAge>
					<soundWounded>WMH_Pawn_Wyvern_Wounded</soundWounded>
					<soundDeath>WMH_Pawn_Wyvern_Death</soundDeath>
					<soundCall>WMH_Pawn_Wyvern_Call</soundCall>
					<soundAngry>WMH_Pawn_Wyvern_Angry</soundAngry>
				</li>

			</lifeStageAges>
			<soundMeleeHitPawn>Pawn_Melee_SmallScratch_HitPawn</soundMeleeHitPawn>
			<soundMeleeHitBuilding>Pawn_Melee_SmallScratch_HitBuilding</soundMeleeHitBuilding>
			<soundMeleeMiss>Pawn_Melee_SmallScratch_Miss</soundMeleeMiss>
		</race>
		<tradeTags>
			<li>AnimalMonster</li>
		</tradeTags>
		<modExtensions>
			<li Class="WMHAnimalBehaviours.MonsterClass">
				<monsterClass>Draconid</monsterClass>
			</li>
		</modExtensions>
	</ThingDef>

	<PawnKindDef ParentName="WMH_MonsterKindBase">
		<defName>WMH_Wyvern</defName>
		<label>wyvern</label>
		<race>WMH_Wyvern</race>
		<combatPower>175</combatPower>
		<canArriveManhunter>false</canArriveManhunter>
		<ecoSystemWeight>0.5</ecoSystemWeight>

		<lifeStages>
			<li>
				<bodyGraphicData>
					<texPath>Things/Pawn/Animal/WMH_Wyvern/WMH_Wyvern</texPath>
					<drawSize>3</drawSize>
					<shadowData>
						<volume>(0.9, 0.75, 0.6)</volume>
					</shadowData>
				</bodyGraphicData>
				<dessicatedBodyGraphicData>
					<texPath>Things/Pawn/Animal/WMH_Wyvern/WMH_Dessicated_Wyvern</texPath>
					<drawSize>3</drawSize>
				</dessicatedBodyGraphicData>
			</li>
		</lifeStages>

	</PawnKindDef>
</Defs>