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

	<CombatExtended.AmmoCategoryDef>
		<defName>Tar</defName>
		<label>Tar</label>
		<description>Releases a splattering of thick, black substance.</description>
	</CombatExtended.AmmoCategoryDef>

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_Blowdart_AB</defName>
		<label>blowgun darts</label>
		<ammoTypes>
			<AB_WeaponPoisonDart>Projectile_Dart_Venom_AB</AB_WeaponPoisonDart>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef ParentName="Base81mmMortarShell">
		<defName>Bullet_81mmMortarShell_Tar</defName>
		<label>81mm mortar shell (Tar)</label>
		<graphicData>
			<texPath>Things/Projectile/ShellHighExplosive</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>AB_Tar</damageDef>
			<damageAmountBase>40</damageAmountBase>
			<explosionRadius>3.5</explosionRadius>
			<flyOverhead>true</flyOverhead>
			<soundHitThickRoof>Artillery_HitThickRoof</soundHitThickRoof>
			<soundExplode>Explosion_Smoke</soundExplode>
			<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
			<soundAmbient>MortarRound_Ambient</soundAmbient>
			<postExplosionSpawnThingDef>AB_Filth_Tar</postExplosionSpawnThingDef>
			<postExplosionSpawnChance>0.8</postExplosionSpawnChance>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="BaseArrowProjectile">
		<defName>Projectile_Dart_Venom_AB</defName>
		<label>poison dart</label>
		<graphicData>
			<texPath>Things/Item/Resource/AB_PoisonDart</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>16</speed>
			<damageDef>AB_ParalysingSting</damageDef>
			<damageAmountBase>4</damageAmountBase>
			<armorPenetrationSharp>1.35</armorPenetrationSharp>
			<armorPenetrationBlunt>1.50</armorPenetrationBlunt>
			<preExplosionSpawnChance>0.25</preExplosionSpawnChance>
			<preExplosionSpawnThingDef>AB_WeaponPoisonDart</preExplosionSpawnThingDef>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAB_Shell_Tar</defName>
		<label>make 81mm tar mortar shell x2</label>
		<description>Craft 2 tar shells.</description>
		<jobString>Making 81mm tar shells.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>25</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>AB_AsphaltBucket</li>
					</thingDefs>
				</filter>
				<count>10</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>ComponentIndustrial</li>
				<li>AB_AsphaltBucket</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<AB_Shell_Tar>2</AB_Shell_Tar>
		</products>
		<workAmount>3000</workAmount>
		<researchPrerequisite>Mortars</researchPrerequisite>
	</RecipeDef>

</Defs>