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

	<ThingCategoryDef>
		<defName>AmmoRPOGrenades</defName>
		<label>RPO grenades</label>
		<parent>AmmoRockets</parent>
	</ThingCategoryDef>

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

	<ThingDef Name="BaseRPOGrenade" ParentName="BaseExplosiveBullet" Abstract="true">
		<graphicData>
			<texPath>Things/Projectile/Rocket_Big</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>38</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>0.5</scale>
						<cutoffTickRange>15~25</cutoffTickRange>
						<originOffset>0.3</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>1</flecksPerEmission>
						<cutoffTickRange>25~60</cutoffTickRange>
					</li>
				</FleckDatas>
			</li>
		</comps>
	</ThingDef>

	<ThingDef ParentName="BaseRPOGrenade">
		<defName>Bullet_RPO_A_Grenade</defName>
		<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
		<label>RPO-A grenade</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Thermobaric</damageDef>
			<damageAmountBase>293</damageAmountBase>
			<explosionRadius>5</explosionRadius>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			<ai_IsIncendiary>true</ai_IsIncendiary>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="BaseRPOGrenade">
		<defName>Bullet_RPO_Z_Grenade</defName>
		<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
		<label>RPO-Z grenade</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>PrometheumFlame</damageDef>
			<damageAmountBase>21</damageAmountBase>
			<explosionRadius>9.5</explosionRadius>
			<preExplosionSpawnThingDef>FilthPrometheum</preExplosionSpawnThingDef>
			<preExplosionSpawnChance>0.5</preExplosionSpawnChance>
			<soundExplode>MortarIncendiary_Explode</soundExplode>
			<ai_IsIncendiary>true</ai_IsIncendiary>
			<preExplosionSpawnSingleThingDef>Filth_BlastMark</preExplosionSpawnSingleThingDef>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="BaseRPOGrenade">
		<defName>Bullet_RPO_D_Grenade</defName>
		<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
		<label>RPO-D grenade</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Smoke</damageDef>
			<suppressionFactor>0.0</suppressionFactor>
			<dangerFactor>0.0</dangerFactor>
			<explosionRadius>8</explosionRadius>
			<postExplosionGasType>BlindSmoke</postExplosionGasType>
			<preExplosionSpawnChance>1</preExplosionSpawnChance>
		</projectile>
	</ThingDef>

</Defs>