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

<ThingDef ParentName="ApparelNoQualityBase">
    <defName>CAT_InfernoPack</defName>
    <label>inferno siege pack</label>
    <description>A portable siege device crafted for the wearer to dismantle enemy fortifications with precision and unleash fear upon enemy forces. This formidable pack merges mobility with devastating power, allowing the user to breach even the most formidable defenses and sow chaos on the battlefield.</description>
	<thingClass>Apparel</thingClass>
	<tickerType>Normal</tickerType>
	<techLevel>Ultra</techLevel>
    <costList>
      <ComponentSpacer>15</ComponentSpacer>
      <Plasteel>200</Plasteel>
	  <PowerfocusChip>4</PowerfocusChip>
	  <NanostructuringChip>2</NanostructuringChip>
    </costList>
	<altitudeLayer>Item</altitudeLayer>
    <graphicData>
      <texPath>Things/Apparel/InfernoPack/InfernoPack</texPath>
      <shaderType>CutoutComplex</shaderType>
	  <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <statBases>
		<WorkToMake>100000</WorkToMake>
		<Mass>10</Mass>
		<Flammability>0</Flammability>
		<EquipDelay>2</EquipDelay>
        <JumpRange>35.9</JumpRange>
    </statBases>
	<equippedStatOffsets>
		<VacuumSpeedMultiplier MayRequire="kentington.saveourship2">4</VacuumSpeedMultiplier>
	</equippedStatOffsets>
	<recipeMaker>
		<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
		<workSkill>Crafting</workSkill>
		<effectWorking>Smith</effectWorking>
		<soundWorking>Recipe_Smith</soundWorking>
		<unfinishedThingDef>UnfinishedPack</unfinishedThingDef>
		<skillRequirements>
			<Crafting>15</Crafting>
		</skillRequirements>
		<researchPrerequisites>
			<li>UltratechArmament</li>
		</researchPrerequisites>
		<recipeUsers>
			<li>FabricationBench</li>
		</recipeUsers>
	</recipeMaker>
	<tradeability>Sellable</tradeability>
	<tradeTags>
		<li>Armor</li>
		<li>HiTechArmor</li>
		<li>ExoticMisc</li>
	</tradeTags>
    <thingCategories>
      <li>ApparelUtility</li>
    </thingCategories>
    <generateAllowChance>0</generateAllowChance>
	<generateCommonality>0</generateCommonality>
    <apparel>
      <wornGraphicPath>Things/Apparel/InfernoPack/InfernoPack</wornGraphicPath>
      <wornGraphicData>
			<renderUtilityAsPack>true</renderUtilityAsPack>
			<north>
				<offset>(0,0)</offset>
				<hulk>
					<offset>(0,-0.1)</offset>
				</hulk>
				<fat>
					<offset>(0,-0.1)</offset>
				</fat>
				<female>
					<offset>(0,0)</offset>
				</female>
				<male>
					<offset>(0,0)</offset>
				</male>
				<thin>
					<offset>(0,0)</offset>
				</thin>
			</north>
			<south>
				<offset>(0,0)</offset>
				<hulk>
					<offset>(-0,-0.1)</offset>
				</hulk>
				<fat>
					<offset>(0,-0.1)</offset>
				</fat>
				<female>
					<offset>(0,0)</offset>
				</female>
				<male>
					<offset>(0,0)</offset>
				</male>
				<thin>
					<offset>(0,0)</offset>
				</thin>
			</south>
			<east>
				<hulk>
					<offset>(-0.45,-0.1)</offset>
				</hulk>
				<fat>
					<offset>(-0.5,-0.1)</offset>
				</fat>
				<female>
					<offset>(-0.3,0)</offset>
				</female>
				<male>
					<offset>(-0.3,0)</offset>
				</male>
				<thin>
					<offset>(-0.25,0)</offset>
				</thin>
			</east>
			<west>
				<hulk>
					<offset>(0.45,-0.1)</offset>
				</hulk>
				<fat>
					<offset>(0.5,-0.1)</offset>
				</fat>
				<female>
					<offset>(0.3,0)</offset>
				</female>
				<male>
					<offset>(0.3,0)</offset>
				</male>
				<thin>
					<offset>(0.25,0)</offset>
				</thin>
			</west>
			<male>  <scale>(1.3,1.3)</scale></male>
			<female><scale>(1.3,1.3)</scale></female>
			<thin>  <scale>(1.3,1.3)</scale></thin>
			<hulk>  <scale>(1.3,1.3)</scale></hulk>
			<fat>   <scale>(1.3,1.3)</scale></fat>
		  </wornGraphicData>
		<drawData>
			<dataNorth><offset>(0, 0.1, 0.15)</offset></dataNorth>
			<dataEast><offset>(0, 0.1, 0.15)</offset></dataEast>
			<dataSouth><offset>(0, -0.1, 0.15)</offset></dataSouth>
			<dataWest><offset>(0, 0.1, 0.15)</offset></dataWest>
		</drawData>
      <countsAsClothingForNudity>true</countsAsClothingForNudity>
      <careIfWornByCorpse>false</careIfWornByCorpse>
      <careIfDamaged>false</careIfDamaged>
      <wearPerDay>0</wearPerDay>
      <bodyPartGroups>
        <li>Torso</li>
      </bodyPartGroups>
      <layers>
        <li>Belt</li>
      </layers>
      <useWornGraphicMask>true</useWornGraphicMask>
    </apparel>
	<colorGenerator Class="ColorGenerator_StandardApparel" />
	<!--<tools>
		<li>
			<label>stinger</label>
			<capacities>
			  <li>Stab</li>
			</capacities>
			<power>21</power>
			<cooldownTime>2.6</cooldownTime>
			<extraMeleeDamages>
			  <li>
				<def>Flame</def>
				<amount>10</amount>
				<chance>0.5</chance>
			  </li>
			</extraMeleeDamages>
		</li>
		<li>
			<label>lash</label>
			<capacities>
			  <li>Cut</li>
			</capacities>
			<power>21</power>
			<cooldownTime>2.6</cooldownTime>
			<extraMeleeDamages>
			  <li>
				<def>Flame</def>
				<amount>10</amount>
				<chance>0.5</chance>
			  </li>
			</extraMeleeDamages>
		</li>
	</tools>-->
	<verbs>
		<li>
			<verbClass>Verb_Jump</verbClass>
			<label>rapid assault</label>
			<violent>false</violent>
			<hasStandardCommand>true</hasStandardCommand>
			<onlyManualCast>true</onlyManualCast>
			<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
			<warmupTime>0.1</warmupTime>
			<warmupEffecter>JumpWarmupEffect</warmupEffecter>
			<requireLineOfSight>true</requireLineOfSight>
			<flightEffecterDef>JumpFlightEffect</flightEffecterDef>
			<soundLanding>JumpPackLand</soundLanding>
			<targetParams>
			  <canTargetLocations>true</canTargetLocations>
			  <canTargetPawns>false</canTargetPawns>
			  <canTargetBuildings>false</canTargetBuildings>
			</targetParams>
		</li>
		<!--<li>
			<verbClass>Verb_Shoot</verbClass>
			<label>incinerator 1</label>
			<hasStandardCommand>true</hasStandardCommand>
			<onlyManualCast>true</onlyManualCast>
			<targetParams>
			  <canTargetLocations>true</canTargetLocations>
			  <canTargetPawns>false</canTargetPawns>
			</targetParams>
			<defaultProjectile>CAT_ProjIncinerator</defaultProjectile>
			<ai_AvoidFriendlyFireRadius>3</ai_AvoidFriendlyFireRadius>
			<defaultCooldownTime>1.5</defaultCooldownTime>
			<warmupTime>2.5</warmupTime>
			<range>29.9</range>
			<burstShotCount>1</burstShotCount>
			<soundCast>InfernoCannon_Fire</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>14</muzzleFlashScale>
		</li>-->
		<!--<li>
			<verbClass>Verb_Shoot</verbClass>
			<label>incinerator 2</label>
			<hasStandardCommand>true</hasStandardCommand>
			<onlyManualCast>true</onlyManualCast>
			<targetParams>
			  <canTargetLocations>true</canTargetLocations>
			  <canTargetPawns>false</canTargetPawns>
			</targetParams>
			<defaultProjectile>CAT_ProjIncinerator</defaultProjectile>
			<ai_AvoidFriendlyFireRadius>3</ai_AvoidFriendlyFireRadius>
			<defaultCooldownTime>1.5</defaultCooldownTime>
			<warmupTime>2.5</warmupTime>
			<range>24.9</range>
			<burstShotCount>1</burstShotCount>
			<soundCast>InfernoCannon_Fire</soundCast>
			<soundCastTail>GunTail_Light</soundCastTail>
			<muzzleFlashScale>14</muzzleFlashScale>
		</li>-->
	</verbs>
	<comps>
		<!--<li Class="MVCF.Comps.CompProperties_VerbGiver">
			<verbProps>
				<li>
					<label>rush</label>
					<visualLabel>rush</visualLabel>
					<canBeToggled>false</canBeToggled>
					<comps>
						<li Class="MVCF.VerbComps.VerbCompProperties_Cooldown">
							<compClass>MVCF.VerbComps.VerbComp_Cooldown</compClass>
							<cooldownTime>5</cooldownTime>
						</li>
						<li Class="MVCF.Reloading.Comps.VerbCompProperties_Reloadable">
							<compClass>MVCF.Reloading.Comps.VerbComp_Reloadable</compClass>
								<AmmoFilter>
									<thingDefs>
										<li>Chemfuel</li>
									</thingDefs>
								</AmmoFilter>
							<ItemsPerShot>15</ItemsPerShot>
							<MaxShots>5</MaxShots>
							<ReloadSound>Reload_Standard</ReloadSound>
							<ReloadTimePerShot>1</ReloadTimePerShot>
						</li>
					</comps>
				</li>
				<li>
					<label>incinerator 1</label>
					<visualLabel>incinerator 1</visualLabel>
					<comps>
						<li Class="MVCF.VerbComps.VerbCompProperties_Cooldown">
							<compClass>MVCF.VerbComps.VerbComp_Cooldown</compClass>
							<cooldownTime>20</cooldownTime>
						</li>
						<li Class="MVCF.Reloading.Comps.VerbCompProperties_Reloadable">
							<compClass>MVCF.Reloading.Comps.VerbComp_Reloadable</compClass>
								<AmmoFilter>
									<thingDefs>
										<li>Chemfuel</li>
									</thingDefs>
								</AmmoFilter>
							<ItemsPerShot>50</ItemsPerShot>
							<MaxShots>3</MaxShots>
							<ReloadSound>Reload_Standard</ReloadSound>
							<ReloadTimePerShot>1</ReloadTimePerShot>
						</li>
					</comps>
				</li>
				<li>
					<label>incinerator 2</label>
					<visualLabel>incinerator 2</visualLabel>
					<comps>
						<li Class="MVCF.VerbComps.VerbCompProperties_Cooldown">
							<compClass>MVCF.VerbComps.VerbComp_Cooldown</compClass>
							<cooldownTime>20</cooldownTime>
						</li>
						<li Class="MVCF.Reloading.Comps.VerbCompProperties_Reloadable">
							<compClass>MVCF.Reloading.Comps.VerbComp_Reloadable</compClass>
								<AmmoFilter>
									<thingDefs>
										<li>Chemfuel</li>
									</thingDefs>
								</AmmoFilter>
							<ItemsPerShot>50</ItemsPerShot>
							<MaxShots>3</MaxShots>
							<ReloadSound>Reload_Standard</ReloadSound>
							<ReloadTimePerShot>1</ReloadTimePerShot>
						</li>
					</comps>
				</li>
			</verbProps>
		</li>-->
		<li Class="CompProperties_Styleable" />
		<li Class="CompProperties_ApparelReloadable">
			<maxCharges>10</maxCharges>
			<ammoDef>Chemfuel</ammoDef>
			<ammoCountPerCharge>30</ammoCountPerCharge>
			<baseReloadTicks>60</baseReloadTicks>
			<soundReload>Standard_Reload</soundReload>
			<hotKey>Misc4</hotKey>
			<chargeNoun>comet</chargeNoun>
			<displayGizmoWhileUndrafted>false</displayGizmoWhileUndrafted>
		</li>
		<li Class="VFECore.Abilities.CompProperties_AbilitiesApparel">
			<abilities>
				<li>CAT_Combustion</li>
				<li>CAT_InfernoJump</li>
				<li>CAT_InfernoRush</li>
			</abilities>
		</li>
		<li MayRequire="kentington.saveourship2">
			<compClass>SaveOurShip2.Comp_EVA</compClass>
		</li>
	</comps>
</ThingDef>

	<VFECore.Abilities.AbilityDef>
		<defName>CAT_Combustion</defName>
		<label>combustion</label>
		<description>Ignites the area in a fiery explosion with the power of the Infernal Claws.</description>
		<iconPath>UI/Combustion_Icon</iconPath>
		<abilityClass>VFECore.Abilities.Ability_Explode</abilityClass>
		<range>34.9</range>
		<radius>3.9</radius>
		<targetMode>Location</targetMode>
		<castTime>30</castTime>
		<cooldownTime>1800</cooldownTime>
		<castSound>InfernoCannon_Fire</castSound>
		<targetFlecks>
		<li>ExplosionFlash</li>
		</targetFlecks>
		<modExtensions>
			<li Class="VFECore.Abilities.AbilityExtension_Explosion">
				<explosionRadius>5</explosionRadius>
				<onCaster>false</onCaster>
				<explosionDamageDef>CAT_Vaporize</explosionDamageDef>
				<casterImmune>false</casterImmune>
			</li>
		</modExtensions>
	</VFECore.Abilities.AbilityDef>

	<DamageDef ParentName="Vaporize">
		<defName>CAT_Vaporize</defName>
		<label>combustion</label>
		<workerClass>DamageWorker_Vaporize</workerClass>
		<externalViolence>true</externalViolence>
		<deathMessage>{0} has been combusted by extreme heat.</deathMessage>
		<defaultDamage>50</defaultDamage>
		<defaultStoppingPower>1.5</defaultStoppingPower>
		<defaultArmorPenetration>1</defaultArmorPenetration>
		<buildingDamageFactorImpassable>8</buildingDamageFactorImpassable>
		<buildingDamageFactorPassable>4</buildingDamageFactorPassable>
		<plantDamageFactor>4</plantDamageFactor>
		<explosionHeatEnergyPerCell>10</explosionHeatEnergyPerCell>
		<corpseDamageFactor>4</corpseDamageFactor>
	</DamageDef>

	<VFECore.ExpandableProjectileDef ParentName="BaseBullet">
		<defName>CAT_ProjIncinerator</defName>
		<label>incinerate</label>
		<thingClass>VFECore.FlamethrowProjectile</thingClass>
		<graphicData>
			<texPath>Things/Projectiles/Proj_Incinerator</texPath>
			<texPathFadeOut>Things/Projectiles/Proj_IncineratorFadeOut</texPathFadeOut>
			<shaderType>MoteGlow</shaderType>
		</graphicData>
		<projectile>
			<damageDef>CAT_Incinerate</damageDef>
			<speed>55</speed>
			<damageAmountBase>45</damageAmountBase>
			<armorPenetrationBase>2.0</armorPenetrationBase>
		</projectile>
		<drawOffscreen>true</drawOffscreen>
		<lifeTimeDuration>50</lifeTimeDuration>
		<widthScaleFactor>0.85</widthScaleFactor>
		<heightScaleFactor>1</heightScaleFactor>
		<startingPositionOffset>(0, 0, -1)</startingPositionOffset>
		<totalSizeScale>1.1</totalSizeScale>
		<tickFrameRate>2</tickFrameRate>
		<finalTickFrameRate>5</finalTickFrameRate>
		<tickDamageRate>20</tickDamageRate>
		<dealsDamageOnce>true</dealsDamageOnce>
		<minDistanceToAffect>2</minDistanceToAffect>
	</VFECore.ExpandableProjectileDef>
	
	<VFECore.Abilities.AbilityDef>
		<defName>CAT_InfernoIncinerator</defName>
		<label>incinerator 1</label>
		<description>C.</description>
		<iconPath>UI/Incinerator_Icon</iconPath>
		<abilityClass>VFECore.Abilities.Ability_ShootProjectile</abilityClass>
		<requireLineOfSight>false</requireLineOfSight>
		<cooldownTime>600</cooldownTime>
		<castTime>10</castTime>
		<range>24.9</range>
		<castSound>InfernoCannon_Fire</castSound>
		<targetMode>Location</targetMode>
		<modExtensions>
			<li Class="VFECore.Abilities.AbilityExtension_Projectile">
				<projectile>CAT_ProjIncinerator</projectile>
			</li>
		</modExtensions>
	</VFECore.Abilities.AbilityDef>
	
	<VFECore.Abilities.AbilityDef>
		<defName>CAT_InfernoRush</defName>
		<label>Inferno Rush</label>
		<description>Explosive dash.</description>
        <abilityClass>BackpackAbilities.Ability_ShieldRush</abilityClass>
		<targetCount>2</targetCount>
		<castTime>15</castTime>
		<cooldownTime>120</cooldownTime>
		<range>12</range>
		<needsTicking>true</needsTicking>
		<targetMode>Location</targetMode>
        <iconPath>UI/InfernoRush_Icon</iconPath>
		<castSound>Pawn_Mech_Diabolus_Death</castSound>
        <modExtensions>
			<li Class="VFECore.Abilities.AbilityExtension_Stun">
				<stunTicks>15~30</stunTicks>
			</li>
			<li Class="BackpackAbilities.AbilityExtension_ExplosionStats">
				<ExplosionRadius>2.0</ExplosionRadius>
				<ArmorPenetration>1.0</ArmorPenetration>
				<ExplosionDamage>20.0</ExplosionDamage>
				<FireChance>1.0</FireChance>
			</li>
        </modExtensions>
	</VFECore.Abilities.AbilityDef>

	<VFECore.Abilities.AbilityDef>
		<defName>CAT_InfernoJump</defName>
		<label>Comet</label>
		<description>Explosive Jump.</description>
		<abilityClass>BackpackAbilities.Ability_BoomJump</abilityClass>
		<targetCount>2</targetCount>
		<castTime>15</castTime>
		<cooldownTime>240</cooldownTime>
		<range>35</range>
		<needsTicking>true</needsTicking>
		<targetMode>Location</targetMode>
		<iconPath>UI/InfernoJump_Icon</iconPath>
		<castSound>Pawn_Mech_Diabolus_Death</castSound>
		<modExtensions>
			<li Class="VFECore.Abilities.AbilityExtension_Stun">
				<stunTicks>15~30</stunTicks>
			</li>
		</modExtensions>
	</VFECore.Abilities.AbilityDef>

	<ThingDef ParentName="PawnFlyerBase">
		<defName>BackPack_JumpingPawn</defName>
		<thingClass>BackpackAbilities.JumpingPawnWithBoom</thingClass>
		<pawnFlyer>
		<flightDurationMin>0.1</flightDurationMin>
		<flightSpeed>50</flightSpeed>
		</pawnFlyer>
		<modExtensions>
			<li Class="BackpackAbilities.AbilityExtension_ExplosionStats">
				<ExplosionRadius>4.9</ExplosionRadius>
				<ArmorPenetration>1.0</ArmorPenetration>
				<ExplosionDamage>20.0</ExplosionDamage>
				<FireChance>1.0</FireChance>
			</li>
		</modExtensions>
	</ThingDef>

	<!--<ThingDef ParentName="MoteBase">
		<defName>CAT_InfernoWarmUp</defName>
		<thingClass>MoteAttached</thingClass>
		<altitudeLayer>MoteOverhead</altitudeLayer>
		<graphicData>
			<texPath>Things/Mote/HeatDiffusion</texPath>
			<graphicClass>Graphic_MoteWithAgeSecs</graphicClass>
			<shaderType>MoteHellfireCannon_Target</shaderType>
			<color>(1, 0.48, 0.38, 1)
			<shaderParameters>
				<_ScanTex>/Mote/effect_line</_ScanTex>
				<_ScanMask>/Things/Mote/MoteHellfireCannon_Target_Scan_Mask</_ScanMask>
			</shaderParameters>
			<drawSize>(3, 3)</drawSize>
		</graphicData>
		<mote>
		  <fadeInTime>0.15</fadeInTime>
		  <fadeOutTime>0.3</fadeOutTime>
		  <solidTime>999999</solidTime>
		  <needsMaintenance>True</needsMaintenance>
		  <growthRate>0.05</growthRate>
		</mote>
	</ThingDef>-->
</Defs>