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

	<!-- ===== Torch Belt ===== -->
	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VFEM2_Apparel_TorchBelt"]/verbs</xpath>
		<value>
			<verbs>
				<li Class="CombatExtended.VerbPropertiesCE">
					<label>throw torch</label>
					<verbClass>CombatExtended.Verb_LaunchProjectileStaticCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<onlyManualCast>True</onlyManualCast>
					<range>12.9</range>
					<warmupTime>0.6</warmupTime>
					<noiseRadius>2</noiseRadius>
					<ai_IsBuildingDestroyer>true</ai_IsBuildingDestroyer>
					<soundCast>ThrowMolotovCocktail</soundCast>
					<drawHighlightWithLineOfSight>true</drawHighlightWithLineOfSight>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
					</targetParams>
					<defaultProjectile>VFEM2_Proj_GrenadeTorch</defaultProjectile>
					<rangedFireRulepack>Combat_RangedFire_Thrown</rangedFireRulepack>
				</li>
			</verbs>
		</value>
	</Operation>

	<Operation Class="PatchOperationAdd">
		<xpath>Defs/ThingDef[defName="VFEM2_Apparel_TorchBelt"]/statBases</xpath>
		<value>
			<Bulk>0</Bulk>
		</value>
	</Operation>

	<!-- Projectile -->

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VFEM2_Proj_GrenadeTorch"]/thingClass</xpath>
		<value>
			<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="VFEM2_Proj_GrenadeTorch"]/projectile</xpath>
		<value>
			<projectile Class="CombatExtended.ProjectilePropertiesCE">
				<explosionRadius>0.9</explosionRadius>
				<damageDef>Flame</damageDef>
				<speed>12</speed>
				<suppressionFactor>0</suppressionFactor>
				<dangerFactor>0.25</dangerFactor>
				<airborneSuppressionFactor>0.05</airborneSuppressionFactor>
			</projectile>
		</value>
	</Operation>

</Patch>