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

	<!-- Thawb, Kimono -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			@Name="K4GThawb" or
			@Name="K4GKimono"
		]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<Bulk>1.5</Bulk>
			<WornBulk>1</WornBulk>
			<StuffEffectMultiplierArmor>1.5</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- Tattered Rags -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_TatteredRags"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<Bulk>0.5</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

	<!-- Headgear -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			@Name="K4GTurban" or
			@Name="K4GHeadScarf" or
			@Name="K4GUshanka" or
			defName="K4G_Apparel_TricornHat" or
			defName="K4G_Apparel_ConeHat" or
			defName="K4G_Apparel_HoodedMask" or
			defName="K4G_Apparel_Fedora" or
			defName="K4G_Apparel_Flatcap" or
			defName="K4G_Apparel_WinterHood" or
			defName="K4G_Apparel_Balaclava" or
			defName="K4G_Apparel_PatrolCap" or
			defName="K4G_Apparel_BaseballCap" or
			defName="K4G_Apparel_SheriffHat"
		]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
			<Bulk>1</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

	<!-- Imperial & Outlander Helmet -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="K4GImperialHelmet" or defName="K4G_Apparel_OutlanderHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>4</StuffEffectMultiplierArmor>
			<Bulk>3</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="K4GImperialHelmet" or defName="K4G_Apparel_OutlanderHelmet"]/stuffCategories/li[.="Metallic"]</xpath>
		<value>
			<li>Steeled</li>
		</value>
	</Operation>

	<!-- Goggled & Advanced Outlander Helmet -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			@Name="LegionaryHelmet" or
			defName="K4G_Apparel_AdvancedOutlanderHelmet" or
			defName="K4G_Apparel_GoggledHelmet"
		]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>8</StuffEffectMultiplierArmor>
			<Bulk>3</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			@Name="LegionaryHelmet"	or
			defName="K4G_Apparel_AdvancedOutlanderHelmet" or
			defName="K4G_Apparel_GoggledHelmet"
		]/stuffCategories/li[.="Metallic"]</xpath>
		<value>
			<li>Steeled</li>
		</value>
	</Operation>

	<!-- Riot Helmet -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_RiotHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>6</StuffEffectMultiplierArmor>
			<Bulk>5</Bulk>
			<WornBulk>2.5</WornBulk>
		</value>
	</Operation>

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

	<!-- Workman/Mining Helmet == -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_WorkmanHelmet" or defName="K4G_Apparel_MiningHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>1.2</StuffEffectMultiplierArmor>
			<Bulk>2</Bulk>
			<WornBulk>1</WornBulk>
		</value>
	</Operation>

	<!-- Flak Mask -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_FlakMask"]/statBases/ArmorRating_Sharp </xpath>
		<value>
			<ArmorRating_Sharp>5</ArmorRating_Sharp>
		</value>
	</Operation>

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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_FlakMask"]/apparel/layers/li[.="EyeCover"] </xpath>
		<value>
			<li>StrappedHead</li>
		</value>
	</Operation>

	<!-- Coveralls & Overcoat-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[@Name="K4GCoveralls" or @Name="K4GOvercoat"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<Bulk>2</Bulk>
			<WornBulk>1</WornBulk>
			<StuffEffectMultiplierArmor>3</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- Service Parka -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_ServiceParka"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>4</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_ServiceParka"]/statBases</xpath>
		<value>
			<Bulk>10</Bulk>
			<WornBulk>5</WornBulk>
		</value>
	</Operation>

	<!-- Advanced Flak Vest -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_AdvancedFlakVest"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>6</ArmorRating_Sharp>
			<Bulk>5</Bulk>
			<WornBulk>3.5</WornBulk>						
		</value>
	</Operation>

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

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

	<Operation Class="PatchOperationAddModExtension">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_AdvancedFlakVest"]</xpath>
		<value>
			<li Class="CombatExtended.PartialArmorExt">
				<stats>
					<li>
						<ArmorRating_Sharp>0.60</ArmorRating_Sharp>
						<parts>
							<li>Neck</li>
							<li>Shoulder</li>
						</parts>
					</li>
					<li>
						<ArmorRating_Blunt>0.60</ArmorRating_Blunt>
						<parts>
							<li>Neck</li>
							<li>Shoulder</li>
						</parts>
					</li>
				</stats>
			</li>
		</value>
	</Operation>

	<!-- Goggles -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_Goggles" or defName="K4G_Apparel_SnowGoggles"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<StuffEffectMultiplierArmor>0.5</StuffEffectMultiplierArmor>
			<Bulk>0.5</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

	<!-- Lab Coat -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_LabCoat"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<Bulk>7.5</Bulk>
			<WornBulk>1</WornBulk>
			<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- Military Medal, Eyepatch -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_MilitaryMedal" or @Name="Eyepatch"]/statBases</xpath>
		<value>
			<Bulk>0.15</Bulk>
			<WornBulk>0</WornBulk>
		</value>
	</Operation>

	<!-- Scarf -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_Scarf"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<Bulk>1</Bulk>
			<WornBulk>0</WornBulk>
			<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- Welding Mask -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_WeldingMask"]/statBases/StuffEffectMultiplierArmor</xpath>
		<value>
			<Bulk>1</Bulk>
			<WornBulk>1</WornBulk>
			<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
		</value>
	</Operation>

	<!-- Beer Helmet -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="K4G_Apparel_BeerHelmet"]/statBases/ArmorRating_Sharp</xpath>
		<value>
			<ArmorRating_Sharp>4</ArmorRating_Sharp>
			<Bulk>4</Bulk>
			<WornBulk>1.5</WornBulk>
		</value>
	</Operation>

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

</Patch>