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

	<ThingDef ParentName="WMH_UndeadMonsterBase">
		
		<defName>WMH_Wraith</defName>
		<label>wraith</label>
		<description>Wraiths suffer endless, indescribable pain. Filled with anger and a sense of having been wronged, they both envy the living and brim with overwhelming hatred for them. Their strong claw attacks can take out even the sturdiest of knights.\n\nMonster class traits: Being a Spectre, Wraith instill fear in nearby humans, directly affecting their mood.</description>		
		<statBases>
			<MoveSpeed>4</MoveSpeed>
			<ComfyTemperatureMin>-250</ComfyTemperatureMin>
			<ComfyTemperatureMax>750</ComfyTemperatureMax>
			<MarketValue>175</MarketValue>
			<MeatAmount>0</MeatAmount>
			<LeatherAmount>0</LeatherAmount>
			<PsychicSensitivity>0</PsychicSensitivity>
			<ToxicSensitivity>0</ToxicSensitivity>
			
		</statBases>
		<tools>
			
			<li>
				<label>left claws</label>
				<capacities>
					<li>Scratch</li>
				</capacities>
				<power>10</power>
				<cooldownTime>3</cooldownTime>
				<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
			</li>
			<li>
				<label>right claws</label>
				<capacities>
					<li>Scratch</li>
				</capacities>
				<power>10</power>
				<cooldownTime>3</cooldownTime>
				<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
			</li>
			<li>
				<label>head</label>
				<capacities>
					<li>Blunt</li>
				</capacities>
				<power>3</power>
				<cooldownTime>2</cooldownTime>
				<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
				<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
				<chanceFactor>0.2</chanceFactor>
			</li>
			
		</tools>
		
		<comps>
			<li Class="WMHAnimalBehaviours.CompProperties_ThoughtEffecter">
				<radius>50</radius>
				<tickInterval>50</tickInterval>
				<thoughtDef>WMH_SpectreEffect</thoughtDef>
			</li>
			<li Class="WMHAnimalBehaviours.CompProperties_InitialHediff">
				<hediffname>WMH_NoPain</hediffname>
				<hediffseverity>1</hediffseverity>
			</li>
		</comps>
		<race>
			<body>Human</body>
			<baseBodySize>1</baseBodySize>
			<baseHealthScale>4</baseHealthScale>
			<useMeatFrom>WMH_Chort</useMeatFrom>
			<useLeatherFrom>Pig</useLeatherFrom>
			<hasGenders>false</hasGenders>
			<lifeExpectancy>5000</lifeExpectancy>
			<foodType>None</foodType>
			<wildness>1</wildness>
			<trainability>Simple</trainability>
			<canBePredatorPrey>false</canBePredatorPrey>
			<mateMtbHours>10000</mateMtbHours>
			<gestationPeriodDays>10000</gestationPeriodDays>

			<lifeStageAges>
			
				<li>
					<def>AnimalAdult</def>
					<minAge>0</minAge>
					<soundWounded>WMH_Pawn_Wraith_Wounded</soundWounded>
					<soundDeath>WMH_Pawn_Wraith_Death</soundDeath>
					<soundCall>WMH_Pawn_Wraith_Call</soundCall>
					<soundAngry>WMH_Pawn_Wraith_Angry</soundAngry>
				</li>
			</lifeStageAges>
			<soundMeleeHitPawn>Pawn_Melee_BigBash_HitPawn</soundMeleeHitPawn>
			<soundMeleeHitBuilding>Pawn_Melee_BigBash_HitBuilding</soundMeleeHitBuilding>
			<soundMeleeMiss>Pawn_Melee_BigBash_Miss</soundMeleeMiss>
			
		</race>
		
		<tradeTags>
			<li>AnimalMonster</li>
		</tradeTags>
		<modExtensions>
			<li Class="WMHAnimalBehaviours.MonsterClass">
				<monsterClass>Spectre</monsterClass>
			</li>
		</modExtensions>
	</ThingDef>
	<PawnKindDef ParentName="WMH_MonsterKindBase">
		<defName>WMH_Wraith</defName>
		<label>wraith</label>
		<race>WMH_Wraith</race>
		<combatPower>125</combatPower>
		<canArriveManhunter>false</canArriveManhunter>
		<ecoSystemWeight>1</ecoSystemWeight>
		<wildGroupSize>
			<min>3</min>
			<max>3</max>
		</wildGroupSize>
		<lifeStages>
			
			<li>
				<bodyGraphicData>
					<texPath>Things/Pawn/Animal/WMH_Wraith/WMH_Wraith</texPath>
					<drawSize>2</drawSize>
					<shadowData>
						<volume>(0.8, 0.6, 0.6)</volume>
						<offset>(0,0,-0.3)</offset>
					</shadowData>
				</bodyGraphicData>
				<dessicatedBodyGraphicData>
					<texPath>Things/Pawn/Animal/WMH_Wraith/WMH_Dessicated_Wraith</texPath>
					<drawSize>2</drawSize>
				</dessicatedBodyGraphicData>
			</li>
		</lifeStages>
	</PawnKindDef>

</Defs>