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

	<ThingDef Name="BasePawn" Abstract="True">
		<thingClass>Pawn</thingClass>
		<category>Pawn</category>
		<selectable>true</selectable>
		<tickerType>Normal</tickerType>
		<altitudeLayer>Pawn</altitudeLayer>
		<useHitPoints>false</useHitPoints>
		<hasTooltip>true</hasTooltip>
		<soundImpactDefault>BulletImpactFlesh</soundImpactDefault>
		<inspectorTabs>
			<li>ITab_Pawn_Health</li>
			<li>ITab_Pawn_Needs</li>
			<li>ITab_Pawn_Character</li>
			<li>ITab_Pawn_Gear</li>
			<li>ITab_Pawn_Guest</li>
			<li>ITab_Pawn_Prisoner</li>
		</inspectorTabs>
		<comps>
			<li>
				<compClass>CompAttachBase</compClass>
			</li>
		</comps>
		<drawGUIOverlay>true</drawGUIOverlay>
	</ThingDef>





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

	<ThingDef ParentName="BasePawn" Name="BaseMechanoid" Abstract="True">
		<soundImpactDefault>BulletImpactMetal</soundImpactDefault>
		<statBases>
			<Flammability>0</Flammability>
			<ComfyTemperatureMin>-75</ComfyTemperatureMin>
			<ComfyTemperatureMax>250</ComfyTemperatureMax>
		</statBases>
		<race>
			<needsRest>false</needsRest>
			<hasGenders>false</hasGenders>
			<isFlesh>false</isFlesh>
			<diet>NeverEats</diet>
		</race>
	</ThingDef>


	<ThingDef ParentName="BaseMechanoid">
		<defName>Race_Tank</defName>
		<label>tank</label>
		<description>A main battle tank. Used on the front line of ground assualts, and in urban combat.</description>
		<!--<targetHitChanceFactor>2.0</targetHitChanceFactor>-->
		<statBases>
			<MoveSpeed>2</MoveSpeed>
			<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
			<ArmorRating_Sharp>0.9</ArmorRating_Sharp>
			<MeatAmount>30</MeatAmount>
		</statBases>
		<verbs>
			<li>
				<verbClass>Verb_MeleeAttack</verbClass>
				<defaultCooldownTicks>150</defaultCooldownTicks>
				<meleeDamageBaseAmount>50</meleeDamageBaseAmount>
				<meleeDamageDef>Blunt</meleeDamageDef>
			</li>
		</verbs>
		<race>
			<intelligence>ToolUser</intelligence>
			<thinkTree>Mechanoid</thinkTree>
			<body>TankChassis</body>
			<baseBodySize>3.0</baseBodySize>
			<baseHealthScale>1.5</baseHealthScale>
			<lifeStageAges>
				<li>
					<def>OCTankFullyFormed</def>
					<minAge>0</minAge>
					<soundWounded>Pawn_Mech_Centipede_Wounded</soundWounded>
					<soundDeath>Pawn_Mech_Centipede_Death</soundDeath>
					<soundCall>Pawn_Mech_Centipede_Call</soundCall>
					<soundAngry>Pawn_Mech_Centipede_Angry</soundAngry>
				</li>
			</lifeStageAges>
			<soundCallIntervalRange>
				<min>1000</min>
				<max>1200</max>
			</soundCallIntervalRange>
			<soundMeleeHitPawn>Pawn_Melee_MechanoidBash_HitPawn</soundMeleeHitPawn>
			<soundMeleeHitBuilding>Pawn_Melee_MechanoidBash_HitBuilding</soundMeleeHitBuilding>
			<soundMeleeMiss>Pawn_Melee_MechanoidBash_Miss</soundMeleeMiss>
		</race>
		<butcherProducts>
			<Steel>160</Steel>
			<Plasteel>60</Plasteel>
			<Silicon>25</Silicon>
			<Uranium>15</Uranium>
		</butcherProducts>
	</ThingDef>

</ThingDefs>