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

	<ThingCategoryDef>
		<defName>Ammo65x50mmSRArisaka</defName>
		<label>6.5x50mmSR Arisaka</label>
		<parent>AmmoRifles</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberRifle</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_65x50mmSRArisaka</defName>
		<label>6.5x50mmSR Arisaka</label>
		<ammoTypes>
			<Ammo_65x50mmSRArisaka_FMJ>Bullet_65x50mmSRArisaka_FMJ</Ammo_65x50mmSRArisaka_FMJ>
			<Ammo_65x50mmSRArisaka_AP>Bullet_65x50mmSRArisaka_AP</Ammo_65x50mmSRArisaka_AP>
			<Ammo_65x50mmSRArisaka_HP>Bullet_65x50mmSRArisaka_HP</Ammo_65x50mmSRArisaka_HP>
			<Ammo_65x50mmSRArisaka_Incendiary>Bullet_65x50mmSRArisaka_Incendiary</Ammo_65x50mmSRArisaka_Incendiary>
			<Ammo_65x50mmSRArisaka_HE>Bullet_65x50mmSRArisaka_HE</Ammo_65x50mmSRArisaka_HE>
			<Ammo_65x50mmSRArisaka_Sabot>Bullet_65x50mmSRArisaka_Sabot</Ammo_65x50mmSRArisaka_Sabot>
		</ammoTypes>
		<similarTo>AmmoSet_RifleIntermediate</similarTo>
	</CombatExtended.AmmoSetDef>

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_65x50mmSRArisaka_SB</defName>
		<label>6.5x50mmSR Arisaka</label>
		<ammoTypes>
			<Ammo_65x50mmSRArisaka_FMJ>Bullet_65x50mmSRArisaka_FMJ_SB</Ammo_65x50mmSRArisaka_FMJ>
			<Ammo_65x50mmSRArisaka_AP>Bullet_65x50mmSRArisaka_AP_SB</Ammo_65x50mmSRArisaka_AP>
			<Ammo_65x50mmSRArisaka_HP>Bullet_65x50mmSRArisaka_HP_SB</Ammo_65x50mmSRArisaka_HP>
			<Ammo_65x50mmSRArisaka_Incendiary>Bullet_65x50mmSRArisaka_Incendiary_SB</Ammo_65x50mmSRArisaka_Incendiary>
			<Ammo_65x50mmSRArisaka_HE>Bullet_65x50mmSRArisaka_HE_SB</Ammo_65x50mmSRArisaka_HE>
			<Ammo_65x50mmSRArisaka_Sabot>Bullet_65x50mmSRArisaka_Sabot_SB</Ammo_65x50mmSRArisaka_Sabot>
		</ammoTypes>
		<similarTo>AmmoSet_RifleIntermediate</similarTo>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="65x50mmSRArisakaBase" ParentName="SmallAmmoBase" Abstract="True">
		<description>Semi-rimmed, intermediate rifle cartridge found mostly in outdated bolt-action firearms.</description>
		<statBases>
			<Mass>0.023</Mass>
			<Bulk>0.03</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>Ammo65x50mmSRArisaka</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="65x50mmSRArisakaBase">
		<defName>Ammo_65x50mmSRArisaka_FMJ</defName>
		<label>6.5x50mmSR Arisaka (FMJ)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Clip/FMJ</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>FullMetalJacket</ammoClass>
		<cookOffProjectile>Bullet_65x50mmSRArisaka_FMJ</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="65x50mmSRArisakaBase">
		<defName>Ammo_65x50mmSRArisaka_AP</defName>
		<label>6.5x50mmSR Arisaka (AP)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Clip/AP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ArmorPiercing</ammoClass>
		<cookOffProjectile>Bullet_65x50mmSRArisaka_AP</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="65x50mmSRArisakaBase">
		<defName>Ammo_65x50mmSRArisaka_HP</defName>
		<label>6.5x50mmSR Arisaka (HP)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Clip/HP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>HollowPoint</ammoClass>
		<cookOffProjectile>Bullet_65x50mmSRArisaka_HP</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="65x50mmSRArisakaBase">
		<defName>Ammo_65x50mmSRArisaka_Incendiary</defName>
		<label>6.5x50mmSR Arisaka (AP-I)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Clip/Incendiary</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>IncendiaryAP</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_65x50mmSRArisaka_Incendiary</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="65x50mmSRArisakaBase">
		<defName>Ammo_65x50mmSRArisaka_HE</defName>
		<label>6.5x50mmSR Arisaka (AP-HE)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Clip/HE</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ExplosiveAP</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_65x50mmSRArisaka_HE</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="65x50mmSRArisakaBase">
		<defName>Ammo_65x50mmSRArisaka_Sabot</defName>
		<label>6.5x50mmSR Arisaka (Sabot)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/Clip/Sabot</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>0.019</Mass>
		</statBases>
		<ammoClass>Sabot</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_65x50mmSRArisaka_Sabot</cookOffProjectile>
	</ThingDef>

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

	<ThingDef Name="Base65x50mmSRArisakaBullet" ParentName="BaseBulletCE" Abstract="true">
		<graphicData>
			<texPath>Things/Projectile/Bullet_Small</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<speed>147</speed>
			<dropsCasings>true</dropsCasings>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_FMJ</defName>
		<label>6.5mmSR Arisaka bullet (FMJ)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>17</damageAmountBase>
			<armorPenetrationSharp>6</armorPenetrationSharp>
			<armorPenetrationBlunt>53.96</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_AP</defName>
		<label>6.5mmSR Arisaka bullet (AP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>11</damageAmountBase>
			<armorPenetrationSharp>12</armorPenetrationSharp>
			<armorPenetrationBlunt>53.96</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_HP</defName>
		<label>6.5mmSR Arisaka bullet (HP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>22</damageAmountBase>
			<armorPenetrationSharp>3</armorPenetrationSharp>
			<armorPenetrationBlunt>53.96</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_Incendiary</defName>
		<label>6.5mmSR Arisaka bullet (AP-I)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>11</damageAmountBase>
			<armorPenetrationSharp>12</armorPenetrationSharp>
			<armorPenetrationBlunt>53.96</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>5</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_HE</defName>
		<label>6.5mmSR Arisaka bullet (AP-HE)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>17</damageAmountBase>
			<armorPenetrationSharp>6</armorPenetrationSharp>
			<armorPenetrationBlunt>53.96</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Bomb_Secondary</def>
					<amount>7</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_Sabot</defName>
		<label>6.5mmSR Arisaka bullet (Sabot)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>9</damageAmountBase>
			<armorPenetrationSharp>21</armorPenetrationSharp>
			<armorPenetrationBlunt>69.24</armorPenetrationBlunt>
			<speed>199</speed>
		</projectile>
	</ThingDef>

	<!-- Short barrel (Carbine) -->

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_FMJ_SB</defName>
		<label>6.5mmSR Arisaka bullet (FMJ)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>15</damageAmountBase>
			<armorPenetrationSharp>5</armorPenetrationSharp>
			<armorPenetrationBlunt>38.92</armorPenetrationBlunt>
			<speed>130</speed>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_AP_SB</defName>
		<label>6.5mmSR Arisaka bullet (AP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>10</damageAmountBase>
			<armorPenetrationSharp>10</armorPenetrationSharp>
			<armorPenetrationBlunt>38.92</armorPenetrationBlunt>
			<speed>130</speed>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_HP_SB</defName>
		<label>6.5mmSR Arisaka bullet (HP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>20</damageAmountBase>
			<armorPenetrationSharp>2.5</armorPenetrationSharp>
			<armorPenetrationBlunt>38.92</armorPenetrationBlunt>
			<speed>130</speed>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_Incendiary_SB</defName>
		<label>6.5mmSR Arisaka bullet (AP-I)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>10</damageAmountBase>
			<armorPenetrationSharp>10</armorPenetrationSharp>
			<armorPenetrationBlunt>38.92</armorPenetrationBlunt>
			<speed>130</speed>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>5</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_HE_SB</defName>
		<label>6.5mmSR Arisaka bullet (AP-HE)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>15</damageAmountBase>
			<armorPenetrationSharp>5</armorPenetrationSharp>
			<armorPenetrationBlunt>38.92</armorPenetrationBlunt>
			<speed>130</speed>
			<secondaryDamage>
				<li>
					<def>Bomb_Secondary</def>
					<amount>7</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base65x50mmSRArisakaBullet">
		<defName>Bullet_65x50mmSRArisaka_Sabot_SB</defName>
		<label>6.5mmSR Arisaka bullet (Sabot)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>8</damageAmountBase>
			<armorPenetrationSharp>17.5</armorPenetrationSharp>
			<armorPenetrationBlunt>49.94</armorPenetrationBlunt>
			<speed>176</speed>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_65x50mmSRArisaka_FMJ</defName>
		<label>make 6.5x50mmSR Arisaka (FMJ) cartridge x500</label>
		<description>Craft 500 6.5x50mmSR Arisaka (FMJ) cartridges.</description>
		<jobString>Making 6.5x50mmSR Arisaka (FMJ) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>24</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_65x50mmSRArisaka_FMJ>500</Ammo_65x50mmSRArisaka_FMJ>
		</products>
		<workAmount>2400</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_65x50mmSRArisaka_AP</defName>
		<label>make 6.5x50mmSR Arisaka (AP) cartridge x500</label>
		<description>Craft 500 6.5x50mmSR Arisaka (AP) cartridges.</description>
		<jobString>Making 6.5x50mmSR Arisaka (AP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>24</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_65x50mmSRArisaka_AP>500</Ammo_65x50mmSRArisaka_AP>
		</products>
		<workAmount>2880</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_65x50mmSRArisaka_HP</defName>
		<label>make 6.5x50mmSR Arisaka (HP) cartridge x500</label>
		<description>Craft 500 6.5x50mmSR Arisaka (HP) cartridges.</description>
		<jobString>Making 6.5x50mmSR Arisaka (HP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>24</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_65x50mmSRArisaka_HP>500</Ammo_65x50mmSRArisaka_HP>
		</products>
		<workAmount>2400</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_65x50mmSRArisaka_Incendiary</defName>
		<label>make 6.5x50mmSR (AP-I) cartridge x500</label>
		<description>Craft 500 6.5x50mmSR (AP-I) cartridges.</description>
		<jobString>Making 6.5x50mmSR (AP-I) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>24</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>3</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_65x50mmSRArisaka_Incendiary>500</Ammo_65x50mmSRArisaka_Incendiary>
		</products>
		<workAmount>3600</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_65x50mmSRArisaka_HE</defName>
		<label>make 6.5x50mmSR (AP-HE) cartridge x500</label>
		<description>Craft 500 6.5x50mmSR (AP-HE) cartridges.</description>
		<jobString>Making 6.5x50mmSR (AP-HE) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>24</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>5</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>FSX</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_65x50mmSRArisaka_HE>500</Ammo_65x50mmSRArisaka_HE>
		</products>
		<workAmount>4400</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_65x50mmSRArisaka_Sabot</defName>
		<label>make 6.5x50mmSR (Sabot) cartridge x500</label>
		<description>Craft 500 6.5x50mmSR (Sabot) cartridges.</description>
		<jobString>Making 6.5x50mmSR (Sabot) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>14</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Uranium</li>
					</thingDefs>
				</filter>
				<count>3</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Chemfuel</li>
					</thingDefs>
				</filter>
				<count>3</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Uranium</li>
				<li>Chemfuel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_65x50mmSRArisaka_Sabot>500</Ammo_65x50mmSRArisaka_Sabot>
		</products>
		<workAmount>3200</workAmount>
	</RecipeDef>

</Defs>