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

	<ThingDef ParentName="WMH_UndeadMonsterBase">
		<defName>WMH_Djinn</defName>
		<label>djinn</label>
		<description>A djinn is a powerful air spirit, a condensation of the power of that element endowed with consciousness and character - the latter usually nasty. According to researchers, a Djinn can attack with a continuous stream of energy, capable of taking down ultratech gunships with ease.\n\nMonster class traits: Being an elemental, Djinn is immune to fire and cold.</description>		
		<statBases>
			<MoveSpeed>1</MoveSpeed>
			<ComfyTemperatureMin>-250</ComfyTemperatureMin>
			<ComfyTemperatureMax>550</ComfyTemperatureMax>
			<MarketValue>250</MarketValue>
			<MeatAmount>0</MeatAmount>
			<LeatherAmount>0</LeatherAmount>
			<PsychicSensitivity>0</PsychicSensitivity>
			<ToxicSensitivity>0</ToxicSensitivity>
			<Flammability>0</Flammability>
			<ArmorRating_Heat>1</ArmorRating_Heat>
			
		</statBases>
		<tools>
			
			<li>
				<label>pseudopod</label>
				<capacities>
					<li>Blunt</li>
				</capacities>
				<power>5</power>
				<cooldownTime>2</cooldownTime>
				<linkedBodyPartsGroup>WMH_Pseudopods</linkedBodyPartsGroup>
				<surpriseAttack>
					<extraMeleeDamages>
						<li>
							<def>Stun</def>
							<amount>14</amount>
						</li>
					</extraMeleeDamages>
				</surpriseAttack>
			</li>
			
		</tools>
		
<verbs>
			<li>
				<verbClass>Verb_Shoot</verbClass>
				<accuracyTouch>0.15</accuracyTouch>
				<accuracyShort>0.25</accuracyShort>
				<accuracyMedium>0.15</accuracyMedium>
				<accuracyLong>0.1</accuracyLong>
				<hasStandardCommand>true</hasStandardCommand>
				<defaultProjectile>WMH_WispProjectile</defaultProjectile>
				<warmupTime>0.1</warmupTime>
				<ticksBetweenBurstShots>2</ticksBetweenBurstShots>

				<burstShotCount>75</burstShotCount>
				<minRange>0</minRange>
				<range>25</range>
				<!--<soundCast>MM_PoisonBreathSound</soundCast>-->
				<muzzleFlashScale>0</muzzleFlashScale>
				<!--Commanility determines how frequent this range verb is chosen.-->
				<commonality>1</commonality>
			</li>


		</verbs>
		<race>
			<body>WMH_Wisp</body>
			<baseBodySize>1</baseBodySize>
			<baseHealthScale>20</baseHealthScale>
			<useMeatFrom>WMH_Chort</useMeatFrom>
			<useLeatherFrom>Pig</useLeatherFrom>
			<hasGenders>false</hasGenders>
			<lifeExpectancy>5000</lifeExpectancy>
			<foodType>VegetarianRoughAnimal</foodType>
			<baseHungerRate>0.001</baseHungerRate>
			<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_Djinn_Wounded</soundWounded>
					<soundDeath>WMH_Pawn_Djinn_Death</soundDeath>
					<soundCall>WMH_Pawn_Djinn_Call</soundCall>
					<soundAngry>WMH_Pawn_Djinn_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>Elemental</monsterClass>
			</li>
		</modExtensions>
	</ThingDef>
	<PawnKindDef ParentName="WMH_MonsterKindBase">
		<defName>WMH_Djinn</defName>
		<label>djinn</label>
		<race>WMH_Djinn</race>
		<combatPower>120</combatPower>
		<canArriveManhunter>false</canArriveManhunter>
		<ecoSystemWeight>1</ecoSystemWeight>
		
		<lifeStages>
			
			<li>
				<bodyGraphicData>
					<texPath>Things/Pawn/Animal/WMH_Djinn/WMH_Djinn</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_Djinn/WMH_Dessicated_Djinn</texPath>
					<drawSize>2</drawSize>
				</dessicatedBodyGraphicData>
			</li>
		</lifeStages>
	</PawnKindDef>

</Defs>