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

	<!-- ==================== JI Molten Fragmentation (Old) ========================== -->

	<ThingDef ParentName="BaseFragment">
		<defName>Fragment_Molten</defName>
		<label>molten splatter</label>
		<graphicData>
			<texPath>Things/Projectile/Fragments/Fragment_Small</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Burn</damageDef>
			<damageAmountBase>5</damageAmountBase>
			<speed>30</speed>
			<armorPenetrationSharp>1</armorPenetrationSharp>
			<armorPenetrationBlunt>3</armorPenetrationBlunt>
			<gravityFactor>25</gravityFactor>
		</projectile>
	</ThingDef>

	<!-- ==================== JI Siege Shells ========================== -->

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_JISiege</defName>
		<label>Siege Cannon</label>
		<ammoTypes>
			<Ammo_JI_Alloy>Bullet_JISiegeRound</Ammo_JI_Alloy>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef ParentName="Base90mmCannonShell">
		<defName>Bullet_JISiegeRound</defName>
		<label>grendel shell</label>
		<graphicData>
			<texPath>Things/Projectile/SCM</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<speed>90</speed>
			<damageDef>Bullet</damageDef>
			<damageAmountBase>80</damageAmountBase>
			<armorPenetrationBlunt>51200</armorPenetrationBlunt>
			<armorPenetrationSharp>100</armorPenetrationSharp>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_ExplosiveCE">
				<damageAmountBase>20</damageAmountBase>
				<explosiveDamageType>Bomb</explosiveDamageType>
				<explosiveRadius>0.5</explosiveRadius>
				<explosionSound>Explosion_GiantBomb</explosionSound>
				<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			</li>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragSpeedFactor>0.5</fragSpeedFactor>
				<fragments>
					<Fragment_Large>325</Fragment_Large>
				</fragments>
			</li>
		</comps>
	</ThingDef>

	<ThingDef ParentName="Base81mmMortarShell">
		<defName>Bullet_JICrowFeeder</defName>
		<label>crow feeder</label>
		<graphicData>
			<texPath>Things/Projectile/SCM</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bomb</damageDef>
			<damageAmountBase>20</damageAmountBase>
			<armorPenetrationSharp>0</armorPenetrationSharp>
			<armorPenetrationBlunt>0</armorPenetrationBlunt>
			<explosionRadius>0.5</explosionRadius>
			<flyOverhead>true</flyOverhead>
			<soundExplode>MortarBomb_Explode</soundExplode>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			<ai_IsIncendiary>false</ai_IsIncendiary>
			<speed>49</speed>
			<gravityFactor>10</gravityFactor>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragSpeedFactor>0.5</fragSpeedFactor>
				<fragments>
					<Fragment_Large>325</Fragment_Large>
				</fragments>
			</li>
		</comps>
	</ThingDef>

	<!-- ==================== JI Alloy ========================== -->

	<ThingCategoryDef>
		<defName>AmmoAlloy</defName>
		<label>Semi-molten Alloy Round</label>
		<parent>AmmoRifles</parent>
		<iconPath>ThirdParty/Rimsenal/JI/JI_Molten/MoltenCartridge_c</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_JISlag</defName>
		<label>Semi-molten round</label>
		<ammoTypes>
			<Ammo_JI_Alloy>Bullet_JI_Slag</Ammo_JI_Alloy>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef Class="CombatExtended.AmmoDef" Name="BaseJIAlloy" ParentName="SmallAmmoBase" Abstract="True">
		<description>A ultra dense, strong alloy with extremely high thermal conductivity, specially manufactured for use by Jotun Interstellar weaponry.</description>
		<statBases>
			<Mass>0.075</Mass>
			<Bulk>0.01</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade</li>
			<li>CE_AutoEnableCrafting</li>
		</tradeTags>
		<thingCategories>
			<li>AmmoAlloy</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="BaseJIAlloy">
		<defName>Ammo_JI_Alloy</defName>
		<label>Ultra-density alloy</label>
		<graphicData>
			<texPath>ThirdParty/Rimsenal/JI/JI_Molten</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>Slag</ammoClass>
	</ThingDef>

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

	<ThingDef ParentName="Base556x45mmNATOBullet">
		<defName>Bullet_JI_Slag</defName>
		<label>Semi-molten alloy</label>
		<graphicData>
			<texPath>Things/Projectile/Slug</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<speed>122</speed>
			<dropsCasings>false</dropsCasings>
			<damageAmountBase>10</damageAmountBase>
			<armorPenetrationBlunt>60</armorPenetrationBlunt>
			<armorPenetrationSharp>12</armorPenetrationSharp>
			<pelletCount>10</pelletCount>
			<spreadMult>25</spreadMult>
		</projectile>
	</ThingDef>

	<!-- ==================== Recipe: JI Alloy ========================== -->
	<RecipeDef ParentName="AmmoRecipeBase">
		<defName>MakeAmmo_JI_Alloy</defName>
		<label>make alloy x250</label>
		<description>Craft 250 ultra dense alloy.</description>
		<jobString>Making ultra dense alloy.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Plasteel</li>
					</thingDefs>
				</filter>
				<count>18</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>10</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>18</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Plasteel</li>
				<li>Steel</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<researchPrerequisite>MoltenTech</researchPrerequisite>
		<recipeUsers Inherit="False">
			<li>JITable</li>
		</recipeUsers>
		<products>
			<Ammo_JI_Alloy>250</Ammo_JI_Alloy>
		</products>
		<workAmount>19000</workAmount>
	</RecipeDef>

	<!-- ==================== JI Molten Slug ========================== -->

	<ThingCategoryDef>
		<defName>AmmoMoltenSlug</defName>
		<label>Semi-molten alloy</label>
		<parent>AmmoRifles</parent>
		<iconPath>ThirdParty/Rimsenal/JI/JI_Molten/MoltenCartridge_c</iconPath>
	</ThingCategoryDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_JIStandard</defName>
		<label>molten slug</label>
		<ammoTypes>
			<Ammo_JI_Alloy>Bullet_JI_Molten</Ammo_JI_Alloy>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef ParentName="Base556x45mmNATOBullet">
		<defName>Bullet_JI_Molten</defName>
		<label>Semi-molten alloy</label>
		<graphicData>
			<texPath>Things/Projectile/Slug</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<speed>137</speed>
			<dropsCasings>false</dropsCasings>
			<damageAmountBase>28</damageAmountBase>
			<armorPenetrationBlunt>490</armorPenetrationBlunt>
			<armorPenetrationSharp>18</armorPenetrationSharp>
		</projectile>
	</ThingDef>

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_JI_AMR</defName>
		<label>High-density alloy slug</label>
		<ammoTypes>
			<Ammo_JI_Alloy>Bullet_JI_AMR</Ammo_JI_Alloy>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef ParentName="Base556x45mmNATOBullet">
		<defName>Bullet_JI_AMR</defName>
		<label>Semi-molten alloy</label>
		<graphicData>
			<texPath>Things/Projectile/Shell</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<speed>178</speed>
			<dropsCasings>false</dropsCasings>
			<damageAmountBase>128</damageAmountBase>
			<armorPenetrationBlunt>20000</armorPenetrationBlunt>
			<armorPenetrationSharp>200</armorPenetrationSharp>
		</projectile>
		<comps>
			<li Class="CombatExtended.CompProperties_Fragments">
				<fragments>
					<Fragment_Large>6</Fragment_Large>
				</fragments>
			</li>
		</comps>
	</ThingDef>

	<!-- ==================== JI Suppressor Shot ========================== -->

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

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_JISuppressor</defName>
		<label>molten slug</label>
		<ammoTypes>
			<Ammo_JI_Alloy>Bullet_JI_Suppressor</Ammo_JI_Alloy>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

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

	<ThingDef ParentName="Base556x45mmNATOBullet">
		<defName>Bullet_JI_Suppressor</defName>
		<label>Semi-molten alloy</label>
		<graphicData>
			<texPath>Things/Projectile/Slug</texPath>
			<graphicClass>Graphic_Single</graphicClass>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<speed>137</speed>
			<dropsCasings>false</dropsCasings>
			<damageAmountBase>22</damageAmountBase>
			<armorPenetrationBlunt>245</armorPenetrationBlunt>
			<armorPenetrationSharp>15</armorPenetrationSharp>
		</projectile>
	</ThingDef>

</Defs>