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

	<ThingDef ParentName="WMH_MonsterBase">

		<defName>WMH_Golem</defName>
		<label>golem</label>
		<description>Golems are mindless matter brought to life by psychic anomaly. Golems use no weapons, for they have no need – their fists, weighing over a hundred pounds each, can crush solid granite with one hit. Their solid rock armor can deflect almost every attack - killing a golem involves slashing a solid rock.\n\nMonster class traits: Being an elemental, a Golem is immune to fire and cold.</description>		
		<statBases>
			<MoveSpeed>2.5</MoveSpeed>
			<ComfyTemperatureMin>-250</ComfyTemperatureMin>
			<ComfyTemperatureMax>750</ComfyTemperatureMax>
			<MarketValue>250</MarketValue>
			<MeatAmount>0</MeatAmount>
			<LeatherAmount>0</LeatherAmount>
			<PsychicSensitivity>0</PsychicSensitivity>
			<ToxicSensitivity>0</ToxicSensitivity>
			<Flammability>0</Flammability>
			<ArmorRating_Heat>2</ArmorRating_Heat>
			<ArmorRating_Blunt>1.5</ArmorRating_Blunt>
			<ArmorRating_Sharp>1.5</ArmorRating_Sharp>

		</statBases>
		<tools>

			<li>
				<label>left fist</label>
				<capacities>
					<li>Blunt</li>
				</capacities>
				<power>32</power>
				<cooldownTime>3</cooldownTime>
				<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
			</li>
			<li>
				<label>right fist</label>
				<capacities>
					<li>Blunt</li>
				</capacities>
				<power>32</power>
				<cooldownTime>3</cooldownTime>
				<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
			</li>
			<li>
				<label>head</label>
				<capacities>
					<li>Blunt</li>
				</capacities>
				<power>25</power>
				<cooldownTime>2</cooldownTime>
				<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
				<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
				<chanceFactor>0.2</chanceFactor>
			</li>

		</tools>

		<comps>

			<li Class="WMHAnimalBehaviours.CompProperties_InitialHediff">
				<hediffname>WMH_NoPain</hediffname>
				<hediffseverity>1</hediffseverity>
			</li>
		</comps>
		<race>
			<bloodDef>WMH_Filth_Rocks</bloodDef>
			<body>WMH_RockHumanoid</body>
			<baseBodySize>8</baseBodySize>
			<baseHealthScale>10</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_Elementa_Wounded</soundWounded>
					<soundDeath>WMH_Pawn_Elementa_Death</soundDeath>
					<soundCall>WMH_Pawn_Elementa_Call</soundCall>
					<soundAngry>WMH_Pawn_Elementa_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_Golem</defName>
		<label>golem</label>
		<race>WMH_Golem</race>
		<combatPower>450</combatPower>
		<canArriveManhunter>false</canArriveManhunter>
		<ecoSystemWeight>1</ecoSystemWeight>
		<alternateGraphicChance>0.8</alternateGraphicChance>
		<alternateGraphics>
			<li><texPath>Things/Pawn/Animal/WMH_Golem/WMH_Golem</texPath></li>
			<li><texPath>Things/Pawn/Animal/WMH_Golem/WMH_Golem2</texPath></li>
			<li><texPath>Things/Pawn/Animal/WMH_Golem/WMH_Golem3</texPath></li>
			<li><texPath>Things/Pawn/Animal/WMH_Golem/WMH_Golem4</texPath></li>

		</alternateGraphics>
		<lifeStages>

			<li>
				<bodyGraphicData>
					<texPath>Things/Pawn/Animal/WMH_Golem/WMH_Golem</texPath>
					<drawSize>3</drawSize>
					<shadowData>
						<volume>(0.8, 0.6, 0.6)</volume>
						<offset>(0,0,-0.3)</offset>
					</shadowData>
				</bodyGraphicData>
				<dessicatedBodyGraphicData>
					<texPath>Things/Pawn/Animal/WMH_Golem/WMH_Dessicated_Golem</texPath>
					<drawSize>3</drawSize>
				</dessicatedBodyGraphicData>
			</li>
		</lifeStages>
	</PawnKindDef>

</Defs>