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

	<!-- Relabeled 12 gauge shells -->

	<ThingCategoryDef>
		<defName>AmmoShotgun</defName>
		<label>shotgun ammo</label>
		<parent>AmmoShotguns</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberShotgun</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_Shotgun</defName>
		<label>shotgun shell</label>
		<ammoTypes>
			<Ammo_Shotgun_Buck>Bullet_12Gauge_Buck</Ammo_Shotgun_Buck>
			<Ammo_Shotgun_Slug>Bullet_12Gauge_Slug</Ammo_Shotgun_Slug>
			<Ammo_Shotgun_Beanbag>Bullet_12Gauge_Beanbag</Ammo_Shotgun_Beanbag>
			<Ammo_Shotgun_ElectroSlug>Bullet_12Gauge_ElectroSlug</Ammo_Shotgun_ElectroSlug>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="AmmoShotgunBase" ParentName="AmmoBase" Abstract="True">
		<description>Extremely common shotgun caliber used in almost every application, from hunting and riot control to military firearms.</description>
		<statBases>
			<Mass>0.051</Mass>
			<Bulk>0.06</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>AmmoShotgun</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoShotgunBase">
		<defName>Ammo_Shotgun_Buck</defName>
		<label>shotgun shell (Buck)</label>
		<graphicData>
			<texPath>Things/Ammo/Shotgun/Shot</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>BuckShot</ammoClass>
		<cookOffProjectile>Bullet_12Gauge_Buck</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoShotgunBase">
		<defName>Ammo_Shotgun_Slug</defName>
		<label>shotgun shell (Slug)</label>
		<graphicData>
			<texPath>Things/Ammo/Shotgun/Slug</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>0.048</Mass>
		</statBases>
		<ammoClass>Slug</ammoClass>
		<cookOffProjectile>Bullet_12Gauge_Slug</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoShotgunBase">
		<defName>Ammo_Shotgun_Beanbag</defName>
		<label>shotgun shell (Bean)</label>
		<generateAllowChance>0</generateAllowChance>
		<graphicData>
			<texPath>Things/Ammo/Shotgun/Beanbag</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>0.059</Mass>
		</statBases>
		<ammoClass>Beanbag</ammoClass>
		<cookOffProjectile>Bullet_12Gauge_Beanbag</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoShotgunBase">
		<defName>Ammo_Shotgun_ElectroSlug</defName>
		<label>shotgun shell (EMP)</label>
		<graphicData>
			<texPath>Things/Ammo/Shotgun/EMP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>0.054</Mass>
		</statBases>
		<ammoClass>ElectroSlug</ammoClass>
		<generateAllowChance>0.5</generateAllowChance>
		<cookOffProjectile>Bullet_12Gauge_ElectroSlug</cookOffProjectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Shotgun_Buck</defName>
		<label>make shotgun (Buck) shell x200</label>
		<description>Craft 200 shotgun (Buck) shells.</description>
		<jobString>Making shotgun (Buck) shells.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>22</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_Shotgun_Buck>200</Ammo_Shotgun_Buck>
		</products>
		<workAmount>2200</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Shotgun_Slug</defName>
		<label>make shotgun (Slug) shell x200</label>
		<description>Craft 200 shotgun (Slug) shells.</description>
		<jobString>Making shotgun (Slug) shells.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>20</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_Shotgun_Slug>200</Ammo_Shotgun_Slug>
		</products>
		<workAmount>2000</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Shotgun_Beanbag</defName>
		<label>make shotgun (Beanbag) shell x200</label>
		<description>Craft 200 shotgun (Beanbag) shells.</description>
		<jobString>Making shotgun (Beanbag) shells.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>24</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Cloth</li>
					</thingDefs>
				</filter>
				<count>10</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Cloth</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_Shotgun_Beanbag>200</Ammo_Shotgun_Beanbag>
		</products>
		<workAmount>3400</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Shotgun_ElectroSlug</defName>
		<label>make shotgun (EMP) shell x200</label>
		<description>Craft 200 shotgun (EMP) shells.</description>
		<jobString>Making shotgun (EMP) shells.</jobString>
		<researchPrerequisite>MicroelectronicsBasics</researchPrerequisite>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>22</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>4</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_Shotgun_ElectroSlug>200</Ammo_Shotgun_ElectroSlug>
		</products>
		<skillRequirements>
			<Crafting>4</Crafting>
		</skillRequirements>
		<workAmount>4600</workAmount>
	</RecipeDef>

</Defs>