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

	<CombatExtended.AmmoCategoryDef>
		<defName>Mono-AP</defName>
		<label>Mono-bodkin</label>
		<labelShort>bodkin</labelShort>
		<description>Mono-sharpened bodkin arrows that can penetrate thick armor.</description>
		<advanced>true</advanced>
	</CombatExtended.AmmoCategoryDef>

	<CombatExtended.AmmoCategoryDef>
		<defName>Mono-Heavy</defName>
		<label>Mono-broadhead</label>
		<labelShort>broadhead</labelShort>
		<description>Mono-sharpened broadhead arrows that have less penetrative power, but will cause more damage when they can penetrate.</description>
		<advanced>true</advanced>
	</CombatExtended.AmmoCategoryDef>

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

	<ThingCategoryDef>
		<defName>AmmoMonoArrow</defName>
		<label>Mono arrow</label>
		<parent>AmmoAdvanced</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberArrow</iconPath>
	</ThingCategoryDef>

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_MonoArrow</defName>
		<label>Mono arrow</label>
		<ammoTypes>
			<Ammo_MonoArrow>Projectile_MonoArrow</Ammo_MonoArrow>
			<Ammo_MonoArrow_Broad>Projectile_MonoArrow_Broad</Ammo_MonoArrow_Broad>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="MonoArrowBase" ParentName="SpacerSmallAmmoBase" Abstract="True">
		<description>Specilized plasteel arrows that can be sharpened to a mono-molecular edge before being fired by a mono-longbow.</description>
		<statBases>
			<Mass>0.012</Mass>
			<Bulk>0.01</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting_FabricationBench</li>
		</tradeTags>
		<thingCategories>
			<li>AmmoMonoArrow</li>
		</thingCategories>
		<stackLimit>1000</stackLimit>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="MonoArrowBase">
		<defName>Ammo_MonoArrow</defName>
		<label>Mono Arrow (Bodkin)</label>
		<graphicData>
			<texPath>ThirdParty/RoyalArsenal/MonoBodkin</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>Mono-AP</ammoClass>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="MonoArrowBase">
		<defName>Ammo_MonoArrow_Broad</defName>
		<label>Mono Arrow (Broadhead)</label>
		<graphicData>
			<texPath>ThirdParty/RoyalArsenal/MonoBroadhead</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>Mono-Heavy</ammoClass>
	</ThingDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="BaseMonoArrowProjectile" ParentName="BaseBulletCE" Abstract="true">
		<graphicData>
			<texPath>Things/Projectiles/Arrow_Mono</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Arrow</damageDef>
			<speed>200</speed>
		</projectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="BaseMonoArrowProjectile">
		<defName>Projectile_MonoArrow</defName>
		<label>mono-bodkin arrow</label>
		<graphicData>
			<texPath>Things/Projectiles/Arrow_Mono</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>12</damageAmountBase>
			<armorPenetrationSharp>50</armorPenetrationSharp>
			<armorPenetrationBlunt>60</armorPenetrationBlunt>
			<preExplosionSpawnChance>0.333</preExplosionSpawnChance>
			<preExplosionSpawnThingDef>Ammo_MonoArrow</preExplosionSpawnThingDef>
		</projectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="BaseMonoArrowProjectile">
		<defName>Projectile_MonoArrow_Broad</defName>
		<label>mono-broadhead arrow</label>
		<graphicData>
			<texPath>Things/Projectiles/Arrow_Mono</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>18</damageAmountBase>
			<armorPenetrationSharp>25</armorPenetrationSharp>
			<armorPenetrationBlunt>30</armorPenetrationBlunt>
			<preExplosionSpawnChance>0.333</preExplosionSpawnChance>
			<preExplosionSpawnThingDef>Ammo_MonoArrow</preExplosionSpawnThingDef>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_MonoArrow</defName>
		<label>make mono arrow (bodkin) x100</label>
		<description>Craft 100 mono-bodkin arrows.</description>
		<jobString>Making mono-bodkin arrows.</jobString>
		<workAmount>10000</workAmount>
		<researchPrerequisite>RA_MonoBowResearch</researchPrerequisite>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Plasteel</li>
					</thingDefs>
				</filter>
				<count>10</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>
			<Ammo_MonoArrow>100</Ammo_MonoArrow>
		</products>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_MonoArrow_Broad</defName>
		<label>make mono arrow (broadhead) x100</label>
		<description>Craft 100 mono-broadhead arrows.</description>
		<jobString>Making mono-broadhead arrows.</jobString>
		<workAmount>10000</workAmount>
		<researchPrerequisite>RA_MonoBowResearch</researchPrerequisite>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Plasteel</li>
					</thingDefs>
				</filter>
				<count>10</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>
			<Ammo_MonoArrow_Broad>100</Ammo_MonoArrow_Broad>
		</products>
	</RecipeDef>

</Defs>