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

	<ThingCategoryDef>
		<defName>Ammo500SWMagnum</defName>
		<label>.500 S&amp;W Magnum</label>
		<parent>AmmoPistols</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberPistol</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_500SWMagnum</defName>
		<label>.500 S&amp;W Magnum</label>
		<ammoTypes>
			<Ammo_500SWMagnum_FMJ>Bullet_500SWMagnum_FMJ</Ammo_500SWMagnum_FMJ>
			<Ammo_500SWMagnum_AP>Bullet_500SWMagnum_AP</Ammo_500SWMagnum_AP>
			<Ammo_500SWMagnum_HP>Bullet_500SWMagnum_HP</Ammo_500SWMagnum_HP>
		</ammoTypes>
		<similarTo>AmmoSet_PistolMagnum</similarTo>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="500SWMagnumBase" ParentName="AmmoBase" Abstract="True">
		<description>Designed for big game hunting, this is one of the most powerful handgun cartridges ever designed.</description>
		<statBases>
			<Mass>0.035</Mass>
			<Bulk>0.03</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>Ammo500SWMagnum</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="500SWMagnumBase">
		<defName>Ammo_500SWMagnum_FMJ</defName>
		<label>.500 S&amp;W Magnum (FMJ)</label>
		<graphicData>
			<texPath>Things/Ammo/Revolver/FMJ</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>FullMetalJacket</ammoClass>
		<cookOffProjectile>Bullet_500SWMagnum_FMJ</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="500SWMagnumBase">
		<defName>Ammo_500SWMagnum_AP</defName>
		<label>.500 S&amp;W Magnum (AP)</label>
		<graphicData>
			<texPath>Things/Ammo/Revolver/AP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ArmorPiercing</ammoClass>
		<cookOffProjectile>Bullet_500SWMagnum_AP</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="500SWMagnumBase">
		<defName>Ammo_500SWMagnum_HP</defName>
		<label>.500 S&amp;W Magnum (HP)</label>
		<graphicData>
			<texPath>Things/Ammo/Revolver/HP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>HollowPoint</ammoClass>
		<cookOffProjectile>Bullet_500SWMagnum_HP</cookOffProjectile>
	</ThingDef>

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

	<ThingDef Name="Base500SWMagnumBullet" ParentName="BaseBulletCE" Abstract="true">
		<graphicData>
			<texPath>Things/Projectile/Bullet_Big</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<speed>104</speed>
			<dropsCasings>true</dropsCasings>
			<casingMoteDefname>Fleck_PistolAmmoCasings</casingMoteDefname>
			<casingFilthDefname>Filth_PistolAmmoCasings</casingFilthDefname>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base500SWMagnumBullet">
		<defName>Bullet_500SWMagnum_FMJ</defName>
		<label>.500 Smith Wessen Magnum bullet (FMJ)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>21</damageAmountBase>
			<armorPenetrationSharp>7</armorPenetrationSharp>
			<armorPenetrationBlunt>53.820</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base500SWMagnumBullet">
		<defName>Bullet_500SWMagnum_AP</defName>
		<label>.500 Smith Wessen Magnum bullet (AP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>13</damageAmountBase>
			<armorPenetrationSharp>14</armorPenetrationSharp>
			<armorPenetrationBlunt>53.820</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base500SWMagnumBullet">
		<defName>Bullet_500SWMagnum_HP</defName>
		<label>.500 Smith Wessen Magnum bullet (HP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>27</damageAmountBase>
			<armorPenetrationSharp>3.5</armorPenetrationSharp>
			<armorPenetrationBlunt>53.820</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_500SWMagnum_FMJ</defName>
		<label>make .500 S&amp;W Magnum (FMJ) cartridge x500</label>
		<description>Craft 500 .500 S&amp;W Magnum (FMJ) cartridges.</description>
		<jobString>Making .500 S&amp;W Magnum (FMJ) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>38</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_500SWMagnum_FMJ>500</Ammo_500SWMagnum_FMJ>
		</products>
		<workAmount>3800</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_500SWMagnum_AP</defName>
		<label>make .500 S&amp;W Magnum (AP) cartridge x500</label>
		<description>Craft 500 .500 S&amp;W Magnum (AP) cartridges.</description>
		<jobString>Making .500 S&amp;W Magnum (AP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>38</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_500SWMagnum_AP>500</Ammo_500SWMagnum_AP>
		</products>
		<workAmount>4560</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_500SWMagnum_HP</defName>
		<label>make .500 S&amp;W Magnum (HP) cartridge x500</label>
		<description>Craft 500 .500 S&amp;W Magnum (HP) cartridges.</description>
		<jobString>Making .500 S&amp;W Magnum (HP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>38</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_500SWMagnum_HP>500</Ammo_500SWMagnum_HP>
		</products>
		<workAmount>3800</workAmount>
	</RecipeDef>

</Defs>