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

	<!-- Partial Plasteel Material Cost 1mm -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientPlateHelmet"]/statBases</xpath>
		<value>
			<Bulk>6</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientPlateHelmet"]/statBases</xpath>
		<value>
			<ArmorRating_Sharp>2</ArmorRating_Sharp>
			<ArmorRating_Blunt>3</ArmorRating_Blunt>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientHoodedHelmet"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientPlateHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2.5</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientPlateHelmet"]/equippedStatOffsets/ShootingAccuracyPawn</xpath>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientPlateHelmet"]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>-0.4</AimingAccuracy><!-- CE Bascinet -->
			<MeleeHitChance>-2</MeleeHitChance>
			<Suppressability>-0.20</Suppressability>
		</value>
	</Operation>

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

	<!-- === Hood ===-->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientHoodedHelmet"]/statBases</xpath>
		<value>
			<ArmorRating_Sharp>1</ArmorRating_Sharp>
			<ArmorRating_Blunt>1.5</ArmorRating_Blunt>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientHoodedHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
		</value>
	</Operation>
	
	<Operation Class="PatchOperationRemove">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientHoodedHelmet"]/equippedStatOffsets/ShootingAccuracyPawn</xpath>
	</Operation>
	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientHoodedHelmet"]/equippedStatOffsets</xpath>
		<value>
			<AimingAccuracy>-0.2</AimingAccuracy>
			<MeleeHitChance>-1</MeleeHitChance>
			<Suppressability>-0.10</Suppressability>
		</value>
	</Operation>
	
	<!-- === Hood === -->	
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="BotchJob_AncientAcolyteCowl"]/statBases</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

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

</Patch>