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

	<!-- Relabeled .45 ACP -->

	<ThingCategoryDef>
		<defName>AmmoPistol</defName>
		<label>pistol ammo</label>
		<parent>AmmoPistols</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberPistol</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_Pistol</defName>
		<label>pistol</label>
		<ammoTypes>
			<Ammo_Pistol_FMJ>Bullet_45ACP_FMJ</Ammo_Pistol_FMJ>
			<Ammo_Pistol_AP>Bullet_45ACP_AP</Ammo_Pistol_AP>
			<Ammo_Pistol_HP>Bullet_45ACP_HP</Ammo_Pistol_HP>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="AmmoPistolBase" ParentName="SmallAmmoBase" Abstract="True">
		<description>Common pistol cartridge used by a variety of handguns and SMGs.</description>
		<statBases>
			<Mass>0.02</Mass>
			<Bulk>0.02</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>AmmoPistol</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoPistolBase">
		<defName>Ammo_Pistol_FMJ</defName>
		<label>pistol cartridge (FMJ)</label>
		<graphicData>
			<texPath>Things/Ammo/Pistol/FMJ</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>FullMetalJacket</ammoClass>
		<cookOffProjectile>Bullet_45ACP_FMJ</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoPistolBase">
		<defName>Ammo_Pistol_AP</defName>
		<label>pistol cartridge (AP)</label>
		<graphicData>
			<texPath>Things/Ammo/Pistol/AP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ArmorPiercing</ammoClass>
		<cookOffProjectile>Bullet_45ACP_AP</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoPistolBase">
		<defName>Ammo_Pistol_HP</defName>
		<label>pistol cartridge (HP)</label>
		<graphicData>
			<texPath>Things/Ammo/Pistol/HP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>HollowPoint</ammoClass>
		<cookOffProjectile>Bullet_45ACP_HP</cookOffProjectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Pistol_FMJ</defName>
		<label>make pistol (FMJ) cartridge x500</label>
		<description>Craft 500 pistol (FMJ) cartridges.</description>
		<jobString>Making pistol (FMJ) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>22</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_Pistol_FMJ>500</Ammo_Pistol_FMJ>
		</products>
		<workAmount>2200</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Pistol_AP</defName>
		<label>make pistol (AP) cartridge x500</label>
		<description>Craft 500 pistol (AP) cartridges.</description>
		<jobString>Making pistol (AP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>22</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_Pistol_AP>500</Ammo_Pistol_AP>
		</products>
		<workAmount>2640</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Pistol_HP</defName>
		<label>make pistol (HP) cartridge x500</label>
		<description>Craft 500 pistol (HP) cartridges.</description>
		<jobString>Making pistol (HP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>22</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_Pistol_HP>500</Ammo_Pistol_HP>
		</products>
		<workAmount>2200</workAmount>
	</RecipeDef>

</Defs>