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

	<!-- ======= Type 74mm Rocket ======= -->
	<ThingCategoryDef>
		<defName>AmmoK4GType74mmRockets</defName>
		<label>Type 74mm Rockets</label>
		<parent>AmmoRockets</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberRocket</iconPath>
	</ThingCategoryDef>

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

	<!-- ======= Type 74mm Rocket ======= -->
	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_K4GType74mmRocket</defName>
		<label>Type 74mm Rockets</label>
		<ammoTypes>
			<Ammo_K4GType74mm_HEAT>Bullet_K4GType74mm_HEAT</Ammo_K4GType74mm_HEAT>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<!-- ======= Type 74mm Rocket ======= -->
	<ThingDef Class="CombatExtended.AmmoDef" Name="K4GType74mmRocketBase" ParentName="MediumAmmoBase" Abstract="True">
		<description>Outdated 74mm rocket-propelled grenade designed for the Type-4 74mm Rocket Launcher.</description>
		<statBases>
			<MaxHitPoints>150</MaxHitPoints>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting_TableMachining</li>
		</tradeTags>
		<thingCategories>
			<li>AmmoK4GType74mmRockets</li>
		</thingCategories>
		<stackLimit>25</stackLimit>
		<cookOffFlashScale>40</cookOffFlashScale>
		<cookOffSound>MortarBomb_Explode</cookOffSound>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="K4GType74mmRocketBase">
		<defName>Ammo_K4GType74mm_HEAT</defName>
		<label>Type 74mm Rocket (HEAT)</label>
		<graphicData>
			<texPath>Things/Ammo/RPG/HEAT</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>1.59</Mass>
			<Bulk>4.66</Bulk>
		</statBases>
		<ammoClass>RocketHEAT</ammoClass>
		<detonateProjectile>Bullet_K4GType74mm_HEAT</detonateProjectile>
	</ThingDef>

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

	<!-- ======= Panzerfaust 80mm Rocket ======= -->
	<ThingDef ParentName="BaseRPG7Grenade">
		<defName>Bullet_K4GPanzerFaust60_HEAT</defName>
		<label>Panzerfaust 60 rocket</label>
		<graphicData>
			<texPath>Things/Projectile/WW2GermanServiceDisposableRocket</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>34</speed>
			<damageDef>Bullet</damageDef>
			<damageAmountBase>208</damageAmountBase>
			<armorPenetrationSharp>200</armorPenetrationSharp>
			<armorPenetrationBlunt>37.321</armorPenetrationBlunt>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_ExplosiveCE">
				<damageAmountBase>124</damageAmountBase>
				<explosiveDamageType>Bomb</explosiveDamageType>
				<explosiveRadius>1</explosiveRadius>
				<explosionSound>MortarBomb_Explode</explosionSound>
				<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			</li>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large>1</Fragment_Large>
					<Fragment_Small>19</Fragment_Small>
				</fragments>
			</li>
		</comps>
	</ThingDef>

	<!-- ======= Panzerfaust 60mm Rocket ======= -->
	<ThingDef ParentName="BaseRPG7Grenade">
		<defName>Bullet_K4GPanzerFaust50_HEAT</defName>
		<label>Panzerfaust 50 rocket</label>
		<graphicData>
			<texPath>Things/Projectile/WW2GermanServiceDisposableRocketB</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>34</speed>
			<damageDef>Bullet</damageDef>
			<damageAmountBase>208</damageAmountBase>
			<armorPenetrationSharp>150</armorPenetrationSharp>
			<armorPenetrationBlunt>34.321</armorPenetrationBlunt>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_ExplosiveCE">
				<damageAmountBase>124</damageAmountBase>
				<explosiveDamageType>Bomb</explosiveDamageType>
				<explosiveRadius>1</explosiveRadius>
				<explosionSound>MortarBomb_Explode</explosionSound>
				<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			</li>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large>1</Fragment_Large>
					<Fragment_Small>13</Fragment_Small>
				</fragments>
			</li>
		</comps>
	</ThingDef>

	<!-- ======= Type 74mm Rocket ======= -->
	<ThingDef ParentName="BaseRPG7Grenade">
		<defName>Bullet_K4GType74mm_HEAT</defName>
		<label>Type 74mm Rocket (HEAT)</label>
		<graphicData>
			<texPath>Things/Projectile/WW2JapaneseServiceRocket</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>31</speed>
			<damageDef>Bullet</damageDef>
			<damageAmountBase>208</damageAmountBase>
			<armorPenetrationSharp>172</armorPenetrationSharp>
			<armorPenetrationBlunt>39.273</armorPenetrationBlunt>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_ExplosiveCE">
				<damageAmountBase>132</damageAmountBase>
				<explosiveDamageType>Bomb</explosiveDamageType>
				<explosiveRadius>1.2</explosiveRadius>
				<explosionSound>MortarBomb_Explode</explosionSound>
				<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			</li>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large>2</Fragment_Large>
					<Fragment_Small>39</Fragment_Small>
				</fragments>
			</li>
		</comps>
	</ThingDef>

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

	<!-- ======= Type 74mm Rocket ======= -->
	<RecipeDef ParentName="LauncherAmmoRecipeBase">
		<defName>MakeAmmo_K4GType74mm_HEAT</defName>
		<label>make Type 74mm HEAT rockets x5</label>
		<description>Craft 5 Type 74mm HEAT rockets.</description>
		<jobString>Making Type 74mm HEAT rockets.</jobString>
		<workAmount>7900</workAmount>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>25</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>7</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_K4GType74mm_HEAT>5</Ammo_K4GType74mm_HEAT>
		</products>
	</RecipeDef>

</Defs>