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

	<!-- ==================== AmmoSet ========================== -->
	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_VoltLaserCellLight</defName>
		<label>volt laser cell (low)</label>
		<ammoTypes>
			<Ammo_VoltLaserCellPack>Bullet_VoltLaserLow</Ammo_VoltLaserCellPack>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_VoltLaserCellMedium</defName>
		<label>volt laser cell</label>
		<ammoTypes>
			<Ammo_VoltLaserCellPack>Bullet_VoltLaserMedium</Ammo_VoltLaserCellPack>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_VoltLaserCellHeavy</defName>
		<label>volt laser cell (high)</label>
		<ammoTypes>
			<Ammo_VoltLaserCellPack>Bullet_VoltLaserHeavy</Ammo_VoltLaserCellPack>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<CombatExtended.AmmoSetDef>
		<defName>AmmoSet_VoltLaserCellShotgun</defName>
		<label>volt laser cell (scatter)</label>
		<ammoTypes>
			<Ammo_VoltLaserCellPack>Bullet_VoltLaserShotgun</Ammo_VoltLaserCellPack>
		</ammoTypes>
	</CombatExtended.AmmoSetDef>

	<!-- ==================== Ammo ========================== -->
	<ThingDef Class="CombatExtended.AmmoDef" ParentName="LaserChargePackBase">
		<defName>Ammo_VoltLaserCellPack</defName>
		<label>volt laser cell</label>
		<tradeTags>
			<li>CE_AutoEnableCrafting_TableMachining</li>
		</tradeTags>
		<graphicData>
			<texPath>ThirdParty/Volt Weaponry/Ammo/VoltBattery</texPath>
			<graphicClass>Graphic_StackCount</graphicClass>
		</graphicData>
		<ammoClass>Laser</ammoClass>
	</ThingDef>

	<!-- ================== Projectiles ================== -->
	<ThingDef Name="BaseVoltLaser" ParentName="BaseLaserBulletTextured" Abstract="True">
		<label>volt beam</label>
		<graphicData>
			<color>(255,239,85)</color>
		</graphicData>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<isInstant>true</isInstant>
			<damageDef>DV_WattDamage</damageDef>
		</projectile>
		<modExtensions>
			<li Class="ProjectileImpactFX.EffectProjectileExtension">
				<AutoAssign>true</AutoAssign>
				<CreateTerrainEffects>false</CreateTerrainEffects>
				<explosionFleckDef>Fleck_HeatGlow_API</explosionFleckDef>
				<explosionFleckSize>1</explosionFleckSize>
				<ImpactGlowFleckDef>ExplosionFlash</ImpactGlowFleckDef>
				<ImpactGlowFleckSize>2.5</ImpactGlowFleckSize>
			</li>
		</modExtensions>
	</ThingDef>

	<ThingDef Class="CombatExtended.Lasers.LaserBeamDefCE" ParentName="BaseVoltLaser">
		<defName>Bullet_VoltLaserLow</defName>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>14</damageAmountBase>
			<armorPenetrationSharp>0.001</armorPenetrationSharp>
			<armorPenetrationBlunt>0.001</armorPenetrationBlunt>
			<armorPenetrationBase>0.1</armorPenetrationBase>
			<secondaryDamage>
				<li>
					<def>DV_WattDamage</def>
					<amount>5</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.Lasers.LaserBeamDefCE" ParentName="BaseVoltLaser">
		<defName>Bullet_VoltLaserMedium</defName>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>18</damageAmountBase>
			<armorPenetrationSharp>0.001</armorPenetrationSharp>
			<armorPenetrationBlunt>0.001</armorPenetrationBlunt>
			<armorPenetrationBase>0.16</armorPenetrationBase>
			<secondaryDamage>
				<li>
					<def>DV_WattDamage</def>
					<amount>6</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.Lasers.LaserBeamDefCE" ParentName="BaseVoltLaser">
		<defName>Bullet_VoltLaserHeavy</defName>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>23</damageAmountBase>
			<armorPenetrationSharp>0.001</armorPenetrationSharp>
			<armorPenetrationBlunt>0.001</armorPenetrationBlunt>
			<armorPenetrationBase>0.24</armorPenetrationBase>
			<secondaryDamage>
				<li>
					<def>DV_WattDamage</def>
					<amount>8</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

	<ThingDef Class="CombatExtended.Lasers.LaserBeamDefCE" ParentName="BaseVoltLaser">
		<defName>Bullet_VoltLaserShotgun</defName>
		<projectile Class="CombatExtended.ProjectilePropertiesCE">
			<damageAmountBase>12</damageAmountBase>
			<pelletCount>8</pelletCount>
			<spreadMult>12</spreadMult>
			<armorPenetrationSharp>0.001</armorPenetrationSharp>
			<armorPenetrationBlunt>0.001</armorPenetrationBlunt>
			<armorPenetrationBase>0.1</armorPenetrationBase>
			<secondaryDamage>
				<li>
					<def>DV_WattDamage</def>
					<amount>3</amount>
				</li>
			</secondaryDamage>
		</projectile>
	</ThingDef>

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

	<RecipeDef ParentName="ChargeAmmoRecipeBase">
		<defName>MakeAmmo_VoltLaserCellPack</defName>
		<label>make volt laser cell x500</label>
		<description>Craft 500 volt laser cell.</description>
		<jobString>Making volt laser cell.</jobString>
		<researchPrerequisite>DV_LensArrays</researchPrerequisite>
		<skillRequirements>
			<Crafting>6</Crafting>
		</skillRequirements>
		<ingredients>
			<li>
				<filter>
					<thingDefs>
						<li>Plasteel</li>
					</thingDefs>
				</filter>
				<count>8</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>Steel</li>
					</thingDefs>
				</filter>
				<count>4</count>
			</li>
			<li>
				<filter>
					<thingDefs>
						<li>ComponentIndustrial</li>
					</thingDefs>
				</filter>
				<count>8</count>
			</li>
		</ingredients>
		<fixedIngredientFilter>
			<thingDefs>
				<li>Plasteel</li>
				<li>Steel</li>
				<li>ComponentIndustrial</li>
			</thingDefs>
		</fixedIngredientFilter>
		<products>
			<Ammo_VoltLaserCellPack>500</Ammo_VoltLaserCellPack>
		</products>
		<workAmount>100800</workAmount>
	</RecipeDef>

</Defs>