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

	<ThingCategoryDef>
		<defName>AmmoMiGoCastingWeapon</defName>
		<label>MiGo Casting Weapon</label>
		<parent>AmmoAdvanced</parent>
		<iconPath>UI/Icons/ThingCategories/CaliberCharge</iconPath>
	</ThingCategoryDef>

	<!-- ==================== AmmoSet ========================== -->
	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_MiGoCastingWeapon</defName>
		<label>MiGo Casting Weapon ammo</label>
		<ammoTypes>
			<Ammo_MiGoCastingWeapon>Bullet_MiGoCastingWeapon</Ammo_MiGoCastingWeapon>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<!-- ==================== Ammo ========================== -->
	<ThingDef Class="CombatExtended.AmmoDef" Name="MiGoCastingWeaponBase" ParentName="AmmoBase" Abstract="True">
		<description>MiGo Casting Weapon ammo</description>
		<statBases>
			<Mass>0.01</Mass>
			<Bulk>0.02</Bulk>
		</statBases>
		<tradeTags>
			<li>CE_AutoEnableTrade_Sellable</li>
		</tradeTags>
		<thingCategories>
			<li>AmmoMiGoCastingWeapon</li>
		</thingCategories>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="MiGoCastingWeaponBase">
		<defName>Ammo_MiGoCastingWeapon</defName>
		<label>MiGo Casting Weapon cartridge</label>
		<graphicData>
			<texPath>Item/Weapon/MiGoCasterWeapon</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>FullMetalJacket</ammoClass>
	</ThingDef>

	<!-- ================== Projectiles ================== -->
	<ThingDef Class="CombatExtended.AmmoDef" Name="BaseMiGoCastingWeapon" ParentName="BaseBulletCE" Abstract="true">
		<graphicData>
			<texPath>Things/Projectile/Charge_Small</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
			<drawSize>(10,10)</drawSize>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageDef>Bullet</damageDef>
			<speed>120</speed>
		</projectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.AmmoDef" ParentName="BaseMiGoCastingWeapon">
		<defName>Bullet_MiGoCastingWeapon</defName>
		<label>Rhombohedral Energy blast</label>
		<thingClass>CombatExtended.BulletCE</thingClass>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>27</damageAmountBase>
			<armorPenetrationSharp>15</armorPenetrationSharp>
			<armorPenetrationBlunt>30.6</armorPenetrationBlunt>
			<damageDef>Bullet</damageDef>
			<speed>120</speed>
		</projectile>
	</ThingDef>

	<!-- ================== Recipes ================== -->
	<RecipeDef ParentName="ChargeAmmoRecipeBase">
		<defName>MakeAmmo_MiGoCastingWeapon</defName>
		<label>make MiGo Casting Weapon cartridge x50</label>
		<description>Craft 50 MiGo Casting Weapon cartridges.</description>
		<jobString>Making MiGo Casting Weapon cartridge.</jobString>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Plasteel</li>
					</thingDefs>
				</filter>
				<count>1</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>2</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>1</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Plasteel</li>
				<li>Steel</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_MiGoCastingWeapon>50</Ammo_MiGoCastingWeapon>
		</products>
		<workAmount>2600</workAmount>
	</RecipeDef>

</Defs>