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

	<!--Blue-->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="DC-15S_Blaster_Carbine" or
			defName="DC-15A_Blaster_Rifle" or
			defName="DC-17M_Repeating_Blaster_Rifle" or
			defName="DC15x_Sinper_Rifle" or
			defName="Z6_Rotary_Blaster_Cannon" or
			defName="DC-17_Blaster_Pistol" or
			defName="DC17B_Blaster_Pistol"
			]/verbs/li[@Class="CombatExtended.VerbPropertiesCE"]/defaultProjectile</xpath>
		<value>
			<defaultProjectile>Bullet_SWPlasmaGasCartridgeBlue</defaultProjectile>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DC-15S_Blaster_Carbine" or
			defName="DC-15A_Blaster_Rifle" or
			defName="DC-17M_Repeating_Blaster_Rifle" or
			defName="DC15x_Sinper_Rifle" or
			defName="Z6_Rotary_Blaster_Cannon" or
			defName="DC-17_Blaster_Pistol" or
			defName="DC17B_Blaster_Pistol"
			]/comps</xpath>
		<value>
			<li Class="CombatExtended.CompProperties_AmmoUser">
				<ammoSet>AmmoSet_SWPlasmaGasCartridgeBlue</ammoSet>
			</li>
		</value>
	</Operation>

	<!--Red-->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="B-2_Super_Droid_Wrist_Blaster" or
			defName="SE-14_Light_Blaster_Pistol" or
			defName="E-5_Blaster_Rifle" or
			defName="EE-3_Carbine_Rifle" or
			defName="E-5S_Sniper_Rifle" or
			defName="Droidekas_Blaster" or
			defName="B-2_Super_Droid_Wrist_Cannon" or
			defName="Mando_Blaster_Carbine" or
			defName="Mando_Heavy_Weapon" or
			defName="Westar-M5_Blaster_Rifle"
			]/verbs/li[@Class="CombatExtended.VerbPropertiesCE"]/defaultProjectile </xpath>
		<value>
			<defaultProjectile>Bullet_SWPlasmaGasCartridge</defaultProjectile>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="B-2_Super_Droid_Wrist_Blaster" or
			defName="SE-14_Light_Blaster_Pistol" or
			defName="E-5_Blaster_Rifle" or
			defName="EE-3_Carbine_Rifle" or
			defName="E-5S_Sniper_Rifle" or
			defName="Droidekas_Blaster" or
			defName="B-2_Super_Droid_Wrist_Cannon" or
			defName="Mando_Blaster_Carbine" or
			defName="Mando_Heavy_Weapon" or
			defName="Westar-M5_Blaster_Rifle"
			]/comps </xpath>
		<value>
			<li Class="CombatExtended.CompProperties_AmmoUser">
				<ammoSet>AmmoSet_SWPlasmaGasCartridge</ammoSet>
			</li>
		</value>
	</Operation>

	<!--Yellow-->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[
			defName="Amban_Rifle" or
			defName="Westar-34_Blaster_Pistol" or
			defName="Westar-35_Blaster_Pistol"
			]/verbs/li[@Class="CombatExtended.VerbPropertiesCE"]/defaultProjectile </xpath>
		<value>
			<defaultProjectile>Bullet_SWPlasmaGasCartridgeYellow</defaultProjectile>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="Amban_Rifle" or
			defName="Westar-34_Blaster_Pistol" or
			defName="Westar-35_Blaster_Pistol"
			]/comps </xpath>
		<value>
			<li Class="CombatExtended.CompProperties_AmmoUser">
				<ammoSet>AmmoSet_SWPlasmaGasCartridgeYellow</ammoSet>
			</li>
		</value>
	</Operation>

	<!-- Ammo and Reload -->

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DC-15S_Blaster_Carbine" or
			defName="DC-17M_Repeating_Blaster_Rifle" or
			defName="E-5_Blaster_Rifle"
			]/comps/li[@Class="CombatExtended.CompProperties_AmmoUser"] </xpath>
		<value>
			<magazineSize>24</magazineSize>
			<reloadTime>3</reloadTime>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="Westar-M5_Blaster_Rifle" or
			defName="DC-15A_Blaster_Rifle"
			]/comps/li[@Class="CombatExtended.CompProperties_AmmoUser"] </xpath>
		<value>
			<magazineSize>20</magazineSize>
			<reloadTime>2.4</reloadTime>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DC15x_Sinper_Rifle" or
			defName="Amban_Rifle" or
			defName="E-5S_Sniper_Rifle"
			]/comps/li[@Class="CombatExtended.CompProperties_AmmoUser"] </xpath>
		<value>
			<magazineSize>10</magazineSize>
			<reloadTime>3</reloadTime>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="Z6_Rotary_Blaster_Cannon" or
			defName="Mando_Heavy_Weapon"
			]/comps/li[@Class="CombatExtended.CompProperties_AmmoUser"] </xpath>
		<value>
			<magazineSize>300</magazineSize>
			<reloadTime>9.2</reloadTime>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[
			defName="DC-17_Blaster_Pistol" or
			defName="DC17B_Blaster_Pistol" or
			defName="Mando_Blaster_Carbine" or
			defName="SE-14_Light_Blaster_Pistol" or
			defName="EE-3_Carbine_Rifle" or
			defName="Westar-34_Blaster_Pistol" or
			defName="Westar-35_Blaster_Pistol"
			]/comps/li[@Class="CombatExtended.CompProperties_AmmoUser"] </xpath>
		<value>
			<magazineSize>15</magazineSize>
			<reloadTime>2</reloadTime>
		</value>
	</Operation>

</Patch>