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

	<ThingCategoryDef>
		<defName>Ammo3855Winchester</defName>
		<label>.38-55 Winchester</label>
		<parent>AmmoRifles</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberRifle</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_3855Winchester</defName>
		<label>.38-55 Winchester</label>
		<ammoTypes>
			<Ammo_3855Winchester_FMJ>Bullet_3855Winchester_FMJ</Ammo_3855Winchester_FMJ>
			<Ammo_3855Winchester_AP>Bullet_3855Winchester_AP</Ammo_3855Winchester_AP>
			<Ammo_3855Winchester_HP>Bullet_3855Winchester_HP</Ammo_3855Winchester_HP>
			<Ammo_3855Winchester_Incendiary>Bullet_3855Winchester_Incendiary</Ammo_3855Winchester_Incendiary>
			<Ammo_3855Winchester_HE>Bullet_3855Winchester_HE</Ammo_3855Winchester_HE>
			<Ammo_3855Winchester_Sabot>Bullet_3855Winchester_Sabot</Ammo_3855Winchester_Sabot>
		</ammoTypes>
		<similarTo>AmmoSet_Rifle</similarTo>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="3855WinchesterBase" ParentName="SmallAmmoBase" Abstract="True">
		<description>Old school lever-gun cartridge that offered somewhat similar performance to black powder .45-70 Gov't loads in smaller bore rifles.</description>
		<statBases>
			<Mass>0.034</Mass>
			<Bulk>0.02</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>Ammo3855Winchester</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="3855WinchesterBase">
		<defName>Ammo_3855Winchester_FMJ</defName>
		<label>.38-55 Winchester (FMJ)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/StraightWall/FMJ</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>FullMetalJacket</ammoClass>
		<cookOffProjectile>Bullet_3855Winchester_FMJ</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="3855WinchesterBase">
		<defName>Ammo_3855Winchester_AP</defName>
		<label>.38-55 Winchester (AP)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/StraightWall/AP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ArmorPiercing</ammoClass>
		<cookOffProjectile>Bullet_3855Winchester_AP</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="3855WinchesterBase">
		<defName>Ammo_3855Winchester_HP</defName>
		<label>.38-55 Winchester (HP)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/StraightWall/HP</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>HollowPoint</ammoClass>
		<cookOffProjectile>Bullet_3855Winchester_HP</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="3855WinchesterBase">
		<defName>Ammo_3855Winchester_Incendiary</defName>
		<label>.38-55 Winchester (AP-I)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/StraightWall/Incendiary</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>IncendiaryAP</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_3855Winchester_Incendiary</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="3855WinchesterBase">
		<defName>Ammo_3855Winchester_HE</defName>
		<label>.38-55 Winchester (AP-HE)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/StraightWall/HE</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>ExplosiveAP</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_3855Winchester_HE</cookOffProjectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="3855WinchesterBase">
		<defName>Ammo_3855Winchester_Sabot</defName>
		<label>.38-55 Winchester (Sabot)</label>
		<graphicData>
			<texPath>Things/Ammo/Rifle/StraightWall/Sabot</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<statBases>
			<Mass>0.026</Mass>
		</statBases>
		<ammoClass>Sabot</ammoClass>
		<generateAllowChance>0.65</generateAllowChance> <!-- Make advanced ammo types less common. -->
		<cookOffProjectile>Bullet_3855Winchester_Sabot</cookOffProjectile>
	</ThingDef>

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

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

	<ThingDef ParentName="Base3855WinchesterBullet">
		<defName>Bullet_3855Winchester_FMJ</defName>
		<label>.38-55 Winchester cartridge (FMJ)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>20</damageAmountBase>
			<armorPenetrationSharp>5.5</armorPenetrationSharp>
			<armorPenetrationBlunt>57.44</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base3855WinchesterBullet">
		<defName>Bullet_3855Winchester_AP</defName>
		<label>.38-55 Winchester cartridge (AP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>13</damageAmountBase>
			<armorPenetrationSharp>11</armorPenetrationSharp>
			<armorPenetrationBlunt>57.44</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base3855WinchesterBullet">
		<defName>Bullet_3855Winchester_HP</defName>
		<label>.38-55 Winchester cartridge (HP)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>25</damageAmountBase>
			<armorPenetrationSharp>3</armorPenetrationSharp>
			<armorPenetrationBlunt>57.44</armorPenetrationBlunt>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base3855WinchesterBullet">
		<defName>Bullet_3855Winchester_Incendiary</defName>
		<label>.38-55 bullet (AP-I)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>13</damageAmountBase>
			<armorPenetrationSharp>11</armorPenetrationSharp>
			<armorPenetrationBlunt>57.44</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Flame_Secondary</def>
					<amount>8</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base3855WinchesterBullet">
		<defName>Bullet_3855Winchester_HE</defName>
		<label>.38-55 bullet (AP-HE)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>20</damageAmountBase>
			<armorPenetrationSharp>5.5</armorPenetrationSharp>
			<armorPenetrationBlunt>57.44</armorPenetrationBlunt>
			<secondaryDamage>
				<li>
					<def>Bomb_Secondary</def>
					<amount>11</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef ParentName="Base3855WinchesterBullet">
		<defName>Bullet_3855Winchester_Sabot</defName>
		<label>.38-55 bullet (Sabot)</label>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>11</damageAmountBase>
			<armorPenetrationSharp>19</armorPenetrationSharp>
			<armorPenetrationBlunt>73.86</armorPenetrationBlunt>
			<speed>163</speed>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_3855Winchester_FMJ</defName>
		<label>make .38-55 Winchester cartridge (FMJ) cartridge x400</label>
		<description>Craft 500 .38-55 Winchester cartridge (FMJ) cartridges.</description>
		<jobString>Making .38-55 Winchester cartridge (FMJ) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>36</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_3855Winchester_FMJ>500</Ammo_3855Winchester_FMJ>
		</products>
		<workAmount>3600</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_3855Winchester_AP</defName>
		<label>make .38-55 Winchester cartridge (AP) cartridge x500</label>
		<description>Craft 500 .38-55 Winchester cartridge (AP) cartridges.</description>
		<jobString>Making .38-55 Winchester cartridge (AP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>36</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_3855Winchester_AP>500</Ammo_3855Winchester_AP>
		</products>
		<workAmount>4320</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_3855Winchester_HP</defName>
		<label>make .38-55 Winchester cartridge (HP) cartridge x500</label>
		<description>Craft 500 .38-55 Winchester cartridge (HP) cartridges.</description>
		<jobString>Making .38-55 Winchester cartridge (HP) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>36</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_3855Winchester_HP>500</Ammo_3855Winchester_HP>
		</products>
		<workAmount>3600</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_3855Winchester_Incendiary</defName>
		<label>make .38-55 Winchester (AP-I) cartridge x500</label>
		<description>Craft 500 .38-55 Winchester (AP-I) cartridges.</description>
		<jobString>Making .38-55 Winchester (AP-I) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>36</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Prometheum</li>
					</thingDefs>
				</filter>
				<count>5</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Prometheum</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_3855Winchester_Incendiary>500</Ammo_3855Winchester_Incendiary>
		</products>
		<workAmount>5600</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_3855Winchester_HE</defName>
		<label>make .38-55 Winchester (AP-HE) cartridge x500</label>
		<description>Craft 500 .38-55 Winchester (AP-HE) cartridges.</description>
		<jobString>Making .38-55 Winchester (AP-HE) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>36</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>FSX</li>
					</thingDefs>
				</filter>
				<count>8</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>FSX</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_3855Winchester_HE>500</Ammo_3855Winchester_HE>
		</products>
		<workAmount>6800</workAmount>
	</RecipeDef>

	<RecipeDef ParentName="AdvancedAmmoRecipeBase">
		<defName>MakeAmmo_3855Winchester_Sabot</defName>
		<label>make .38-55 Winchester (Sabot) cartridge x500</label>
		<description>Craft 500 .38-55 Winchester (Sabot) cartridges.</description>
		<jobString>Making .38-55 Winchester (Sabot) cartridges.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>18</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Uranium</li>
					</thingDefs>
				</filter>
				<count>5</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Chemfuel</li>
					</thingDefs>
				</filter>
				<count>5</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Steel</li>
				<li>Uranium</li>
				<li>Chemfuel</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_3855Winchester_Sabot>500</Ammo_3855Winchester_Sabot>
		</products>
		<workAmount>4800</workAmount>
	</RecipeDef>

</Defs>