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

	<ThingCategoryDef>
		<defName>Ammo8Gauge</defName>
		<label>8 gauge</label>
		<parent>AmmoShotguns</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberShotgun</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_8GaugeUNSC</defName>
		<label>8 Gauge</label>
		<ammoTypes>
			<Ammo_8Gauge_Buck>Bullet_8Gauge_Buck</Ammo_8Gauge_Buck>
			<Ammo_8Gauge_Slug>Bullet_8Gauge_Slug</Ammo_8Gauge_Slug>
			<Ammo_8Gauge_ElectroSlug>Bullet_8Gauge_ElectroSlug</Ammo_8Gauge_ElectroSlug>
			<Ammo_8Gauge_Flechette>Bullet_8Gauge_Flechette</Ammo_8Gauge_Flechette>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="8GaugeBase" ParentName="MediumAmmoBase" Abstract="True">
		<description>An uncommon, oversized shotgun shell used primarily in military application.</description>
		<statBases>
			<Mass>0.04</Mass>
			<Bulk>0.08</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>Ammo8Gauge</li>
		</thingCategories>
		<stackLimit>3000</stackLimit>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="8GaugeBase">
		<defName>Ammo_8Gauge_Buck</defName>
		<label>Soellkraft 8 gauge shell (Buck)</label>
		<graphicData>
			<texPath>Things/Ammo/Shotgun/Shot</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>BuckShot</ammoClass>
		<cookOffProjectile>Bullet_8Gauge_Buck</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="8GaugeBase">
		<defName>Ammo_8Gauge_Flechette</defName>
		<label>Soellkraft 8 gauge shell (Flechette)</label>
		<graphicData>
			<texPath>Things/Ammo/Shotgun/Shot</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>Sabot</ammoClass>
		<cookOffProjectile>Bullet_8Gauge_Flechette</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="8GaugeBase">
		<defName>Ammo_8Gauge_Slug</defName>
		<label>Soellkraft 8 gauge shell (Slug)</label>
		<graphicData>
			<texPath>Things/Ammo/Shotgun/Slug</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>0.08</Mass>
		</statBases>
		<ammoClass>Slug</ammoClass>
		<cookOffProjectile>Bullet_8Gauge_Slug</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="8GaugeBase">
		<defName>Ammo_8Gauge_ElectroSlug</defName>
		<label>Soellkraft 8 gauge shell (EMP)</label>
		<graphicData>
			<texPath>Things/Ammo/Shotgun/EMP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>0.08</Mass>
		</statBases>
		<ammoClass>ElectroSlug</ammoClass>
		<cookOffProjectile>Bullet_8Gauge_ElectroSlug</cookOffProjectile>
	</ThingDef>

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

	<ThingDef ParentName="Base12GaugeBullet">
		<defName>Bullet_8Gauge_Buck</defName>
		<label>buckshot pellet</label>
		<graphicData>
			<texPath>Things/Projectile/Shotgun_Pellet</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>9</damageAmountBase>
			<pelletCount>15</pelletCount>
			<armorPenetrationSharp>5.5</armorPenetrationSharp>
			<armorPenetrationBlunt>6.52</armorPenetrationBlunt>
			<spreadMult>17.8</spreadMult>
			<shieldDamageMultiplier>0.25</shieldDamageMultiplier>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base12GaugeBullet">
		<defName>Bullet_8Gauge_Flechette</defName>
		<label>Flechette</label>
		<graphicData>
			<texPath>Things/Projectile/Shotgun_Pellet</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>5</damageAmountBase>
			<pelletCount>15</pelletCount>
			<armorPenetrationSharp>11</armorPenetrationSharp>
			<armorPenetrationBlunt>7.52</armorPenetrationBlunt>
			<spreadMult>17.8</spreadMult>
			<shieldDamageMultiplier>0.25</shieldDamageMultiplier>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base12GaugeBullet">
		<defName>Bullet_8Gauge_Slug</defName>
		<label>shotgun slug</label>
		<graphicData>
			<texPath>Things/Projectile/Bullet_big</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>114</speed>
			<damageAmountBase>39</damageAmountBase>
			<armorPenetrationSharp>8</armorPenetrationSharp>
			<armorPenetrationBlunt>98.2</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base12GaugeBullet">
		<defName>Bullet_8Gauge_ElectroSlug</defName>
		<label>EMP slug</label>
		<graphicData>
			<texPath>Things/Projectile/Bullet_big</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>54</speed>
			<damageDef>EMP</damageDef>
			<damageAmountBase>22</damageAmountBase>
			<armorPenetrationSharp>0</armorPenetrationSharp>
			<armorPenetrationBlunt>0</armorPenetrationBlunt>
			<empShieldBreakChance>0.35</empShieldBreakChance>
		</projectile>
	</ThingDef>

	<!-- ==================== Recipe ========================== -->

	<RecipeDef ParentName="UNAmmoRecipeBase">
		<defName>MakeAmmo_8Gauge_Buck</defName>
		<label>make 8 gauge (Buck) shell x200</label>
		<description>Craft 200 8 gauge (Buck) shells.</description>
		<jobString>Making 8 gauge (Buck) 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_8Gauge_Buck>200</Ammo_8Gauge_Buck>
		</products>
		<workAmount>2500</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="UNAmmoRecipeBase">
		<defName>MakeAmmo_8Gauge_Slug</defName>
		<label>make 8 gauge (Slug) shell x200</label>
		<description>Craft 200 8 gauge (Slug) shells.</description>
		<jobString>Making 8 gauge (Slug) shells.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>36</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_8Gauge_Slug>200</Ammo_8Gauge_Slug>
		</products>
		<workAmount>4000</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_8Gauge_Flechette</defName>
		<label>make 8 gauge (Flechette) shell x200</label>
		<description>Craft 200 8 gauge (Flechette) shells.</description>
		<jobString>Making 8 gauge (Flechette) shells.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>30</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_8Gauge_Flechette>200</Ammo_8Gauge_Flechette>
		</products>
		<workAmount>9000</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="UNAmmoRecipeBase">
		<defName>MakeAmmo_8Gauge_ElectroSlug</defName>
		<label>make 8 gauge (EMP) shell x200</label>
		<description>Craft 200 8 gauge (EMP) shells.</description>
		<jobString>Making 8 gauge (EMP) shells.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>36</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>6</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_8Gauge_ElectroSlug>200</Ammo_8Gauge_ElectroSlug>
		</products>
		<workAmount>9000</workAmount>
	</RecipeDef>

</Defs>