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

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/DamageDef[defName="AT_AcidBomb"]/defaultArmorPenetration</xpath>
		<value>
			<defaultArmorPenetration>20</defaultArmorPenetration>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/DamageDef[defName="AT_AcidBomb"]/defaultDamage</xpath>
		<value>
			<defaultDamage>16</defaultDamage>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/DamageDef[defName="AT_AcidBomb_B"]/defaultArmorPenetration</xpath>
		<value>
			<defaultArmorPenetration>1000</defaultArmorPenetration>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/DamageDef[defName="AT_AcidBomb_B"]/defaultDamage</xpath>
		<value>
			<defaultDamage>16</defaultDamage>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="BulletCombatSmokeLauncher"]</xpath>
		<value>
			<ThingDef ParentName="Base25x40mmGrenadeBullet">
				<defName>BulletCombatSmokeLauncher</defName>
				<label>Refleum gas Grenade</label>
				<graphicData>
					<texPath>Things/Weapons/lan</texPath>
					<graphicClass>Graphic_Single</graphicClass>
					<shaderType>TransparentPostLight</shaderType>
					<color>(0.6, 0.2, 0.2)</color>
				</graphicData>
				<projectile Class="CombatExtended.ProjectilePropertiesCE">
					<speed>50</speed>
					<damageDef>AT_AcidBomb_B</damageDef>
					<preExplosionSpawnThingDef>Filth_ApproachSmoke_B</preExplosionSpawnThingDef>
					<preExplosionSpawnChance>1</preExplosionSpawnChance>
					<explosionRadius>0</explosionRadius>
					<explosionDelay>30</explosionDelay>
				</projectile>
				<comps>
					<li Class="CombatExtended.CompProperties_ExplosiveCE">
						<explosiveDamageType>AT_AcidBomb_B</explosiveDamageType>
						<explosiveRadius>6.9</explosiveRadius>
						<preExplosionSpawnThingDef>Filth_ApproachSmoke_B</preExplosionSpawnThingDef>
						<preExplosionSpawnChance>1</preExplosionSpawnChance>
						<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
					</li>
				</comps>
			</ThingDef>
		</value>
	</Operation>

	<Operation Class="PatchOperationReplace">
		<xpath>Defs/ThingDef[defName="AT_Apparel_CombatSmoke"]/verbs</xpath>
		<value>
			<verbs>
				<li Class="CombatExtended.VerbPropertiesCE">
					<label>launch Refleum gas Grenade</label>
					<verbClass>CombatExtended.Verb_LaunchProjectileStaticCE</verbClass>
					<hasStandardCommand>true</hasStandardCommand>
					<onlyManualCast>True</onlyManualCast>
					<warmupTime>1.1</warmupTime>
					<range>40</range>
					<minRange>5</minRange>
					<ai_IsBuildingDestroyer>false</ai_IsBuildingDestroyer>
					<soundCast>Shot_IncendiaryLauncher</soundCast>
					<soundCastTail>GunTail_Medium</soundCastTail>
					<muzzleFlashScale>14</muzzleFlashScale>
					<drawHighlightWithLineOfSight>true</drawHighlightWithLineOfSight>
					<targetParams>
						<canTargetLocations>true</canTargetLocations>
					</targetParams>
					<ignorePartialLoSBlocker>true</ignorePartialLoSBlocker>
					<defaultProjectile>BulletCombatSmokeLauncher</defaultProjectile>
					<rangedFireRulepack>Combat_RangedFire_Thrown</rangedFireRulepack>
				</li>
			</verbs>
		</value>
	</Operation>
</Patch>