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

	<ThingCategoryDef>
		<defName>Ammo152x169mm</defName>
		<label>15.2x169mm</label>
		<parent>AmmoHighCaliber</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberHighCaliber</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_152x169mm</defName>
		<label>15.2x169mm</label>
		<ammoTypes>
			<Ammo_152x169mm_Sabot>Bullet_152x169mm_Sabot</Ammo_152x169mm_Sabot>
		</ammoTypes>
		<similarTo>AmmoSet_AntiMateriel</similarTo>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="Ammo152x169mmBase" ParentName="MediumAmmoBase" Abstract="True">
		<description>Prototype smoothbore cartridge designed for anti-material use.</description>
		<statBases>
			<Mass>0.135</Mass>
			<Bulk>0.33</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>Ammo152x169mm</li>
		</thingCategories>
		<stackLimit>2000</stackLimit>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo152x169mmBase">
		<defName>Ammo_152x169mm_Sabot</defName>
		<label>15.2x169mm (Sabot)</label>
		<graphicData>
			<texPath>Things/Ammo/HighCaliber/Sabot</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>Sabot</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_152x169mm_Sabot</cookOffProjectile>
	</ThingDef>

	<!-- ================== Projectile ================== -->

	<ThingDef Name="Base152x169mmBullet" ParentName="BaseBulletCE" Abstract="true">
		<graphicData>
			<texPath>Things/Projectile/Bullet_Big</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base152x169mmBullet">
		<defName>Bullet_152x169mm_Sabot</defName>
		<label>15.2x169mm bullet (Sabot)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>235</speed>
			<damageAmountBase>26</damageAmountBase>
			<armorPenetrationSharp>60</armorPenetrationSharp>
			<armorPenetrationBlunt>420.5</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_152x169mm_Sabot</defName>
		<label>make 15.2x169mm (Sabot) cartridge x200</label>
		<description>Craft 200 15.2x169mm (Sabot) cartridges.</description>
		<jobString>Making 15.2x169mm (Sabot) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>46</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Uranium</li>
					</thingDefs>
				</filter>
				<count>4</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Chemfuel</li>
					</thingDefs>
				</filter>
				<count>4</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Chemfuel</li>
				<li>Steel</li>
				<li>Uranium</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_152x169mm_Sabot>200</Ammo_152x169mm_Sabot>
		</products>
		<workAmount>7000</workAmount>
	</RecipeDef>

</Defs>