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

	<ThingCategoryDef>
		<defName>Ammo132x92mmSRTuF</defName>
		<label>13.2x92mmSR TuF</label>
		<parent>AmmoRifles</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberHighCaliber</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_132x92mmSRTuF</defName>
		<label>13.2x92mmSR TuF</label>
		<ammoTypes>
			<Ammo_132x92mmSRTuF_FMJ>Bullet_132x92mmSRTuF_FMJ</Ammo_132x92mmSRTuF_FMJ>
			<Ammo_132x92mmSRTuF_AP>Bullet_132x92mmSRTuF_AP</Ammo_132x92mmSRTuF_AP>
			<Ammo_132x92mmSRTuF_HE>Bullet_132x92mmSRTuF_HE</Ammo_132x92mmSRTuF_HE>
			<Ammo_132x92mmSRTuF_Incendiary>Bullet_132x92mmSRTuF_Incendiary</Ammo_132x92mmSRTuF_Incendiary>
			<Ammo_132x92mmSRTuF_Sabot>Bullet_132x92mmSRTuF_Sabot</Ammo_132x92mmSRTuF_Sabot>
		</ammoTypes>
		<similarTo>AmmoSet_AntiMateriel</similarTo>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="Ammo132x92mmSRTuFBase" ParentName="MediumAmmoBase" Abstract="True">
		<description>Outdated large caliber bullet used in anti-materiel rifles.</description>
		<statBases>
			<Mass>0.142</Mass>
			<Bulk>0.09</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>Ammo132x92mmSRTuF</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo132x92mmSRTuFBase">
		<defName>Ammo_132x92mmSRTuF_FMJ</defName>
		<label>13.2x92mmSR TuF (FMJ)</label>
		<graphicData>
			<texPath>Things/Ammo/HighCaliber/FMJ</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>FullMetalJacket</ammoClass>
		<cookOffProjectile>Bullet_132x92mmSRTuF_FMJ</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo132x92mmSRTuFBase">
		<defName>Ammo_132x92mmSRTuF_AP</defName>
		<label>13.2x92mmSR TuF (AP)</label>
		<graphicData>
			<texPath>Things/Ammo/HighCaliber/AP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ArmorPiercing</ammoClass>
		<cookOffProjectile>Bullet_132x92mmSRTuF_AP</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo132x92mmSRTuFBase">
		<defName>Ammo_132x92mmSRTuF_Incendiary</defName>
		<label>13.2x92mmSR TuF (AP-I)</label>
		<graphicData>
			<texPath>Things/Ammo/HighCaliber/Incendiary</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>IncendiaryAP</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_132x92mmSRTuF_Incendiary</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo132x92mmSRTuFBase">
		<defName>Ammo_132x92mmSRTuF_HE</defName>
		<label>13.2x92mmSR TuF (AP-HE)</label>
		<graphicData>
			<texPath>Things/Ammo/HighCaliber/HE</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ExplosiveAP</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_132x92mmSRTuF_HE</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo132x92mmSRTuFBase">
		<defName>Ammo_132x92mmSRTuF_Sabot</defName>
		<label>13.2x92mmSR TuF (Sabot)</label>
		<graphicData>
			<texPath>Things/Ammo/HighCaliber/Sabot</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>0.12</Mass>
		</statBases>
		<ammoClass>Sabot</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_132x92mmSRTuF_Sabot</cookOffProjectile>
	</ThingDef>

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

	<ThingDef Name="Base132x92mmSRTuFBullet" ParentName="BaseBulletCE" Abstract="true">
		<graphicData>
			<texPath>Things/Projectile/Bullet_Big</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<speed>149</speed>
			<dropsCasings>true</dropsCasings>
			<casingMoteDefname>Fleck_RifleAmmoCasings_HighCal</casingMoteDefname>
			<casingFilthDefname>Filth_RifleAmmoCasings_HighCal</casingFilthDefname>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base132x92mmSRTuFBullet">
		<defName>Bullet_132x92mmSRTuF_FMJ</defName>
		<label>13.2mm TuF bullet (FMJ)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>40</damageAmountBase>
			<armorPenetrationSharp>13</armorPenetrationSharp>
			<armorPenetrationBlunt>317.36</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base132x92mmSRTuFBullet">
		<defName>Bullet_132x92mmSRTuF_AP</defName>
		<label>13.2mm TuF bullet (AP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>25</damageAmountBase>
			<armorPenetrationSharp>26</armorPenetrationSharp>
			<armorPenetrationBlunt>317.36</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base132x92mmSRTuFBullet">
		<defName>Bullet_132x92mmSRTuF_Incendiary</defName>
		<label>13.2x92mmSR TuF bullet (AP-I)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>25</damageAmountBase>
			<armorPenetrationSharp>26</armorPenetrationSharp>
			<armorPenetrationBlunt>317.36</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>15</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base132x92mmSRTuFBullet">
		<defName>Bullet_132x92mmSRTuF_HE</defName>
		<label>13.2x92mmSR TuF bullet (AP-HE)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>40</damageAmountBase>
			<armorPenetrationSharp>13</armorPenetrationSharp>
			<armorPenetrationBlunt>317.36</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Bomb_Secondary</def>
					<amount>21</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base132x92mmSRTuFBullet">
		<defName>Bullet_132x92mmSRTuF_Sabot</defName>
		<label>13.2x92mmSR TuF bullet (Sabot)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>202</speed>
			<damageAmountBase>21</damageAmountBase>
			<armorPenetrationSharp>45.5</armorPenetrationSharp>
			<armorPenetrationBlunt>406.94</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_132x92mmSRTuF_FMJ</defName>
		<label>make 13.2x92mmSR TuF (FMJ) cartridge x350</label>
		<description>Craft 350 13.2x92mmSR TuF (FMJ) cartridges.</description>
		<jobString>Making 13.2x92mmSR TuF (FMJ) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>58</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_132x92mmSRTuF_FMJ>200</Ammo_132x92mmSRTuF_FMJ>
		</products>
		<workAmount>5800</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_132x92mmSRTuF_AP</defName>
		<label>make 13.2x92mmSR TuF (AP) cartridge x350</label>
		<description>Craft 350 13.2x92mmSR TuF (AP) cartridges.</description>
		<jobString>Making 13.2x92mmSR TuF (AP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>58</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_132x92mmSRTuF_AP>200</Ammo_132x92mmSRTuF_AP>
		</products>
		<workAmount>6960</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_132x92mmSRTuF_Incendiary</defName>
		<label>make 13.2x92mmSR TuF (AP-I) cartridge x200</label>
		<description>Craft 200 13.2x92mmSR TuF (AP-I) cartridges.</description>
		<jobString>Making 13.2x92mmSR TuF (AP-I) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>58</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>6</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_132x92mmSRTuF_Incendiary>200</Ammo_132x92mmSRTuF_Incendiary>
		</products>
		<workAmount>8200</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_132x92mmSRTuF_HE</defName>
		<label>make 13.2x92mmSR TuF (AP-HE) cartridge x200</label>
		<description>Craft 200 13.2x92mmSR TuF (AP-HE) cartridges.</description>
		<jobString>Making 13.2x92mmSR TuF (AP-HE) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>58</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>11</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>FSX</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_132x92mmSRTuF_HE>200</Ammo_132x92mmSRTuF_HE>
		</products>
		<workAmount>10200</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_132x92mmSRTuF_Sabot</defName>
		<label>make 13.2x92mmSR TuF (Sabot) cartridge x200</label>
		<description>Craft 200 13.2x92mmSR TuF (Sabot) cartridges.</description>
		<jobString>Making 13.2x92mmSR TuF (Sabot) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>36</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Uranium</li>
					</thingDefs>
				</filter>
				<count>6</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Chemfuel</li>
					</thingDefs>
				</filter>
				<count>6</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Chemfuel</li>
				<li>Steel</li>
				<li>Uranium</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_132x92mmSRTuF_Sabot>200</Ammo_132x92mmSRTuF_Sabot>
		</products>
		<workAmount>7200</workAmount>
	</RecipeDef>

</Defs>