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

	<ThingCategoryDef>
		<defName>AmmoAriadnanMicroMissile</defName>
		<label>Ariadnan micro missiles</label>
		<parent>AmmoRockets</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberRocket</iconPath>
	</ThingCategoryDef>

	<!-- ==================== Autocamnon - AmmoSet ========================== -->
	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_AriadnanMicroMissile</defName>
		<label>Ariadnan micro missiles</label>
		<ammoTypes>
			<Ammo_AriadnanMicroMissile_HE>Bullet_BaseAriadnanMicroMissile_HE</Ammo_AriadnanMicroMissile_HE>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<ThingDef Class="CombatExtended.AmmoDef" Name="AmmoAriadnanMicroMissileBase" ParentName="MediumAmmoBase" Abstract="True">
		<description>Ariadnan micro missiles that is small enough to be carried by the missile launcher.</description>
		<statBases>
			<MaxHitPoints>150</MaxHitPoints>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting_TableMachining</li>
		</tradeTags>
		<thingCategories>
			<li>AmmoAriadnanMicroMissile</li>
		</thingCategories>
		<stackLimit>75</stackLimit>
		<cookOffFlashScale>25</cookOffFlashScale>
		<cookOffSound>MortarBomb_Explode</cookOffSound>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoAriadnanMicroMissileBase">
		<defName>Ammo_AriadnanMicroMissile_HE</defName>
		<label>Ariadnan micro missile (HE)</label>
		<graphicData>
			<texPath>ThirdParty/InfinityRimAriadna/Micro_Missile</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
			<drawSize>0.75</drawSize>
		</graphicData>
		<statBases>
			<Mass>0.52</Mass>
			<Bulk>0.88</Bulk>
		</statBases>
		<ammoClass>GrenadeHE</ammoClass>
		<detonateProjectile>Bullet_BaseAriadnanMicroMissile_HE</detonateProjectile>
	</ThingDef>

	<ThingDef Name="BaseAriadnanMicroMissile" ParentName="BaseExplosiveBullet" Abstract="true">
		<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
		<graphicData>
			<texPath>ThirdParty/InfinityRimAriadna/MicroMissile_projectile</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
			<drawSize>0.75</drawSize>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>70</speed>
			<soundAmbient>RocketPropelledLoop_Small</soundAmbient>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="BaseAriadnanMicroMissile">
		<defName>Bullet_BaseAriadnanMicroMissile_HE</defName>
		<label>Ariadnan micro missile (HE)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bomb</damageDef>
			<damageAmountBase>28</damageAmountBase>
			<explosionRadius>1.5</explosionRadius>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Small>25</Fragment_Small>
					<Fragment_Large>8</Fragment_Large>
				</fragments>
			</li>
		</comps>
	</ThingDef>

	<RecipeDef ParentName="LauncherAmmoRecipeBase">
		<defName>MakeAmmo_AriadnanMicroMissile_HE</defName>
		<label>make Ariadnan micro missile (HE) x10</label>
		<description>Craft 10 Ariadnan HE micro missile.</description>
		<jobString>Making Ariadnan micro missile (HE).</jobString>
		<workAmount>4200</workAmount>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>18</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>5</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>FSX</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_AriadnanMicroMissile_HE>10</Ammo_AriadnanMicroMissile_HE>
		</products>
	</RecipeDef>
</Defs>