<?xml version="1.0" encoding="utf-8"?>
<Defs>
	<!-- ========== Define 81mm plasma mortar shell and unique ammoset for Devastator Mortar ========== -->

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_81mmMortarShell_Plasma</defName>
		<label>81mm mortar shells</label>
		<ammoTypes>
			<Shell_Plasma>Bullet_81mmMortarShell_Plasma</Shell_Plasma>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="81mmMortarShellBaseCraftableBase">
		<defName>Shell_Plasma</defName>
		<label>81mm mortar shell (Plasma)</label>
		<graphicData>
			<texPath>ThirdParty/More Vanilla Turrets/PlasmaMortarShell</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<statBases>
			<Mass>6.5</Mass>
			<Bulk>8.17</Bulk>
		</statBases>
		<ammoClass>Plasma</ammoClass>
		<detonateProjectile>Bullet_81mmMortarShell_Plasma</detonateProjectile>
	</ThingDef>

	<ThingDef ParentName="Base81mmMortarShell">
		<defName>Bullet_81mmMortarShell_Plasma</defName>
		<label>81mm mortar shell (Plasma)</label>
		<graphicData>
			<texPath>ThirdParty/More Vanilla Turrets/PlasmaMortarProj</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bomb</damageDef>
			<damageAmountBase>524</damageAmountBase>
			<armorPenetrationSharp>0</armorPenetrationSharp>
			<armorPenetrationBlunt>0</armorPenetrationBlunt>
			<explosionRadius>5</explosionRadius>
			<flyOverhead>true</flyOverhead>
			<explosionChanceToStartFire>0.75</explosionChanceToStartFire>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			<explosionEffect>GiantExplosion</explosionEffect>
			<soundExplode>Explosion_GiantBomb</soundExplode>
		</projectile>
	</ThingDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeShell_Plasma</defName>
		<label>make 81mm Plasma mortar shells x5</label>
		<description>Craft 5 81mm Plasma mortar shells.</description>
		<jobString>Making 81mm Plasma mortar shells.</jobString>
		<workAmount>49200</workAmount>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Plasteel</li>
					</thingDefs>
				</filter>
				<count>120</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Plasteel</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Shell_Plasma>5</Shell_Plasma>
		</products>
	</RecipeDef>
</Defs>