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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_Leviathan"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>30</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_Leviathan"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>12</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="Apparel_Leviathan"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.85</ArmorRating_Sharp>
						<parts>
							<li>Shoulder</li>
							<li>Leg</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Sharp>0.75</ArmorRating_Sharp>
						<parts>
							<li>Neck</li>
							<li>Arm</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.85</ArmorRating_Blunt>
						<parts>
							<li>Shoulder</li>
							<li>Leg</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.75</ArmorRating_Blunt>
						<parts>
							<li>Neck</li>
							<li>Arm</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Apparel_Leviathan"]/statBases</xpath>
		<value>
			<Bulk>90</Bulk>
			<WornBulk>15</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Apparel_Leviathan"]/equippedStatOffsets</xpath>
		<value>
			<CarryBulk>25</CarryBulk>
			<CarryWeight>75</CarryWeight>
			<ShootingAccuracyPawn>1.0</ShootingAccuracyPawn>
			<ToxicResistance>0.75</ToxicResistance>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_Leviathan"]/statBases/Mass</xpath>
		<value>
			<Mass>35</Mass>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_Leviathan"]/costList</xpath>
		<value>
			<costList>
				<Steel>125</Steel>
				<ComponentSpacer>2</ComponentSpacer>
				<Plasteel>250</Plasteel>
			</costList>
		</value>
	</Operation>

	<!-- ============================= Helmet ============================= -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_LeviathanH"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>25</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_LeviathanH"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>10</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="Apparel_LeviathanH"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.85</ArmorRating_Sharp>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.85</ArmorRating_Blunt>
						<parts>
							<li>Eye</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_LeviathanH"]/statBases/MaxHitPoints</xpath>
		<value>
			<MaxHitPoints>450</MaxHitPoints>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Apparel_LeviathanH"]/apparel/layers</xpath>
		<value>
			<li>OnHead</li>
			<li>StrappedHead</li>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Apparel_LeviathanH"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>2</WornBulk>
			<NightVisionEfficiency_Apparel>0.80</NightVisionEfficiency_Apparel>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_LeviathanH"]/costList</xpath>
		<value>
			<costList>
				<Steel>100</Steel>
				<ComponentSpacer>1</ComponentSpacer>
				<Plasteel>200</Plasteel>
			</costList>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Apparel_LeviathanH"]/equippedStatOffsets</xpath>
		<value>
			<PsychicSensitivity>-0.25</PsychicSensitivity>
			<AimingAccuracy>0.20</AimingAccuracy>
			<SmokeSensitivity>-1</SmokeSensitivity>
			<ToxicResistance>0.75</ToxicResistance>
		</value>
	</Operation>

	<!-- ============================= Lab Coat ============================= -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="LabCoat"]/statBases</xpath>
		<value>
			<Bulk>1</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<!-- ============================= Cyber Suit ============================= -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_CyberSuit"]/statBases/ArmorRating_Blunt</xpath>
		<value>
			<ArmorRating_Blunt>6</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_CyberSuit"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>3</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="Apparel_CyberSuit"]/statBases</xpath>
		<value>
			<Bulk>1</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="Apparel_CyberSuit"]/costList/ComponentIndustrial</xpath>
		<value>
			<ComponentSpacer>1</ComponentSpacer>
		</value>
	</Operation>

</Patch>