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

	<ThingCategoryDef>
		<defName>Ammo37x249mmR</defName>
		<label>37x249mmR</label>
		<parent>AmmoShells</parent>
		<iconPath>Turret/PaK_36/Projectile/Shell_HE/Shell_PaK_36_HE</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_37x249mmR</defName>
		<label>37x249mmR</label>
		<ammoTypes>
			<Ammo_37x249mmR_HE>Bullet_37x249mmR_HE</Ammo_37x249mmR_HE>
			<Ammo_37x249mmR_AP>Bullet_37x249mmR_AP</Ammo_37x249mmR_AP>
		</ammoTypes>
		<isMortarAmmoSet>true</isMortarAmmoSet>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="Ammo37x249mmRBase" ParentName="MediumAmmoBase" Abstract="True">
		<description>Medium caliber cannon shell used by light, quick-firing anti-tank guns.</description>
		<statBases>
			<Mass>1.305</Mass>
			<Bulk>1.41</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting_TableMachining</li>
		</tradeTags>
		<thingCategories>
			<li>Ammo37x249mmR</li>
		</thingCategories>
		<stackLimit>150</stackLimit>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo37x249mmRBase">
		<defName>Ammo_37x249mmR_HE</defName>
		<label>37x249mmR cartridge (APHE)</label>
		<graphicData>
			<texPath>Turret/PaK_36/Projectile/Shell_HE/Shell_PaK_36_HE</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<drawSize>1.50</drawSize>
		</graphicData>
		<ammoClass>ExplosiveAP</ammoClass>
		<cookOffProjectile>Bullet_37x249mmR_HE</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo37x249mmRBase">
		<defName>Ammo_37x249mmR_AP</defName>
		<label>37x249mmR cartridge (AP)</label>
		<graphicData>
			<texPath>Turret/PaK_36/Projectile/Shell_APCR/Shell_PaK_36_APCR</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<drawSize>1.50</drawSize>
		</graphicData>
		<ammoClass>ArmorPiercing</ammoClass>
		<cookOffProjectile>Bullet_37x249mmR_AP</cookOffProjectile>
	</ThingDef>

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

	<ThingDef ParentName="Base40x365mmBoforsBullet">
		<defName>Bullet_37x249mmR_HE</defName>
		<label>37x249mmR shell (APHE)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>146</speed>
			<damageAmountBase>155</damageAmountBase>
			<armorPenetrationSharp>54</armorPenetrationSharp>
			<armorPenetrationBlunt>5574.18</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Bomb_Secondary</def>
					<amount>93</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base40x365mmBoforsBullet">
		<defName>Bullet_37x249mmR_AP</defName>
		<label>37x249mmR shell (AP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>146</speed>
			<damageAmountBase>97</damageAmountBase>
			<armorPenetrationSharp>77</armorPenetrationSharp>
			<armorPenetrationBlunt>5574.18</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_37x249mmR_HE</defName>
		<label>make 37x249mmR (HE) cartridge x25</label>
		<description>Craft 25 37x249mmR (HE) cartridges.</description>
		<jobString>Making 37x249mmR (HE) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>66</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>23</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>FSX</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_37x249mmR_HE>25</Ammo_37x249mmR_HE>
		</products>
		<workAmount>15800</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_37x249mmR_AP</defName>
		<label>make 37x249mmR (AP) cartridge x25</label>
		<description>Craft 25 37x249mmR (AP) cartridges.</description>
		<jobString>Making 37x249mmR (AP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>66</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_37x249mmR_AP>25</Ammo_37x249mmR_AP>
		</products>
		<workAmount>10800</workAmount>
	</RecipeDef>

</Defs>