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

	<ThingCategoryDef>
		<defName>Ammo762x51mmNATO</defName>
		<label>7.62x51mm NATO</label>
		<parent>AmmoRifles</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberRifle</iconPath>
	</ThingCategoryDef>

	<!-- ==================== AmmoSet ========================== -->

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_762x51mmNATO</defName>
		<label>7.62x51mm NATO</label>
		<ammoTypes>
			<Ammo_762x51mmNATO_FMJ>Bullet_762x51mmNATO_FMJ</Ammo_762x51mmNATO_FMJ>
			<Ammo_762x51mmNATO_AP>Bullet_762x51mmNATO_AP</Ammo_762x51mmNATO_AP>
			<Ammo_762x51mmNATO_HP>Bullet_762x51mmNATO_HP</Ammo_762x51mmNATO_HP>
			<Ammo_762x51mmNATO_Incendiary>Bullet_762x51mmNATO_Incendiary</Ammo_762x51mmNATO_Incendiary>
			<Ammo_762x51mmNATO_HE>Bullet_762x51mmNATO_HE</Ammo_762x51mmNATO_HE>
			<Ammo_762x51mmNATO_Sabot>Bullet_762x51mmNATO_Sabot</Ammo_762x51mmNATO_Sabot>
		</ammoTypes>
		<similarTo>AmmoSet_Rifle</similarTo>
	</CombatExtended.AmmoSetDef>

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_762x51mmNATO_SB</defName>
		<label>7.62x51mm NATO</label>
		<ammoTypes>
			<Ammo_762x51mmNATO_FMJ>Bullet_762x51mmNATO_FMJ_SB</Ammo_762x51mmNATO_FMJ>
			<Ammo_762x51mmNATO_AP>Bullet_762x51mmNATO_AP_SB</Ammo_762x51mmNATO_AP>
			<Ammo_762x51mmNATO_HP>Bullet_762x51mmNATO_HP_SB</Ammo_762x51mmNATO_HP>
			<Ammo_762x51mmNATO_Incendiary>Bullet_762x51mmNATO_Incendiary_SB</Ammo_762x51mmNATO_Incendiary>
			<Ammo_762x51mmNATO_HE>Bullet_762x51mmNATO_HE_SB</Ammo_762x51mmNATO_HE>
			<Ammo_762x51mmNATO_Sabot>Bullet_762x51mmNATO_Sabot_SB</Ammo_762x51mmNATO_Sabot>
		</ammoTypes>
		<similarTo>AmmoSet_Rifle</similarTo>
	</CombatExtended.AmmoSetDef>

	<!-- ==================== Ammo ========================== -->

	<ThingDef Class="CombatExtended.AmmoDef" Name="762x51mmNATOBase" ParentName="SmallAmmoBase" Abstract="True">
		<description>Large rifle bullet used in machine guns, sniper rifles, and various other infantry weapons.</description>
		<statBases>
			<Mass>0.025</Mass>
			<Bulk>0.03</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>Ammo762x51mmNATO</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="762x51mmNATOBase">
		<defName>Ammo_762x51mmNATO_FMJ</defName>
		<label>7.62x51mm NATO (FMJ)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Battlerifle/FMJ</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>FullMetalJacket</ammoClass>
		<cookOffProjectile>Bullet_762x51mmNATO_FMJ</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="762x51mmNATOBase">
		<defName>Ammo_762x51mmNATO_AP</defName>
		<label>7.62x51mm NATO (AP)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Battlerifle/AP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ArmorPiercing</ammoClass>
		<cookOffProjectile>Bullet_762x51mmNATO_AP</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="762x51mmNATOBase">
		<defName>Ammo_762x51mmNATO_HP</defName>
		<label>7.62x51mm NATO (HP)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Battlerifle/HP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>HollowPoint</ammoClass>
		<cookOffProjectile>Bullet_762x51mmNATO_HP</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="762x51mmNATOBase">
		<defName>Ammo_762x51mmNATO_Incendiary</defName>
		<label>7.62x51mm NATO (AP-I)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Battlerifle/Incendiary</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>IncendiaryAP</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_762x51mmNATO_Incendiary</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="762x51mmNATOBase">
		<defName>Ammo_762x51mmNATO_HE</defName>
		<label>7.62x51mm NATO (AP-HE)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Battlerifle/HE</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ExplosiveAP</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_762x51mmNATO_HE</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="762x51mmNATOBase">
		<defName>Ammo_762x51mmNATO_Sabot</defName>
		<label>7.62x51mm NATO (Sabot)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Battlerifle/Sabot</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>0.02</Mass>
		</statBases>
		<ammoClass>Sabot</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_762x51mmNATO_Sabot</cookOffProjectile>
	</ThingDef>

	<!-- ================== Projectiles ================== -->

	<ThingDef Name="Base762x51mmNATOBullet" ParentName="BaseBulletCE" Abstract="true">
		<graphicData>
			<texPath>Things/Projectile/Bullet_Small</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<speed>156</speed>
			<dropsCasings>true</dropsCasings>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_FMJ</defName>
		<label>7.62mm NATO bullet (FMJ)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>20</damageAmountBase>
			<armorPenetrationSharp>7</armorPenetrationSharp>
			<armorPenetrationBlunt>66.72</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_AP</defName>
		<label>7.62mm NATO bullet (AP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>12</damageAmountBase>
			<armorPenetrationSharp>14</armorPenetrationSharp>
			<armorPenetrationBlunt>66.72</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_HP</defName>
		<label>7.62mm NATO bullet (HP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>25</damageAmountBase>
			<armorPenetrationSharp>4</armorPenetrationSharp>
			<armorPenetrationBlunt>66.72</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_Incendiary</defName>
		<label>7.62mm NATO bullet (AP-I)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>12</damageAmountBase>
			<armorPenetrationSharp>14</armorPenetrationSharp>
			<armorPenetrationBlunt>66.72</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>6</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_HE</defName>
		<label>7.62mm NATO bullet (AP-HE)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>20</damageAmountBase>
			<armorPenetrationSharp>7</armorPenetrationSharp>
			<armorPenetrationBlunt>66.72</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Bomb_Secondary</def>
					<amount>8</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_Sabot</defName>
		<label>7.62mm NATO bullet (Sabot)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>10</damageAmountBase>
			<armorPenetrationSharp>25</armorPenetrationSharp>
			<armorPenetrationBlunt>86.28</armorPenetrationBlunt>
			<speed>212</speed>
		</projectile>
	</ThingDef>

	<!-- ========= Low velocity ========= -->

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_FMJ_SB</defName>
		<label>7.62mm NATO bullet (FMJ)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>16</damageAmountBase>
			<armorPenetrationSharp>6</armorPenetrationSharp>
			<armorPenetrationBlunt>37.82</armorPenetrationBlunt>
			<speed>126</speed>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_AP_SB</defName>
		<label>7.62mm NATO bullet (AP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>10</damageAmountBase>
			<armorPenetrationSharp>10.5</armorPenetrationSharp>
			<armorPenetrationBlunt>37.82</armorPenetrationBlunt>
			<speed>126</speed>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_HP_SB</defName>
		<label>7.62mm NATO bullet (HP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>20</damageAmountBase>
			<armorPenetrationSharp>2.75</armorPenetrationSharp>
			<armorPenetrationBlunt>37.82</armorPenetrationBlunt>
			<speed>126</speed>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_Incendiary_SB</defName>
		<label>7.62mm NATO bullet (AP-I)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>10</damageAmountBase>
			<armorPenetrationSharp>10.5</armorPenetrationSharp>
			<armorPenetrationBlunt>37.82</armorPenetrationBlunt>
			<speed>126</speed>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>6</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_HE_SB</defName>
		<label>7.62mm NATO bullet (AP-HE)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>16</damageAmountBase>
			<armorPenetrationSharp>5.25</armorPenetrationSharp>
			<armorPenetrationBlunt>37.82</armorPenetrationBlunt>
			<speed>126</speed>
			<secondaryDamage>
				<li>
					<def>Bomb_Secondary</def>
					<amount>8</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base762x51mmNATOBullet">
		<defName>Bullet_762x51mmNATO_Sabot_SB</defName>
		<label>7.62mm NATO bullet (Sabot)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>8</damageAmountBase>
			<armorPenetrationSharp>18.5</armorPenetrationSharp>
			<armorPenetrationBlunt>48.92</armorPenetrationBlunt>
			<speed>171</speed>
		</projectile>
	</ThingDef>

	<!-- ==================== Recipes ========================== -->

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_762x51mmNATO_FMJ</defName>
		<label>make 7.62x51mm NATO (FMJ) cartridge x500</label>
		<description>Craft 500 7.62x51mm NATO (FMJ) cartridges.</description>
		<jobString>Making 7.62x51mm NATO (FMJ) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>26</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_762x51mmNATO_FMJ>500</Ammo_762x51mmNATO_FMJ>
		</products>
		<workAmount>2600</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_762x51mmNATO_AP</defName>
		<label>make 7.62x51mm NATO (AP) cartridge x500</label>
		<description>Craft 500 7.62x51mm NATO (AP) cartridges.</description>
		<jobString>Making 7.62x51mm NATO (AP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>26</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_762x51mmNATO_AP>500</Ammo_762x51mmNATO_AP>
		</products>
		<workAmount>3120</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_762x51mmNATO_HP</defName>
		<label>make 7.62x51mm NATO (HP) cartridge x500</label>
		<description>Craft 500 7.62x51mm NATO (HP) cartridges.</description>
		<jobString>Making 7.62x51mm NATO (HP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>26</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_762x51mmNATO_HP>500</Ammo_762x51mmNATO_HP>
		</products>
		<workAmount>2600</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_762x51mmNATO_Incendiary</defName>
		<label>make 7.62x51mm NATO (AP-I) cartridge x500</label>
		<description>Craft 500 7.62x51mm NATO (AP-I) cartridges.</description>
		<jobString>Making 7.62x51mm NATO (AP-I) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>26</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>3</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_762x51mmNATO_Incendiary>500</Ammo_762x51mmNATO_Incendiary>
		</products>
		<workAmount>3800</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_762x51mmNATO_HE</defName>
		<label>make 7.62x51mm NATO (AP-HE) cartridge x500</label>
		<description>Craft 500 7.62x51mm NATO (AP-HE) cartridges.</description>
		<jobString>Making 7.62x51mm NATO (AP-HE) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>26</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>5</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>FSX</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_762x51mmNATO_HE>500</Ammo_762x51mmNATO_HE>
		</products>
		<workAmount>4600</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_762x51mmNATO_Sabot</defName>
		<label>make 7.62x51mm NATO (Sabot) cartridge x500</label>
		<description>Craft 500 7.62x51mm NATO (Sabot) cartridges.</description>
		<jobString>Making 7.62x51mm NATO (Sabot) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>16</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Uranium</li>
					</thingDefs>
				</filter>
				<count>3</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Chemfuel</li>
					</thingDefs>
				</filter>
				<count>3</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Uranium</li>
				<li>Chemfuel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_762x51mmNATO_Sabot>500</Ammo_762x51mmNATO_Sabot>
		</products>
		<workAmount>3400</workAmount>
	</RecipeDef>

</Defs>