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

<!--
	Each coverage value is relative to its parent.
	Remaining body part coverage (100% minus coverage of all child nodes) is a chance to hit exactly this part.
	Damage "starts" at corePart, and then "goes deeper" until it hits remaining body part coverage or leaf node - this body part is then hit.
-->

<BodyDefs>
	
	<BodyDef>
		<defName>TankChassis</defName>
		<label>tank chassis</label>
		<corePart>
			<def>TChassis</def>
			<height>Middle</height>
			<depth>Outside</depth>
			<groups>
				<li>CoveredByNaturalArmor</li>
			</groups>
			<parts>
				<li>
					<def>THull</def>
					<coverage>0.2</coverage>
					<height>Top</height>
				</li>
				<li>
					<def>TBracing</def>
					<coverage>0.001</coverage>
					<depth>Inside</depth>
					<groups>
						<li>CoveredByNaturalArmor</li>
					</groups>
				</li>
				<li>
					<def>TBracing</def>
					<coverage>0.001</coverage>
					<depth>Inside</depth>
					<groups>
						<li>CoveredByNaturalArmor</li>
					</groups>
				</li>
				<li>
					<def>TBracing</def>
					<coverage>0.001</coverage>
					<depth>Inside</depth>
					<groups>
						<li>CoveredByNaturalArmor</li>
					</groups>
				</li>
				<li>
					<def>TBracing</def>
					<coverage>0.001</coverage>
					<depth>Inside</depth>
					<groups>
						<li>CoveredByNaturalArmor</li>
					</groups>
				</li>
				<li>
					<def>Engine</def>
					<coverage>0.015</coverage>
					<depth>Inside</depth>
					<groups>
						<li>CoveredByNaturalArmor</li>
					</groups>
				</li>
				<li>
					<def>TurretActuator</def>
					<coverage>0.08</coverage>
					<height>Top</height>
					<groups>
						<li>CoveredByNaturalArmor</li>
					</groups>
					<parts>
						<li>
							<def>CannonLoader</def>
							<coverage>0.08</coverage>
							<groups>
								<li>CoveredByNaturalArmor</li>
							</groups>
						</li>
						<li>
							<def>AmmoRack</def>
							<coverage>0.15</coverage>
						</li>
						<li>
							<def>TurretHull</def>
							<coverage>0.05</coverage>
						</li>
						<li>
							<def>OcularSensor</def>
							<coverage>0.05</coverage>
						</li>
					</parts>
				</li>
				<li>
					<def>LeftTrack</def>
					<coverage>0.1</coverage>
					<height>Bottom</height>
					<groups>
						<li>CoveredByNaturalArmor</li>
					</groups>
					<parts>
						<li>
							<def>TrackChain</def>
							<coverage>0.1</coverage>
							<groups>
								<li>CoveredByNaturalArmor</li>
							</groups>
						</li>
						<li>
							<def>Fender</def>
							<coverage>0.1</coverage>
							<groups>
								<li>CoveredByNaturalArmor</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
					</parts>
				</li>
				<li>
					<def>RightTrack</def>
					<coverage>0.1</coverage>
					<height>Bottom</height>
					<groups>
						<li>CoveredByNaturalArmor</li>
					</groups>
					<parts>
						<li>
							<def>TrackChain</def>
							<coverage>0.1</coverage>
							<groups>
								<li>CoveredByNaturalArmor</li>
							</groups>
						</li>
						<li>
							<def>Fender</def>
							<coverage>0.1</coverage>
							<groups>
								<li>CoveredByNaturalArmor</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
						<li>
							<def>LargeGear</def>
							<coverage>0.1</coverage>
							<groups>
								<li>Claws</li>
							</groups>
						</li>
					</parts>
				</li>
			</parts>
		</corePart>
	</BodyDef>

</BodyDefs>