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

	<ThingCategoryDef>
		<defName>Ammo105x155mmRCannonShells</defName>
		<label>105x155mmR cannon shell</label>
		<parent>AmmoShells</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberCannon</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_105x155mmRCannonShell</defName>
		<label>105x155mmR howitzer shells</label>
		<ammoTypes>
			<Ammo_105x155mmRCannonShell_HE>Bullet_105x155mmRCannonShell_HE</Ammo_105x155mmRCannonShell_HE>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="105x155mmRCannonShellBase" ParentName="HeavyAmmoBase" Abstract="True">
		<description>Light howitzer shell used in field guns.</description>
		<thingCategories>
			<li>Ammo105x155mmRCannonShells</li>
		</thingCategories>
		<stackLimit>25</stackLimit>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting_TableMachining</li>
		</tradeTags>
		<statBases>
			<MaxHitPoints>150</MaxHitPoints>
			<Mass>14.81</Mass>
			<Bulk>10.40</Bulk>
		</statBases>
		<cookOffFlashScale>20</cookOffFlashScale>
		<cookOffSound>MortarBomb_Explode</cookOffSound>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="105x155mmRCannonShellBase">
		<defName>Ammo_105x155mmRCannonShell_HE</defName>
		<label>105x155mmR Cannon shell (HE)</label>
		<graphicData>
			<texPath>Turret/leFH_16/Projectile/Shell_HE</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
			<drawSize>1.30</drawSize>
		</graphicData>
		<ammoClass>GrenadeHE</ammoClass>
		<detonateProjectile>Bullet_105x155mmRCannonShell_HE</detonateProjectile>
	</ThingDef>

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

	<ThingDef Name="Base105x155mmRCannonShell" ParentName="BaseExplosiveBullet" Abstract="true">
		<graphicData>
			<shaderType>TransparentPostLight</shaderType>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>0</speed>
			<soundHitThickRoof>Artillery_HitThickRoof</soundHitThickRoof>
			<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
			<soundAmbient>MortarRound_Ambient</soundAmbient>
			<flyOverhead>true</flyOverhead>
			<dropsCasings>true</dropsCasings>
			<casingMoteDefname>Fleck_BigShell</casingMoteDefname>
			<casingFilthDefname>Filth_CannonAmmoCasings</casingFilthDefname>
			<gravityFactor>5</gravityFactor>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base105x155mmRCannonShell">
		<defName>Bullet_105x155mmRCannonShell_HE</defName>
		<label>105x155mmR Cannon shell (HE)</label>
		<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
		<graphicData>
			<texPath>Turret/leFH_16/Projectile/Bullet_10,5cm_HE</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
			<drawSize>0.80</drawSize>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bomb</damageDef>
			<damageAmountBase>190</damageAmountBase>
			<explosionRadius>3.5</explosionRadius>
			<soundExplode>MortarBomb_Explode</soundExplode>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large>15</Fragment_Large>
					<Fragment_Small>50</Fragment_Small>
				</fragments>
			</li>
		</comps>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_105x155mmRCannonShell_HE</defName>
		<label>make 105x155mmR HE cannon shells x5</label>
		<description>Craft 5 105x155mmR HE cannon shells.</description>
		<jobString>Making 105x155mmR HE cannon shells.</jobString>
		<workAmount>9000</workAmount>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>70</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>2</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_105x155mmRCannonShell_HE>5</Ammo_105x155mmRCannonShell_HE>
		</products>
	</RecipeDef>

</Defs>