Files
FCP-Energy-Weapons/1.6/Defs/WeaponDefs/WeaponDefs_Flame.xml
T
RickGrymes 7bb7385323 Remove recipe/cost/WorkToMake from weapons
Strip in-def manufacturing metadata from multiple weapon definitions: remove <WorkToMake>, <recipeMaker> and <costList> blocks across Flame, Gauss, Laser, Plasma and Pulse weapon defs (making them no longer carry crafting/cost entries). Clean up related formatting/element placement (thingSetMakerTags/statBases/weaponTags). Additionally, adjust the high-end Plasma rifle: mark it smeltable and replace its old recipe block with a full recipe configuration (workSpeedStat, workSkill, effectWorking, soundWorking, recipeUsers, unfinishedThingDef), change the research prerequisite and raise the Crafting requirement. Minor stat/format fixes (MarketValue/Mass alignment) included.
2026-05-17 12:42:20 -05:00

267 lines
11 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!--__________ Energy Weapons __________-->
<!--_____ Flame Weapons _____-->
<!-- Flamer Mk I -->
<ThingDef ParentName="FCP_Machining_Gun_Base">
<defName>FCP_Gun_Flamer_MkI</defName>
<label>Flamer Mk I</label>
<description>The Flamer Mk I is an early-generation incendiary weapon that sprays a stream of burning fuel at close to medium range. Favored by pre-war military forces for clearing trenches and fortifications, it excels at dealing with groups of enemies in confined spaces. Its crude but effective design makes it a terror on the battlefield.</description>
<graphicData>
<texPath>Things/Weapons/Flame/FCP_Flamer_mkI</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>Interact_Autopistol</soundInteract> <thingSetMakerTags>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
<statBases>
<MarketValue>980</MarketValue>
<Mass>5.5</Mass>
<AccuracyTouch>0.90</AccuracyTouch>
<AccuracyShort>0.75</AccuracyShort>
<AccuracyMedium>0.50</AccuracyMedium>
<AccuracyLong>0.30</AccuracyLong>
<RangedWeapon_Cooldown>1.8</RangedWeapon_Cooldown>
</statBases> <weaponTags>
<li>FCP_Energy_Weapon</li>
<li>FCP_Flame_Weapon</li>
</weaponTags>
<weaponClasses>
<li>RangedHeavy</li>
</weaponClasses>
<verbs>
<li>
<label>spray burning fuel</label>
<verbClass MayRequire="Ludeon.RimWorld.Biotech">Verb_SpewFire</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<range>12.9</range>
<warmupTime>1.2</warmupTime>
<ai_AvoidFriendlyFireRadius>3</ai_AvoidFriendlyFireRadius>
<soundCast>Explosion_Flame</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</li>
</verbs>
<tools>
<li>
<label>stock</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>9</power>
<cooldownTime>2</cooldownTime>
</li>
<li>
<label>barrel</label>
<capacities>
<li>Blunt</li>
<li>Poke</li>
</capacities>
<power>9</power>
<cooldownTime>2</cooldownTime>
</li>
</tools>
<comps>
<li MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_Refuelable">
<fuelConsumptionRate>10.0</fuelConsumptionRate>
<fuelCapacity>60.0</fuelCapacity>
<fuelFilter>
<thingDefs>
<li>Chemfuel</li>
</thingDefs>
</fuelFilter>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
</li>
<li Class="FCP.Core.CompProperties_LabelColored">
<rarity>Rare</rarity>
</li>
<li Class="FCP.Core.Backpacks.CompProperties_WeaponBackpack">
<backpackTexPath>Things/Pawn/Backpacks/Flamer_Fuel_Tank/FCP_Flamer_Fuel_Tank</backpackTexPath>
<backpackScale>1.0</backpackScale>
<drawBackOnlyWhenDrafted>false</drawBackOnlyWhenDrafted>
<northOffset>(0, 0.04, -0.10)</northOffset>
<southOffset>(0, -0.04, -0.10)</southOffset>
<eastOffset>(-0.3, 0.04, -0.10)</eastOffset>
</li>
</comps>
</ThingDef>
<!-- Flamer Mk II -->
<ThingDef ParentName="FCP_Machining_Gun_Base">
<defName>FCP_Gun_Flamer_MkII</defName>
<label>Flamer Mk II</label>
<description>An improved version of the original flamer design, the Mk II features enhanced fuel efficiency, greater range, and more consistent flame projection. Popular among pre-war assault teams and post-war scavengers alike, it represents the pinnacle of portable incendiary weapon technology before the war.</description>
<graphicData>
<texPath>Things/Weapons/Flame/FCP_Flamer_mkII</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>Interact_Autopistol</soundInteract> <thingSetMakerTags>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
<statBases>
<MarketValue>1200</MarketValue>
<Mass>5.0</Mass>
<AccuracyTouch>0.92</AccuracyTouch>
<AccuracyShort>0.80</AccuracyShort>
<AccuracyMedium>0.60</AccuracyMedium>
<AccuracyLong>0.35</AccuracyLong>
<RangedWeapon_Cooldown>1.6</RangedWeapon_Cooldown>
</statBases> <weaponTags>
<li>FCP_Energy_Weapon</li>
<li>FCP_Flame_Weapon</li>
</weaponTags>
<weaponClasses>
<li>RangedHeavy</li>
</weaponClasses>
<verbs>
<li>
<label>spray burning fuel</label>
<verbClass MayRequire="Ludeon.RimWorld.Biotech">Verb_SpewFire</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<range>15.9</range>
<warmupTime>1.0</warmupTime>
<ai_AvoidFriendlyFireRadius>3</ai_AvoidFriendlyFireRadius>
<soundCast>Explosion_Flame</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</li>
</verbs>
<tools>
<li>
<label>stock</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>9</power>
<cooldownTime>2</cooldownTime>
</li>
<li>
<label>barrel</label>
<capacities>
<li>Blunt</li>
<li>Poke</li>
</capacities>
<power>9</power>
<cooldownTime>2</cooldownTime>
</li>
</tools>
<comps>
<li MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_Refuelable">
<fuelConsumptionRate>8.0</fuelConsumptionRate>
<fuelCapacity>80.0</fuelCapacity>
<fuelFilter>
<thingDefs>
<li>Chemfuel</li>
</thingDefs>
</fuelFilter>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
</li>
<li Class="FCP.Core.CompProperties_LabelColored">
<rarity>Rare</rarity>
</li>
</comps>
</ThingDef>
<!-- Heavy Incinerator -->
<ThingDef ParentName="FCP_BaseGun">
<defName>FCP_Gun_Heavy_Incinerator</defName>
<useHitPoints>false</useHitPoints>
<label>Heavy Incinerator</label>
<description>The Heavy Incinerator is a unique and devastating pre-war heavy flamethrower issued to elite Enclave Hellfire units. Built with reinforced components and an advanced fuel delivery system, it projects an intense stream of fire over considerable distances. This weapon is both a symbol of terror and a masterpiece of destructive engineering, capable of reducing enemies to ash.</description>
<graphicData>
<texPath>Things/Weapons/Flame/FCP_Heavy_Incinerator</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>Interact_Autopistol</soundInteract>
<thingSetMakerTags>
<li>RewardStandardQualitySuper</li>
</thingSetMakerTags>
<statBases>
<MarketValue>1400</MarketValue>
<Mass>6.5</Mass>
<AccuracyTouch>0.95</AccuracyTouch>
<AccuracyShort>0.85</AccuracyShort>
<AccuracyMedium>0.70</AccuracyMedium>
<AccuracyLong>0.45</AccuracyLong>
<RangedWeapon_Cooldown>1.4</RangedWeapon_Cooldown>
<DeteriorationRate>0</DeteriorationRate>
<Flammability>0</Flammability>
</statBases>
<weaponTags>
<li>FCP_Energy_Weapon</li>
<li>FCP_Flame_Weapon</li>
<li>FCP_Unique_Weapon</li>
</weaponTags>
<weaponClasses>
<li>RangedHeavy</li>
</weaponClasses>
<smeltable>false</smeltable>
<verbs>
<li>
<label>spray burning fuel</label>
<verbClass MayRequire="Ludeon.RimWorld.Biotech">Verb_SpewFire</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<range>18.9</range>
<warmupTime>0.8</warmupTime>
<ai_AvoidFriendlyFireRadius>3</ai_AvoidFriendlyFireRadius>
<soundCast>Explosion_Flame</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</li>
</verbs>
<tools>
<li>
<label>stock</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>11</power>
<cooldownTime>2</cooldownTime>
</li>
<li>
<label>barrel</label>
<capacities>
<li>Blunt</li>
<li>Poke</li>
</capacities>
<power>11</power>
<cooldownTime>2</cooldownTime>
</li>
</tools>
<comps>
<li MayRequire="Ludeon.RimWorld.Biotech" Class="CompProperties_Refuelable">
<fuelConsumptionRate>6.0</fuelConsumptionRate>
<fuelCapacity>100.0</fuelCapacity>
<fuelFilter>
<thingDefs>
<li>Chemfuel</li>
</thingDefs>
</fuelFilter>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
</li>
<li Class="FCP.Core.CompProperties_LabelColored">
<rarity>Unique</rarity>
</li>
</comps>
<modExtensions>
<li Class="FCP.Core.UniqueThingExtension" />
</modExtensions>
</ThingDef>
</Defs>