<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<!-- === For Some Reason the Defs won't load, but to move to patch works === -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs</xpath>
		<value>
			<!-- === Helmets - Face Shield / Eye Shield Base === -->

			<ThingDef Name="EFTHeadgearShield" ParentName="JDSFrontierHeadgearBase" Abstract="True">
				<apparel Inherit="False">
					<bodyPartGroups>
						<li>FullHead</li>
					</bodyPartGroups>
					<layers>
						<li>Overhead</li>
					</layers>
					<tags>
						<li>MilitaryHeadgear</li>
					</tags>
					<defaultOutfitTags>
						<li>Soldier</li>
					</defaultOutfitTags>
					<useDeflectMetalEffect>true</useDeflectMetalEffect>
				</apparel>
			</ThingDef>

			<ThingDef Name="EFTHeadgearEyeShield" ParentName="JDSFrontierHeadgearBase" Abstract="True">
				<apparel Inherit="False">
					<bodyPartGroups>
						<li>UpperHead</li>
						<li>Eyes</li>
					</bodyPartGroups>
					<layers>
						<li>Overhead</li>
					</layers>
					<tags>
						<li>MilitaryHeadgear</li>
					</tags>
					<defaultOutfitTags>
						<li>Soldier</li>
					</defaultOutfitTags>
					<useDeflectMetalEffect>true</useDeflectMetalEffect>
				</apparel>
			</ThingDef>

			<!-- === Caps / Ushanka / Beanie === -->

			<ThingDef Name="EFTHeadgearCaps" ParentName="JDSFrontierFaceMaskBase" Abstract="True">
				<apparel Inherit="False">
					<bodyPartGroups>
						<li>UpperHead</li>
					</bodyPartGroups>
					<layers>
						<li>Overhead</li>
					</layers>
					<tags>
						<li>MilitaryHeadgear</li>
					</tags>
					<defaultOutfitTags>
						<li>Soldier</li>
					</defaultOutfitTags>
				</apparel>
			</ThingDef>

			<ThingDef Name="EFTHeadgearBeanie" ParentName="JDSFrontierFaceMaskBase" Abstract="True">
				<apparel Inherit="False">
					<bodyPartGroups>
						<li>UpperHead</li>
					</bodyPartGroups>
					<layers>
						<li>OnHead</li>
					</layers>
					<tags>
						<li>MilitaryHeadgear</li>
					</tags>
					<defaultOutfitTags>
						<li>Soldier</li>
					</defaultOutfitTags>
				</apparel>
			</ThingDef>

			<!-- === Webbing === -->

			<ThingDef Name="EFTWebbingBase" ParentName="JDSFrontierChestRigBase" Abstract="True">
				<apparel Inherit="False">
					<bodyPartGroups>
						<li>Shoulders</li>
					</bodyPartGroups>
					<layers>
						<li>Webbing</li>
					</layers>
					<tags>
						<li>MilitaryArmor</li>
					</tags>
					<defaultOutfitTags>
						<li>Soldier</li>
					</defaultOutfitTags>
				</apparel>
			</ThingDef>
		</value>
	</Operation>

	<!-- === Class 2 === -->

	<!-- == Module-3M / PAC SA / 6B2 == -->
	<Operation Class="PatchOperationAdd">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_Module-3M" or
			defName="JDSTarkov_PACA_Soft_Armor" or
			defName="JDSTarkov_6B2_Armor"
			]/statBases
		</xpath>
		<value>
			<Bulk>4.5</Bulk>
			<WornBulk>2</WornBulk>
		</value>
	</Operation>

	<!-- == statBases == -->
	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_Module-3M" or
			defName="JDSTarkov_PACA_Soft_Armor" or
			defName="JDSTarkov_6B2_Armor"
			]/statBases/ArmorRating_Sharp
		</xpath>
		<value>
			<ArmorRating_Sharp>6</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_Module-3M" or
			defName="JDSTarkov_PACA_Soft_Armor" or
			defName="JDSTarkov_6B2_Armor"
			]/statBases/ArmorRating_Blunt
		</xpath>
		<value>
			<ArmorRating_Blunt>8</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_Module-3M" or
			defName="JDSTarkov_PACA_Soft_Armor" or
			defName="JDSTarkov_6B2_Armor"
			]/statBases/ArmorRating_Heat
		</xpath>
		<value>
			<ArmorRating_Heat>0.24</ArmorRating_Heat>
		</value>
	</Operation>

	<!-- === Class 3 === -->

	<!-- == MF-UNTAR / Zhuk-3 PA / 6B23-1 / BNTI Kirasa-N == -->
	<Operation Class="PatchOperationAdd">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_MF-UNTAR_Armor_Vest" or
			defName="JDSTarkov_Zhuk-3_Press_Armor" or
			defName="JDSTarkov_6B23-1_Armor" or
			defName="JDSTarkov_BNTI_Kirasa-N_Armor"
			]/statBases
		</xpath>
		<value>
			<Bulk>6.5</Bulk>
			<WornBulk>3</WornBulk>
		</value>
	</Operation>

	<!-- == statBases == -->
	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_MF-UNTAR_Armor_Vest" or
			defName="JDSTarkov_Zhuk-3_Press_Armor" or
			defName="JDSTarkov_6B23-1_Armor" or
			defName="JDSTarkov_BNTI_Kirasa-N_Armor"
			]/statBases/ArmorRating_Sharp
		</xpath>
		<value>
			<ArmorRating_Sharp>10</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_MF-UNTAR_Armor_Vest" or
			defName="JDSTarkov_Zhuk-3_Press_Armor" or
			defName="JDSTarkov_6B23-1_Armor" or
			defName="JDSTarkov_BNTI_Kirasa-N_Armor"
			]/statBases/ArmorRating_Blunt
		</xpath>
		<value>
			<ArmorRating_Blunt>18</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_MF-UNTAR_Armor_Vest" or
			defName="JDSTarkov_Zhuk-3_Press_Armor" or
			defName="JDSTarkov_6B23-1_Armor" or
			defName="JDSTarkov_BNTI_Kirasa-N_Armor"
			]/statBases/ArmorRating_Heat
		</xpath>
		<value>
			<ArmorRating_Heat>0.36</ArmorRating_Heat>
		</value>
	</Operation>

	<!-- === Class 4 === -->

	<!-- == Highcom Trooper TFO / 6B13 / 6B23-2 == -->
	<Operation Class="PatchOperationAdd">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_Highcom_Trooper_TFO_Armor" or
			defName="JDSTarkov_6B13_Assault_Armor" or
			defName="JDSTarkov_6B23-2_Armor"
			]/statBases
		</xpath>
		<value>
			<Bulk>7</Bulk>
			<WornBulk>3</WornBulk>
		</value>
	</Operation>

	<!-- == statBases == -->
	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_Highcom_Trooper_TFO_Armor" or
			defName="JDSTarkov_6B13_Assault_Armor" or
			defName="JDSTarkov_6B23-2_Armor"
			]/statBases/ArmorRating_Sharp
		</xpath>
		<value>
			<ArmorRating_Sharp>15</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_Highcom_Trooper_TFO_Armor" or
			defName="JDSTarkov_6B13_Assault_Armor" or
			defName="JDSTarkov_6B23-2_Armor"
			]/statBases/ArmorRating_Blunt
		</xpath>
		<value>
			<ArmorRating_Blunt>26</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_Highcom_Trooper_TFO_Armor" or
			defName="JDSTarkov_6B13_Assault_Armor" or
			defName="JDSTarkov_6B23-2_Armor"
			]/statBases/ArmorRating_Heat
		</xpath>
		<value>
			<ArmorRating_Heat>0.36</ArmorRating_Heat>
		</value>
	</Operation>

	<!-- === Class 5 === -->

	<!-- == FORT Redut-M / 6B13 M / IOTV Gen4 / BNTI Gzhel-K / FORT Defender-2 == -->
	<Operation Class="PatchOperationAdd">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_FORT_Redut-M_Body_Armor" or
			defName="JDSTarkov_6B13_M_Assault_Armor" or
			defName="JDSTarkov_IOTV_Gen4_Armor" or
			defName="JDSTarkov_BNTI_Gzhel-K_Armor" or
			defName="JDSTarkov_FORT_Defender-2_Body_Armor"
			]/statBases
		</xpath>
		<value>
			<Bulk>7</Bulk>
			<WornBulk>5</WornBulk>
		</value>
	</Operation>

	<!-- == IOTV Gen4 Armor (Assault) / IOTV Gen4 Armor (Assault) / FORT Redut-T5 == -->
	<Operation Class="PatchOperationAdd">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_IOTV_Gen4_ArmorAssaultkit" or
			defName="JDSTarkov_IOTV_Gen4_ArmorFullProtection" or
			defName="JDSTarkov_FORT_Redut-T5_Body_Armor"
			]/statBases
		</xpath>
		<value>
			<Bulk>8.5</Bulk>
			<WornBulk>3.5</WornBulk>
		</value>
	</Operation>

	<!-- == statBases == -->
	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_FORT_Redut-M_Body_Armor" or
			defName="JDSTarkov_6B13_M_Assault_Armor" or
			defName="JDSTarkov_IOTV_Gen4_Armor" or
			defName="JDSTarkov_BNTI_Gzhel-K_Armor" or
			defName="JDSTarkov_FORT_Defender-2_Body_Armor" or
			defName="JDSTarkov_IOTV_Gen4_ArmorAssaultkit" or
			defName="JDSTarkov_IOTV_Gen4_ArmorFullProtection" or
			defName="JDSTarkov_FORT_Redut-T5_Body_Armor"
			]/statBases/ArmorRating_Sharp
		</xpath>
		<value>
			<ArmorRating_Sharp>14.5</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_FORT_Redut-M_Body_Armor" or
			defName="JDSTarkov_6B13_M_Assault_Armor" or
			defName="JDSTarkov_IOTV_Gen4_Armor" or
			defName="JDSTarkov_BNTI_Gzhel-K_Armor" or
			defName="JDSTarkov_FORT_Defender-2_Body_Armor" or
			defName="JDSTarkov_IOTV_Gen4_ArmorAssaultkit" or
			defName="JDSTarkov_IOTV_Gen4_ArmorFullProtection" or
			defName="JDSTarkov_FORT_Redut-T5_Body_Armor"
			]/statBases/ArmorRating_Blunt
		</xpath>
		<value>
			<ArmorRating_Blunt>26</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_FORT_Redut-M_Body_Armor" or
			defName="JDSTarkov_6B13_M_Assault_Armor" or
			defName="JDSTarkov_IOTV_Gen4_Armor" or
			defName="JDSTarkov_BNTI_Gzhel-K_Armor" or
			defName="JDSTarkov_FORT_Defender-2_Body_Armor" or
			defName="JDSTarkov_IOTV_Gen4_ArmorAssaultkit" or
			defName="JDSTarkov_IOTV_Gen4_ArmorFullProtection" or
			defName="JDSTarkov_FORT_Redut-T5_Body_Armor"
			]/statBases/ArmorRating_Heat
		</xpath>
		<value>
			<ArmorRating_Heat>0.36</ArmorRating_Heat>
		</value>
	</Operation>

	<!-- === Class 6 === -->

	<!-- == LBT 6094A SPC == -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="JDSTarkov_LBT_6094A_Slick_Plate_Carrier"]/statBases</xpath>
		<value>
			<Bulk>7.5</Bulk>
			<WornBulk>4</WornBulk>
		</value>
	</Operation>

	<!-- == 6B43 Z-Sh 6A == -->
	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="JDSTarkov_6B43_Zabralo-Sh_6A_Armor"]/statBases</xpath>
		<value>
			<Bulk>9</Bulk>
			<WornBulk>5.5</WornBulk>
		</value>
	</Operation>

	<!-- == statBases == -->
	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_6B43_Zabralo-Sh_6A_Armor" or
			defName="JDSTarkov_LBT_6094A_Slick_Plate_Carrier"
			]/statBases/ArmorRating_Sharp
		</xpath>
		<value>
			<ArmorRating_Sharp>16</ArmorRating_Sharp>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_6B43_Zabralo-Sh_6A_Armor" or
			defName="JDSTarkov_LBT_6094A_Slick_Plate_Carrier"
			]/statBases/ArmorRating_Blunt
		</xpath>
		<value>
			<ArmorRating_Blunt>32</ArmorRating_Blunt>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>
			Defs/ThingDef[
			defName="JDSTarkov_6B43_Zabralo-Sh_6A_Armor" or
			defName="JDSTarkov_LBT_6094A_Slick_Plate_Carrier"
			]/statBases/ArmorRating_Heat
		</xpath>
		<value>
			<ArmorRating_Heat>0.36</ArmorRating_Heat>
		</value>
	</Operation>

</Patch>