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

	<ThingCategoryDef>
		<defName>Ammo203cmskCannonShells</defName>
		<label>20.3cm SK cannon shell</label>
		<parent>AmmoShells</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberCannon</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_203cmskCannonShell</defName>
		<label>203cmsk shells</label>
		<ammoTypes>
			<Ammo_203cmskCannonShell_HE>Bullet_203cmskCannonShell_HE</Ammo_203cmskCannonShell_HE>
		</ammoTypes>
		<similarTo>AmmoSet_HeavyCannon</similarTo>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="203cmskCannonShellBase" ParentName="HeavyAmmoBase" Abstract="True">
		<description>High-caliber artillery shell, typically used by heavy crusiers.</description>
		<thingCategories>
			<li>Ammo203cmskCannonShells</li>
		</thingCategories>
		<stackLimit>25</stackLimit>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting_TableMachining</li>
		</tradeTags>
		<statBases>
			<MaxHitPoints>200</MaxHitPoints>
		</statBases>
		<cookOffFlashScale>30</cookOffFlashScale>
		<cookOffSound>MortarBomb_Explode</cookOffSound>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="203cmskCannonShellBase">
		<defName>Ammo_203cmskCannonShell_HE</defName>
		<label>20.3cm SK cannon shell (HE)</label>
		<graphicData>
			<texPath>Things/Ammo/Cannon/Howitzer/HE</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Bulk>92.83</Bulk>
			<Mass>191</Mass>
		</statBases>
		<ammoClass>GrenadeHE</ammoClass>
		<detonateProjectile>Bullet_203cmskCannonShell_HE</detonateProjectile>
	</ThingDef>

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

	<ThingDef ParentName="Base105mmHowitzerShell">
		<defName>Bullet_203cmskCannonShell_HE</defName>
		<label>203cmsk cannon shell (HE)</label>
		<graphicData>
			<texPath>Things/Projectile/Cannon/Howitzer/HE</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bomb</damageDef>
			<damageAmountBase>527</damageAmountBase>
			<explosionRadius>5</explosionRadius>
			<soundExplode>MortarBomb_Explode</soundExplode>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			<shellingProps>
				<tilesPerTick>0.12</tilesPerTick>
				<range>35</range>
			</shellingProps>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large>40</Fragment_Large>
					<Fragment_Small>80</Fragment_Small>
				</fragments>
			</li>
		</comps>
	</ThingDef>

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

	<RecipeDef ParentName="CannonAmmoRecipeBase">
		<defName>MakeAmmo_203cmskCannonShell_HE</defName>
		<label>make 20.3cm SK (HE) cannon shell</label>
		<description>Craft 20.3cm SK (HE) cannon shell.</description>
		<jobString>Making 20.3cm SK (HE) cannon shell.</jobString>
		<workAmount>45000</workAmount>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>382</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>14</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>FSX</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_203cmskCannonShell_HE>1</Ammo_203cmskCannonShell_HE>
		</products>
	</RecipeDef>

</Defs>