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

	<!-- Flashpot Belt -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FlashPotBelt"]/costList</xpath>
		<value>
			<costList>
				<DankPyon_Weapon_PotFlash>5</DankPyon_Weapon_PotFlash>
			</costList>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FlashPotBelt"]/comps/li[@Class="CompProperties_ApparelReloadable"]/ammoCountToRefill</xpath>
		<value>
			<ammoCountPerCharge>1</ammoCountPerCharge>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FlashPotBelt"]/verbs</xpath>
		<value>
			<verbs>
				<li Class="CombatExtended.VerbPropertiesCE">
					<label>throw flash pot</label>
					<verbClass>CombatExtended.Verb_LaunchProjectileStaticCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<onlyManualCast>True</onlyManualCast>
					<warmupTime>0.8</warmupTime>
					<range>10</range>
					<minRange>3</minRange>
					<ai_IsBuildingDestroyer>true</ai_IsBuildingDestroyer>
					<soundCast>ThrowGrenade</soundCast>
					<soundCastTail>GunTail_Medium</soundCastTail>
					<muzzleFlashScale>0</muzzleFlashScale>
					<drawHighlightWithLineOfSight>true</drawHighlightWithLineOfSight>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
					</targetParams>
					<ignorePartialLoSBlocker>true</ignorePartialLoSBlocker>
					<defaultProjectile>DankPyon_Proj_PotFlash</defaultProjectile>
					<rangedFireRulepack>Combat_RangedFire_Thrown</rangedFireRulepack>
				</li>
			</verbs>
		</value>
	</Operation>
	
	<!-- Firepot Belt -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FirePotBelt"]/costList</xpath>
		<value>
			<costList>
				<DankPyon_Weapon_PotFire>5</DankPyon_Weapon_PotFire>
			</costList>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FirePotBelt"]/comps/li[@Class="CompProperties_ApparelReloadable"]/ammoCountToRefill</xpath>
		<value>
			<ammoCountPerCharge>1</ammoCountPerCharge>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_FirePotBelt"]/verbs</xpath>
		<value>
			<verbs>
				<li Class="CombatExtended.VerbPropertiesCE">
					<label>throw flash pot</label>
					<verbClass>CombatExtended.Verb_LaunchProjectileStaticCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<onlyManualCast>True</onlyManualCast>
					<warmupTime>0.8</warmupTime>
					<range>10</range>
					<minRange>3</minRange>
					<ai_IsBuildingDestroyer>true</ai_IsBuildingDestroyer>
					<soundCast>ThrowGrenade</soundCast>
					<soundCastTail>GunTail_Medium</soundCastTail>
					<muzzleFlashScale>0</muzzleFlashScale>
					<drawHighlightWithLineOfSight>true</drawHighlightWithLineOfSight>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
					</targetParams>
					<ignorePartialLoSBlocker>true</ignorePartialLoSBlocker>
					<defaultProjectile>DankPyon_Proj_PotFire</defaultProjectile>
					<rangedFireRulepack>Combat_RangedFire_Thrown</rangedFireRulepack>
				</li>
			</verbs>
		</value>
	</Operation>
	
	<!-- Smokepot Belt -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_SmokePotBelt"]/costList</xpath>
		<value>
			<costList>
				<DankPyon_Weapon_PotFlashSmoke>5</DankPyon_Weapon_PotFlashSmoke>
			</costList>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_SmokePotBelt"]/comps/li[@Class="CompProperties_ApparelReloadable"]/ammoCountToRefill</xpath>
		<value>
			<ammoCountPerCharge>1</ammoCountPerCharge>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_SmokePotBelt"]/verbs</xpath>
		<value>
			<verbs>
				<li Class="CombatExtended.VerbPropertiesCE">
					<label>throw flash pot</label>
					<verbClass>CombatExtended.Verb_LaunchProjectileStaticCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<onlyManualCast>True</onlyManualCast>
					<warmupTime>0.8</warmupTime>
					<range>10</range>
					<minRange>3</minRange>
					<ai_IsBuildingDestroyer>true</ai_IsBuildingDestroyer>
					<soundCast>ThrowGrenade</soundCast>
					<soundCastTail>GunTail_Medium</soundCastTail>
					<muzzleFlashScale>0</muzzleFlashScale>
					<drawHighlightWithLineOfSight>true</drawHighlightWithLineOfSight>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
					</targetParams>
					<ignorePartialLoSBlocker>true</ignorePartialLoSBlocker>
					<defaultProjectile>DankPyon_Proj_PotSmoke</defaultProjectile>
					<rangedFireRulepack>Combat_RangedFire_Thrown</rangedFireRulepack>
				</li>
			</verbs>
		</value>
	</Operation>

	<!-- Acidflask Belt -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_AcidFlaskBelt"]/costList</xpath>
		<value>
			<costList>
				<DankPyon_Weapon_AcidFlask>5</DankPyon_Weapon_AcidFlask>
			</costList>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_AcidFlaskBelt"]/comps/li[@Class="CompProperties_ApparelReloadable"]/ammoCountToRefill</xpath>
		<value>
			<ammoCountPerCharge>1</ammoCountPerCharge>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="DankPyon_Apparel_AcidFlaskBelt"]/verbs</xpath>
		<value>
			<verbs>
				<li Class="CombatExtended.VerbPropertiesCE">
					<label>throw flash pot</label>
					<verbClass>CombatExtended.Verb_LaunchProjectileStaticCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<onlyManualCast>True</onlyManualCast>
					<warmupTime>0.8</warmupTime>
					<range>10</range>
					<minRange>3</minRange>
					<ai_IsBuildingDestroyer>true</ai_IsBuildingDestroyer>
					<soundCast>ThrowGrenade</soundCast>
					<soundCastTail>GunTail_Medium</soundCastTail>
					<muzzleFlashScale>0</muzzleFlashScale>
					<drawHighlightWithLineOfSight>true</drawHighlightWithLineOfSight>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
					</targetParams>
					<ignorePartialLoSBlocker>true</ignorePartialLoSBlocker>
					<defaultProjectile>DankPyon_Proj_AcidFlask</defaultProjectile>
					<rangedFireRulepack>Combat_RangedFire_Thrown</rangedFireRulepack>
				</li>
			</verbs>
		</value>
	</Operation>

</Patch>