<?xml version="1.0" encoding="utf-8"?>
<Defs>
	<!-- Ammo Categories -->
	<CombatExtended.AmmoCategoryDef>
		<defName>IncendiaryMiho</defName>
		<label>armor-piercing incendiary (Miholic)</label>
		<labelShort>AP-IM</labelShort>
		<description>Filled with an high intensity incendiary compound that ignites on impact, burning the target, increasing armor penetration and comprimising the structure of the target.</description>
	</CombatExtended.AmmoCategoryDef>

	<!-- Ammo -->
	<ThingDef Class="CombatExtended.AmmoDef" ParentName="8x22mmNambuBase">
		<defName>Ammo_8x22mmNambu_Miho</defName>
		<label>8x22mm Nambu cartridge (AP-IM)</label>
		<graphicData>
			<texPath>Things/Ammo/Pistol/AP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>IncendiaryMiho</ammoClass>
		<cookOffProjectile>Bullet_8x22mmNambu_Miho</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="65x50mmSRArisakaBase">
		<defName>Ammo_65x50mmSRArisaka_Miho</defName>
		<label>6.5x50mmSR cartridge (AP-IM)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Incendiary</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>IncendiaryMiho</ammoClass>
		<cookOffProjectile>Bullet_65x50mmSRArisaka_Miho</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="77x58mmArisakaBase">
		<defName>Ammo_77x58mmArisaka_Miho</defName>
		<label>7.7x58mm Arisaka cartridge (AP-IM)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Incendiary</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>IncendiaryMiho</ammoClass>
		<cookOffProjectile>Bullet_77x58mmArisaka_Miho</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo132x92mmSRTuFBase">
		<defName>Ammo_132x92mmSRTuF_Miho</defName>
		<label>13.2x92mmSR TuF cartridge (AP-IM)</label>
		<graphicData>
			<texPath>Things/Ammo/HighCaliber/Incendiary</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>IncendiaryMiho</ammoClass>
		<cookOffProjectile>Bullet_132x92mmSRTuF_Miho</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="20x42mmCartridgeBase">
		<defName>Ammo_20x42mm_Miho</defName>
		<label>20x42mm (AP-IM)</label>
		<graphicData>
			<texPath>Things/Ammo/HighCaliber/Incendiary</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>IncendiaryMiho</ammoClass>
		<cookOffProjectile>Bullet_20x42mm_Miho</cookOffProjectile>
	</ThingDef>

	<!-- Projectiles -->

	<ThingDef ParentName="BaseFragment">
		<defName>Fragment_Large_Miho</defName>
		<label>large fragments</label>
		<graphicData>
			<texPath>Things/Projectile/Fragments/Fragment_Large</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<tickToTruePos>0</tickToTruePos>
			<damageDef>MihoGunshotFrag</damageDef>
			<damageAmountBase>34</damageAmountBase>
			<speed>60</speed>
			<armorPenetrationSharp>4.5</armorPenetrationSharp>
			<armorPenetrationBlunt>122.5</armorPenetrationBlunt>
			<gravityFactor>5</gravityFactor>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="BaseFragment">
		<defName>Fragment_Small_Miho</defName>
		<label>small fragments</label>
		<graphicData>
			<texPath>Things/Projectile/Fragments/Fragment_Small</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<tickToTruePos>0</tickToTruePos>
			<damageDef>MihoGunshotFrag</damageDef>
			<damageAmountBase>12</damageAmountBase>
			<speed>40</speed>
			<armorPenetrationSharp>2</armorPenetrationSharp>
			<armorPenetrationBlunt>14.4</armorPenetrationBlunt>
			<gravityFactor>5</gravityFactor>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base8x22mmNambuBullet">
		<defName>Bullet_8x22mmNambu_Miho</defName>
		<label>8x22mm Nambu bullet (AP-IM)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshot</damageDef>
			<damageAmountBase>5</damageAmountBase>
			<armorPenetrationSharp>6</armorPenetrationSharp>
			<armorPenetrationBlunt>5.88</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>3</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base8x22mmNambuBullet">
		<defName>Bullet_65x50mmSRArisaka_Miho</defName>
		<label>6.5x50mmSR bullet (AP-IM)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshot</damageDef>
			<damageAmountBase>5</damageAmountBase>
			<armorPenetrationSharp>6</armorPenetrationSharp>
			<armorPenetrationBlunt>5.88</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>3</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base75x54mmFrenchBullet">
		<defName>Bullet_77x58mmArisaka_Miho</defName>
		<label>7.7x58mm Arisaka bullet (AP-IM)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshot</damageDef>
			<damageAmountBase>6</damageAmountBase>
			<armorPenetrationSharp>12</armorPenetrationSharp>
			<armorPenetrationBlunt>60.24</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>4</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base132x92mmSRTuFBullet">
		<defName>Bullet_132x92mmSRTuF_Miho</defName>
		<label>13.2x92mmSR TuF bullet (AP-IM)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshot</damageDef>
			<damageAmountBase>25</damageAmountBase>
			<armorPenetrationSharp>44</armorPenetrationSharp>
			<armorPenetrationBlunt>317.36</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>16</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base20x42mmBullet">
		<defName>Bullet_20x42mm_Miho</defName>
		<label>20x42mm bullet (AP-I)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshot</damageDef>
			<damageAmountBase>20</damageAmountBase>
			<armorPenetrationSharp>12</armorPenetrationSharp>
			<armorPenetrationBlunt>105.72</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>12</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<!-- Recipes -->
	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_8x22mmNambu_Miho</defName>
		<label>make 8x22mm Nambu (AP-IM) cartridge x500</label>
		<description>Craft 500 8x22mm Nambu (AP-IM) cartridges.</description>
		<jobString>Making 8x22mm Nambu (AP-IM) cartridges.</jobString>
		<researchPrerequisite>Miho_HeavyWeapon</researchPrerequisite>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>14</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>3</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Miho_MilitaryGradeBalisticCeramics</li>
					</thingDefs>
				</filter>
				<count>1</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
				<li>Miho_MilitaryGradeBalisticCeramics</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_8x22mmNambu_Miho>500</Ammo_8x22mmNambu_Miho>
		</products>
		<workAmount>3000</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_65x50mmSRArisaka_Miho</defName>
		<label>make 6.5x50mmSR (AP-IM) cartridge x500</label>
		<description>Craft 500 6.5x50mmSR Arisaka (AP-IM) cartridges.</description>
		<jobString>Making 6.5x50mmSR Arisaka (AP-IM) cartridges.</jobString>
		<researchPrerequisite>Miho_HeavyWeapon</researchPrerequisite>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>24</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>3</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Miho_MilitaryGradeBalisticCeramics</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
				<li>Miho_MilitaryGradeBalisticCeramics</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_65x50mmSRArisaka_Miho>500</Ammo_65x50mmSRArisaka_Miho>
		</products>
		<workAmount>4600</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_77x58mmArisaka_Miho</defName>
		<label>make 7.7x58mm Arisaka (AP-IM) cartridge x500</label>
		<description>Craft 500 7.7x58mm Arisaka (AP-IM) cartridges.</description>
		<jobString>Making 7.7x58mm Arisaka (AP-IM) cartridges.</jobString>
		<researchPrerequisite>Miho_HeavyWeapon</researchPrerequisite>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>30</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>3</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Miho_MilitaryGradeBalisticCeramics</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
				<li>Miho_MilitaryGradeBalisticCeramics</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_77x58mmArisaka_Miho>500</Ammo_77x58mmArisaka_Miho>
		</products>
		<workAmount>6000</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_132x92mmSRTuF_Miho</defName>
		<label>make 13.2x92mmSR TuF (AP-IM) cartridge x200</label>
		<description>Craft 200 13.2x92mmSR TuF (AP-IM) cartridges.</description>
		<jobString>Making 13.2x92mmSR TuF (AP-IM) cartridges.</jobString>
		<researchPrerequisite>Miho_HeavyWeapon</researchPrerequisite>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>58</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>6</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Miho_MilitaryGradeBalisticCeramics</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
				<li>Miho_MilitaryGradeBalisticCeramics</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_132x92mmSRTuF_Miho>200</Ammo_132x92mmSRTuF_Miho>
		</products>
		<workAmount>9800</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_20x42mm_Miho</defName>
		<label>make 20x42mm (AP-IM) cartridge x100</label>
		<description>Craft 100 20x42mm (AP-IM) cartridges.</description>
		<jobString>Making 20x42mm (AP-IM) cartridges.</jobString>
		<researchPrerequisite>Miho_HeavyWeapon</researchPrerequisite>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>34</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>6</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Miho_MilitaryGradeBalisticCeramics</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
				<li>Miho_MilitaryGradeBalisticCeramics</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_20x42mm_Incendiary>100</Ammo_20x42mm_Incendiary>
		</products>
		<workAmount>5800</workAmount>
	</RecipeDef>

	<ThingCategoryDef>
		<defName>AmmoMiho47x285mm</defName>
		<label>47x285mm mihoic anti-tank shell</label>
		<parent>AmmoShells</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberAutocannonLarge</iconPath>
	</ThingCategoryDef>

	<!-- ==================== Cannon Shells ========================== -->

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

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo47x398mmRBase">
		<defName>Ammo_47x398mmR_Miho</defName>
		<label>47x398mmR cartridge (AP-IM)</label>
		<graphicData>
			<texPath>Things/Ammo/Cannon/Tank/APHE</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>2.85</Mass>
		</statBases>
		<ammoClass>IncendiaryMiho</ammoClass>
		<detonateProjectile>Bullet_47x398mmR_Miho</detonateProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo57x280mmRBase">
		<defName>Ammo_57x280mmR_Canister</defName>
		<label>57x280mmR cartridge (Canister)</label>
		<graphicData>
			<texPath>Things/Ammo/Cannon/Tank/Canister</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>BuckShot</ammoClass>
		<detonateProjectile>Bullet_57x280mmR_Canister</detonateProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Ammo57x280mmRBase">
		<defName>Ammo_57x280mmR_Thermobaric</defName>
		<label>57x280mmR cartridge (Thermobaric)</label>
		<graphicData>
			<texPath>Things/Ammo/Cannon/Tank/APHE</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>RocketThermobaric</ammoClass>
		<detonateProjectile>Bullet_57x280mmR_Thermobaric</detonateProjectile>
	</ThingDef>

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

	<ThingDef ParentName="Base47x398mmRBullet">
		<defName>Bullet_47x398mmR_Miho</defName>
		<label>47x398mmR bullet (AP-IM)</label>
		<graphicData>
			<texPath>Things/Projectile/Cannon/APHE</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshot</damageDef>
			<damageAmountBase>126</damageAmountBase>
			<armorPenetrationSharp>76</armorPenetrationSharp>
			<armorPenetrationBlunt>9279.12</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>79</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base57x280mmRBullet">
		<defName>Bullet_57x280mmR_Canister</defName>
		<label>57x280mmR canister flechette</label>
		<graphicData>
			<texPath>Things/Projectile/Shotgun_Pellet</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshot</damageDef>
			<damageAmountBase>10</damageAmountBase>
			<armorPenetrationSharp>4</armorPenetrationSharp>
			<armorPenetrationBlunt>11.08</armorPenetrationBlunt>
			<pelletCount>84</pelletCount>
			<spreadMult>17.8</spreadMult>
			<shieldDamageMultiplier>0.25</shieldDamageMultiplier>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base57x280mmRBullet">
		<defName>Bullet_57x280mmR_Thermobaric</defName>
		<label>57x280mmR bullet (Thermobaric)</label>
		<graphicData>
			<texPath>Things/Projectile/Cannon/APHE</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshotDemo</damageDef>
			<damageAmountBase>206</damageAmountBase>
			<explosionRadius>4</explosionRadius>
			<soundExplode>MortarBomb_Explode</soundExplode>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_47x398mmR_Miho</defName>
		<label>make 47x398mmR (AP-IM) shells x5</label>
		<description>Craft 5 47x398mmR (AP-IM) shells.</description>
		<jobString>Making 47x398mmR (AP-IM) shells.</jobString>
		<researchPrerequisite>Miho_HeavyWeapon</researchPrerequisite>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>30</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>4</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Miho_MilitaryGradeBalisticCeramics</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
				<li>Miho_MilitaryGradeBalisticCeramics</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_47x398mmR_Miho>5</Ammo_47x398mmR_Miho>
		</products>
		<skillRequirements>
			<Crafting>4</Crafting>
		</skillRequirements>
		<workAmount>6480</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_57x280mmR_Canister</defName>
		<label>make 57x280mmR (Canister) cartridge x5</label>
		<description>Craft 5 57x280mmR (Canister) cartridges.</description>
		<jobString>Making 57x280mmR (Canister) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>30</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Miho_MilitaryGradeBalisticCeramics</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>ComponentIndustrial</li>
				<li>Miho_MilitaryGradeBalisticCeramics</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_57x280mmR_Canister>5</Ammo_57x280mmR_Canister>
		</products>
		<skillRequirements>
			<Crafting>4</Crafting>
		</skillRequirements>
		<workAmount>5000</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_57x280mmR_Thermobaric</defName>
		<label>make 57x280mmR (Thermobaric) cartridge x5</label>
		<description>Craft 5 57x280mmR (Thermobaric) cartridges.</description>
		<jobString>Making 57x280mmR (Thermobaric) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>30</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>24</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>ComponentIndustrial</li>
				<li>FSX</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_57x280mmR_Thermobaric>5</Ammo_57x280mmR_Thermobaric>
		</products>
		<skillRequirements>
			<Crafting>4</Crafting>
		</skillRequirements>
		<workAmount>13800</workAmount>
	</RecipeDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSetMiho100mm_Incendiary</defName>
		<label>100mm Rocket</label>
		<ammoTypes>
			<Ammo_Miho100mm_Incendiary>Bullet_Miho100mm_Incendiary</Ammo_Miho100mm_Incendiary>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<ThingCategoryDef>
		<defName>AmmoMiho100mm_Incendiary</defName>
		<label />
		<parent>AmmoRockets</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberRocket</iconPath>
	</ThingCategoryDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="Miho100mm_IncendiaryBase" ParentName="HeavyAmmoBase" Abstract="True">
		<description>An unguided rocket equipped with an explosive warhead and a contact fuse.</description>
		<thingCategories>
			<li>AmmoMiho100mm_Incendiary</li>
		</thingCategories>
		<stackLimit>25</stackLimit>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting_TableMachining</li>
		</tradeTags>
		<statBases>
			<MaxHitPoints>250</MaxHitPoints>
			<Mass>19</Mass>
			<Bulk>20</Bulk>
		</statBases>
		<cookOffFlashScale>25</cookOffFlashScale>
		<cookOffSound>MortarBomb_Explode</cookOffSound>
		<isMortarAmmo>true</isMortarAmmo>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Miho100mm_IncendiaryBase">
		<defName>Ammo_Miho100mm_Incendiary</defName>
		<label>100mm Artillery Rocket (Incendiary)</label>
		<graphicData>
			<texPath>Things/Ammo/Rocket/M74</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
			<drawSize>0.90</drawSize>
		</graphicData>
		<statBases>
			<Mass>5.76</Mass>
			<Bulk>17.27</Bulk>
		</statBases>
		<ammoClass>RocketThermobaric</ammoClass>
		<detonateProjectile>Bullet_Miho100mm_Incendiary</detonateProjectile>
	</ThingDef>

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

	<ThingDef Name="BaseMiho100mm_Incendiary" ParentName="BaseExplosiveBullet" Abstract="true">
		<graphicData>
			<shaderType>TransparentPostLight</shaderType>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>0</speed>
			<soundExplode>MortarBomb_Explode</soundExplode>
			<soundHitThickRoof>Artillery_HitThickRoof</soundHitThickRoof>
			<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
			<soundAmbient>MortarRound_Ambient</soundAmbient>
			<flyOverhead>true</flyOverhead>
			<dropsCasings>false</dropsCasings>
			<gravityFactor>5</gravityFactor>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_ProjectileFleck">
				<FleckDatas>
					<li>
						<fleck>Fleck_CERocketFlame</fleck>
						<emissionsPerTick>7</emissionsPerTick>
						<flecksPerEmission>3</flecksPerEmission>
						<cutoffTickRange>15~30</cutoffTickRange>
					</li>
					<li>
						<fleck>Fleck_CERocketSmokeTrail</fleck>
						<emissionsPerTick>2</emissionsPerTick>
						<rotation>0~360</rotation>
						<flecksPerEmission>1</flecksPerEmission>
					</li>
					<li>
						<fleck>Fleck_CERocketSmoke</fleck>
						<emissionsPerTick>2</emissionsPerTick>
						<rotation>0~360</rotation>
						<flecksPerEmission>1</flecksPerEmission>
						<cutoffTickRange>25~60</cutoffTickRange>
					</li>
				</FleckDatas>
			</li>
		</comps>
	</ThingDef>

	<ThingDef ParentName="BaseMiho100mm_Incendiary">
		<defName>Bullet_Miho100mm_Incendiary</defName>
		<label>100mm Rocket (Incendiary)</label>
		<graphicData>
			<texPath>Things/Projectile/Rocket/SMAW_Thermobaric</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshotDemo</damageDef>
			<damageAmountBase>300</damageAmountBase>
			<explosionRadius>5</explosionRadius>
			<flyOverhead>true</flyOverhead>
			<preExplosionSpawnChance>0.15</preExplosionSpawnChance>
			<soundExplode>MortarIncendiary_Explode</soundExplode>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Miho100mm_Incendiary</defName>
		<label>make 100mm Miho Rocket x5</label>
		<description>Craft 5 100mm Miho Rocket cartridges.</description>
		<jobString>Making 100mm Miho Rocket cartridges.</jobString>
		<workAmount>12000</workAmount>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>64</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>8</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>4</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>FSX</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_Miho100mm_Incendiary>5</Ammo_Miho100mm_Incendiary>
		</products>
	</RecipeDef>

	<!-- Multi-Launcher 57mm with altered damage -->

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_57mmMihoRocket_indirect</defName>
		<label>57mm Rocket</label>
		<ammoTypes>
			<Ammo_57mmRocket_HE>Bullet_57mmMihoRocket_HE_indirect</Ammo_57mmRocket_HE>
			<Ammo_57mmRocket_HEAT>Bullet_57mmMihoRocket_HEAT_indirect</Ammo_57mmRocket_HEAT>
			<Ammo_57mmRocket_Thermobaric>Bullet_57mmMihoRocket_Thermobaric_indirect</Ammo_57mmRocket_Thermobaric>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Base57mmRocket_indirect">
		<defName>Bullet_57mmMihoRocket_HE_indirect</defName>
		<label>57mm Rocket (HE)</label>
		<graphicData>
			<texPath>Things/Projectile/Rocket/S5/HE</texPath>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshotDemo</damageDef>
			<damageAmountBase>187</damageAmountBase>
			<explosionRadius>3</explosionRadius>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large_Miho>13</Fragment_Large_Miho>
					<Fragment_Small_Miho>34</Fragment_Small_Miho>
				</fragments>
			</li>
		</comps>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Base57mmRocket_indirect">
		<defName>Bullet_57mmMihoRocket_HEAT_indirect</defName>
		<label>57mm Rocket (HEAT)</label>
		<thingClass>CombatExtended.BulletCE</thingClass>
		<graphicData>
			<texPath>Things/Projectile/Rocket/S5/HEAT</texPath>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<damageAmountBase>158</damageAmountBase>
			<armorPenetrationSharp>172</armorPenetrationSharp>
			<armorPenetrationBlunt>26.312</armorPenetrationBlunt>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_ExplosiveCE">
				<damageAmountBase>88</damageAmountBase>
				<explosiveDamageType>MihoGunshotDemo</explosiveDamageType>
				<explosiveRadius>1</explosiveRadius>
				<explosionSound>MortarBomb_Explode</explosionSound>
				<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			</li>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large_Miho>8</Fragment_Large_Miho>
					<Fragment_Small_Miho>5</Fragment_Small_Miho>
				</fragments>
			</li>
		</comps>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="Base57mmRocket_indirect">
		<defName>Bullet_57mmMihoRocket_Thermobaric_indirect</defName>
		<label>57mm Rocket (Thermobaric)</label>
		<graphicData>
			<texPath>Things/Projectile/Rocket/S5/Thermobaric</texPath>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshotDemo</damageDef>
			<damageAmountBase>160</damageAmountBase>
			<explosionRadius>3.5</explosionRadius>
			<armorPenetrationSharp>0</armorPenetrationSharp>
			<armorPenetrationBlunt>0</armorPenetrationBlunt>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			<ai_IsIncendiary>true</ai_IsIncendiary>
		</projectile>
	</ThingDef>

	<!-- MMAT -->

	<ThingCategoryDef>
		<defName>AmmoMiho_MAT</defName>
		<label />
		<parent>AmmoRockets</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberRocket</iconPath>
	</ThingCategoryDef>

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_MihoMissile</defName>
		<label>Miho Missile</label>
		<ammoTypes>
			<Miho_Missile>Bullet_MihoMMAT</Miho_Missile>
			<Miho_MissilePlasma>Bullet_MihoMPLA</Miho_MissilePlasma>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_MihoMissile_S</defName>
		<label>Miho AT RR</label>
		<ammoTypes>
			<Miho_Missile>Bullet_MihoMMAT</Miho_Missile>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<ThingDef Class="CombatExtended.AmmoDef" Name="MMAT_Base" ParentName="MediumAmmoBase" Abstract="True">
		<description>Missiles designed for Miho direct fire launchers</description>
		<statBases>
			<MaxHitPoints>150</MaxHitPoints>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
		</tradeTags>
		<thingCategories>
			<li>AmmoMiho_MAT</li>
		</thingCategories>
		<stackLimit>25</stackLimit>
		<cookOffFlashScale>40</cookOffFlashScale>
		<cookOffSound>MortarBomb_Explode</cookOffSound>
	</ThingDef>

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

	<ThingDef Name="Base_MihoMMAT" ParentName="BaseExplosiveBullet" Abstract="true">
		<graphicData>
			<texPath>Things/Projectile/Rocket_Big</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>64</speed>
			<soundAmbient>RocketPropelledLoop_Small</soundAmbient>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_ProjectileFleck">
				<FleckDatas>
					<li>
						<fleck>Fleck_CERocketFlame</fleck>
						<emissionsPerTick>7</emissionsPerTick>
						<flecksPerEmission>3</flecksPerEmission>
						<scale>1</scale>
						<cutoffTickRange>15~30</cutoffTickRange>
						<originOffset>0.8</originOffset>
					</li>
					<li>
						<fleck>Fleck_CERocketSmokeTrail</fleck>
						<emissionsPerTick>2</emissionsPerTick>
						<rotation>0~360</rotation>
						<flecksPerEmission>1</flecksPerEmission>
					</li>
					<li>
						<fleck>Fleck_CERocketSmoke</fleck>
						<emissionsPerTick>2</emissionsPerTick>
						<rotation>0~360</rotation>
						<flecksPerEmission>2</flecksPerEmission>
						<cutoffTickRange>25~60</cutoffTickRange>
					</li>
				</FleckDatas>
			</li>
		</comps>
	</ThingDef>

	<ThingDef ParentName="Base_MihoMMAT">
		<defName>Bullet_MihoMMAT</defName>
		<label>Miho AP-I Missile</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshot</damageDef>
			<damageAmountBase>124</damageAmountBase>
			<armorPenetrationSharp>250</armorPenetrationSharp>
			<armorPenetrationBlunt>37.075</armorPenetrationBlunt>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_ExplosiveCE">
				<damageAmountBase>124</damageAmountBase>
				<explosiveDamageType>MihoGunshotDemo</explosiveDamageType>
				<explosiveRadius>2.5</explosiveRadius>
				<explosionSound>MortarBomb_Explode</explosionSound>
				<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			</li>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large_Miho>5</Fragment_Large_Miho>
					<Fragment_Small_Miho>24</Fragment_Small_Miho>
				</fragments>
			</li>
		</comps>
	</ThingDef>
	
	<ThingDef ParentName="Base_MihoMMAT">
		<defName>Bullet_MihoMMAT_Barrage</defName>
		<label>Miho AP-I Missile</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>MihoGunshot</damageDef>
			<damageAmountBase>124</damageAmountBase>
			<armorPenetrationSharp>250</armorPenetrationSharp>
			<armorPenetrationBlunt>37.075</armorPenetrationBlunt>
			<pelletCount>8</pelletCount>
			<gravityFactor>10</gravityFactor>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_ExplosiveCE">
				<damageAmountBase>124</damageAmountBase>
				<explosiveDamageType>MihoGunshotDemo</explosiveDamageType>
				<explosiveRadius>2.5</explosiveRadius>
				<explosionSound>MortarBomb_Explode</explosionSound>
				<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			</li>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large_Miho>5</Fragment_Large_Miho>
					<Fragment_Small_Miho>24</Fragment_Small_Miho>
				</fragments>
			</li>
		</comps>
	</ThingDef>

	<ThingDef ParentName="Base_MihoMMAT">
		<defName>Bullet_MihoMPLA</defName>
		<label>Miho Plasma Missile</label>
		<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<explosionRadius>1.5</explosionRadius>
			<damageDef>MihoPlasma</damageDef>
			<damageAmountBase>400</damageAmountBase>
			<soundExplode>MortarBomb_Explode</soundExplode>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Miho_Missile</defName>
		<label>make Miho Missiles x5</label>
		<description>Craft 5 Miho Missiles.</description>
		<jobString>Making Miho Missiles.</jobString>
		<workAmount>12000</workAmount>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>64</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>8</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>4</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>FSX</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Miho_Missile>5</Miho_Missile>
		</products>
		<researchPrerequisite>Miho_HeavyWeapon</researchPrerequisite>
		<recipeUsers Inherit="False">
			<li>Miho_TableMachining</li>
		</recipeUsers>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_Miho_MissilePlasma</defName>
		<label>make Miho Plasma Missiles x5</label>
		<description>Craft 5 Miho Plasma Missiles.</description>
		<jobString>Making Miho Plasma Missiles.</jobString>
		<workAmount>18000</workAmount>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Miho_MilitaryGradeBalisticCeramics</li>
					</thingDefs>
				</filter>
				<count>64</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Uranium</li>
					</thingDefs>
				</filter>
				<count>50</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>10</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Miho_MilitaryGradeBalisticCeramics</li>
				<li>Uranium</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Miho_MissilePlasma>5</Miho_MissilePlasma>
		</products>
		<researchPrerequisite>Miho_PlasmaWeapon</researchPrerequisite>
		<recipeUsers Inherit="False">
			<li>Miho_TableMachining</li>
		</recipeUsers>
	</RecipeDef>

</Defs>
