Make unique energy weapons indestructible and non-flammable

Added <useHitPoints>false</useHitPoints>, <DeteriorationRate>0</DeteriorationRate>, and <Flammability>0</Flammability> to unique energy weapons in Flame, Gauss, Laser, and Plasma weapon XMLs to prevent them from deteriorating or being destroyed by fire. Also added a missing <MarketValue> to the Laser Pistol. This improves the durability and reliability of rare and prototype energy weapons.
This commit is contained in:
RickGrymes
2025-12-28 01:50:12 -06:00
parent 4f1cce7b30
commit ea21d3b4ea
4 changed files with 903 additions and 878 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8"?>
<Defs> <Defs>
<!--__________ Energy Weapons __________--> <!--__________ Energy Weapons __________-->
@@ -217,6 +217,7 @@
<ThingDef ParentName="BaseGun"> <ThingDef ParentName="BaseGun">
<defName>FCP_Gun_Heavy_Incinerator</defName> <defName>FCP_Gun_Heavy_Incinerator</defName>
<useHitPoints>false</useHitPoints>
<label>Heavy Incinerator</label> <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> <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>
<techLevel>Industrial</techLevel> <techLevel>Industrial</techLevel>
@@ -235,6 +236,8 @@
<AccuracyMedium>0.70</AccuracyMedium> <AccuracyMedium>0.70</AccuracyMedium>
<AccuracyLong>0.45</AccuracyLong> <AccuracyLong>0.45</AccuracyLong>
<RangedWeapon_Cooldown>1.4</RangedWeapon_Cooldown> <RangedWeapon_Cooldown>1.4</RangedWeapon_Cooldown>
<DeteriorationRate>0</DeteriorationRate>
<Flammability>0</Flammability>
</statBases> </statBases>
<weaponTags> <weaponTags>
<li>FCP_Energy_Weapon</li> <li>FCP_Energy_Weapon</li>
+4 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8"?>
<Defs> <Defs>
<!--__________ Energy Weapons __________--> <!--__________ Energy Weapons __________-->
@@ -340,6 +340,7 @@
<ThingDef ParentName="BaseGun"> <ThingDef ParentName="BaseGun">
<defName>FCP_Gun_M72_A2_Gauss_Rifle</defName> <defName>FCP_Gun_M72_A2_Gauss_Rifle</defName>
<useHitPoints>false</useHitPoints>
<label>M72 A2 Gauss Rifle</label> <label>M72 A2 Gauss Rifle</label>
<description>An experimental prototype of the M72 Gauss rifle featuring advanced magnetic coil configuration and enhanced power cell efficiency. The M72 A2 represents the pinnacle of pre-War electromagnetic weapon technology, with improved accuracy and greater armor penetration than its standard counterpart. Only a handful were ever produced before the Great War.</description> <description>An experimental prototype of the M72 Gauss rifle featuring advanced magnetic coil configuration and enhanced power cell efficiency. The M72 A2 represents the pinnacle of pre-War electromagnetic weapon technology, with improved accuracy and greater armor penetration than its standard counterpart. Only a handful were ever produced before the Great War.</description>
<techLevel>Industrial</techLevel> <techLevel>Industrial</techLevel>
@@ -355,6 +356,8 @@
<AccuracyMedium>0.92</AccuracyMedium> <AccuracyMedium>0.92</AccuracyMedium>
<AccuracyLong>0.90</AccuracyLong> <AccuracyLong>0.90</AccuracyLong>
<RangedWeapon_Cooldown>1.4</RangedWeapon_Cooldown> <RangedWeapon_Cooldown>1.4</RangedWeapon_Cooldown>
<DeteriorationRate>0</DeteriorationRate>
<Flammability>0</Flammability>
</statBases> </statBases>
<smeltable>false</smeltable> <smeltable>false</smeltable>
<thingSetMakerTags> <thingSetMakerTags>
+17 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8"?>
<Defs> <Defs>
<!--__________ Energy Weapons __________--> <!--__________ Energy Weapons __________-->
@@ -18,6 +18,7 @@
</graphicData> </graphicData>
<soundInteract>FCP_Sound_Interact_Laser_Pistol</soundInteract> <soundInteract>FCP_Sound_Interact_Laser_Pistol</soundInteract>
<statBases> <statBases>
<MarketValue>1200</MarketValue>
<WorkToMake>45000</WorkToMake> <WorkToMake>45000</WorkToMake>
<Mass>3.6</Mass> <Mass>3.6</Mass>
<AccuracyTouch>0.80</AccuracyTouch> <AccuracyTouch>0.80</AccuracyTouch>
@@ -627,6 +628,7 @@
<ThingDef ParentName="BaseGun"> <ThingDef ParentName="BaseGun">
<defName>FCP_Gun_AER14_Prototype</defName> <defName>FCP_Gun_AER14_Prototype</defName>
<useHitPoints>false</useHitPoints>
<label>AER14 Prototype</label> <label>AER14 Prototype</label>
<description>An experimental variant of the AER laser rifle series, the AER14 prototype features improved focusing crystals and an advanced energy regulator. It delivers greater accuracy and damage than standard laser rifles, though its prototype status makes it rare and expensive to produce.</description> <description>An experimental variant of the AER laser rifle series, the AER14 prototype features improved focusing crystals and an advanced energy regulator. It delivers greater accuracy and damage than standard laser rifles, though its prototype status makes it rare and expensive to produce.</description>
<techLevel>Industrial</techLevel> <techLevel>Industrial</techLevel>
@@ -642,6 +644,8 @@
<AccuracyMedium>0.80</AccuracyMedium> <AccuracyMedium>0.80</AccuracyMedium>
<AccuracyLong>0.75</AccuracyLong> <AccuracyLong>0.75</AccuracyLong>
<RangedWeapon_Cooldown>0.85</RangedWeapon_Cooldown> <RangedWeapon_Cooldown>0.85</RangedWeapon_Cooldown>
<DeteriorationRate>0</DeteriorationRate>
<Flammability>0</Flammability>
</statBases> </statBases>
<smeltable>false</smeltable> <smeltable>false</smeltable>
<thingSetMakerTags> <thingSetMakerTags>
@@ -883,6 +887,7 @@
<ThingDef ParentName="BaseGun"> <ThingDef ParentName="BaseGun">
<defName>FCP_Gun_MF_Hyperbreeder_Alpha</defName> <defName>FCP_Gun_MF_Hyperbreeder_Alpha</defName>
<useHitPoints>false</useHitPoints>
<label>MF Hyperbreeder Alpha</label> <label>MF Hyperbreeder Alpha</label>
<description>An advanced experimental weapon featuring a revolutionary hyperbreeder energy cell that regenerates ammunition at an unprecedented rate. This unique pistol can sustain continuous fire far longer than conventional energy weapons, though each shot is relatively weak. Its futuristic design and exceptional reliability make it a prized possession.</description> <description>An advanced experimental weapon featuring a revolutionary hyperbreeder energy cell that regenerates ammunition at an unprecedented rate. This unique pistol can sustain continuous fire far longer than conventional energy weapons, though each shot is relatively weak. Its futuristic design and exceptional reliability make it a prized possession.</description>
<techLevel>Spacer</techLevel> <techLevel>Spacer</techLevel>
@@ -898,6 +903,8 @@
<AccuracyMedium>0.72</AccuracyMedium> <AccuracyMedium>0.72</AccuracyMedium>
<AccuracyLong>0.65</AccuracyLong> <AccuracyLong>0.65</AccuracyLong>
<RangedWeapon_Cooldown>0.55</RangedWeapon_Cooldown> <RangedWeapon_Cooldown>0.55</RangedWeapon_Cooldown>
<DeteriorationRate>0</DeteriorationRate>
<Flammability>0</Flammability>
</statBases> </statBases>
<smeltable>false</smeltable> <smeltable>false</smeltable>
<thingSetMakerTags> <thingSetMakerTags>
@@ -961,6 +968,7 @@
<ThingDef ParentName="BaseGun"> <ThingDef ParentName="BaseGun">
<defName>FCP_Gun_Pew_Pew</defName> <defName>FCP_Gun_Pew_Pew</defName>
<useHitPoints>false</useHitPoints>
<label>Pew Pew</label> <label>Pew Pew</label>
<description>An unusually styled energy pistol with distinctive blue coloring. Despite its toy-like name and appearance, the Pew Pew delivers surprisingly powerful shots using an advanced energy focusing system. Its unique design makes it a conversation piece as much as a weapon.</description> <description>An unusually styled energy pistol with distinctive blue coloring. Despite its toy-like name and appearance, the Pew Pew delivers surprisingly powerful shots using an advanced energy focusing system. Its unique design makes it a conversation piece as much as a weapon.</description>
<techLevel>Industrial</techLevel> <techLevel>Industrial</techLevel>
@@ -976,6 +984,8 @@
<AccuracyMedium>0.68</AccuracyMedium> <AccuracyMedium>0.68</AccuracyMedium>
<AccuracyLong>0.55</AccuracyLong> <AccuracyLong>0.55</AccuracyLong>
<RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown> <RangedWeapon_Cooldown>1.2</RangedWeapon_Cooldown>
<DeteriorationRate>0</DeteriorationRate>
<Flammability>0</Flammability>
</statBases> </statBases>
<smeltable>false</smeltable> <smeltable>false</smeltable>
<thingSetMakerTags> <thingSetMakerTags>
@@ -1037,6 +1047,7 @@
<ThingDef ParentName="BaseGun"> <ThingDef ParentName="BaseGun">
<defName>FCP_Gun_Sprtel_Wood_9700_Unique</defName> <defName>FCP_Gun_Sprtel_Wood_9700_Unique</defName>
<useHitPoints>false</useHitPoints>
<label>Sprtel-Wood 9700</label> <label>Sprtel-Wood 9700</label>
<description>A civilian laser pistol manufactured by Sprtel-Wood, the 9700 model was marketed as a home defense weapon before the war. While not as powerful as military-grade energy weapons, its reliability and ease of use made it popular among settlers and traders.</description> <description>A civilian laser pistol manufactured by Sprtel-Wood, the 9700 model was marketed as a home defense weapon before the war. While not as powerful as military-grade energy weapons, its reliability and ease of use made it popular among settlers and traders.</description>
<techLevel>Industrial</techLevel> <techLevel>Industrial</techLevel>
@@ -1052,6 +1063,8 @@
<AccuracyMedium>0.58</AccuracyMedium> <AccuracyMedium>0.58</AccuracyMedium>
<AccuracyLong>0.45</AccuracyLong> <AccuracyLong>0.45</AccuracyLong>
<RangedWeapon_Cooldown>1.5</RangedWeapon_Cooldown> <RangedWeapon_Cooldown>1.5</RangedWeapon_Cooldown>
<DeteriorationRate>0</DeteriorationRate>
<Flammability>0</Flammability>
</statBases> </statBases>
<smeltable>false</smeltable> <smeltable>false</smeltable>
<thingSetMakerTags> <thingSetMakerTags>
@@ -1201,6 +1214,7 @@
<ThingDef ParentName="BaseGun"> <ThingDef ParentName="BaseGun">
<defName>FCP_Gun_Wattz_2000_Laser_Rifle</defName> <defName>FCP_Gun_Wattz_2000_Laser_Rifle</defName>
<useHitPoints>false</useHitPoints>
<label>Wattz 2000 Laser Rifle</label> <label>Wattz 2000 Laser Rifle</label>
<description>The rifle variant of Wattz Electronics' laser weapon line, the 2000 model features an extended barrel and improved power cell. While using older technology than modern AER series rifles, the Wattz 2000 remains a capable weapon favored for its durability and ease of maintenance.</description> <description>The rifle variant of Wattz Electronics' laser weapon line, the 2000 model features an extended barrel and improved power cell. While using older technology than modern AER series rifles, the Wattz 2000 remains a capable weapon favored for its durability and ease of maintenance.</description>
<techLevel>Industrial</techLevel> <techLevel>Industrial</techLevel>
@@ -1216,6 +1230,8 @@
<AccuracyMedium>0.72</AccuracyMedium> <AccuracyMedium>0.72</AccuracyMedium>
<AccuracyLong>0.66</AccuracyLong> <AccuracyLong>0.66</AccuracyLong>
<RangedWeapon_Cooldown>0.92</RangedWeapon_Cooldown> <RangedWeapon_Cooldown>0.92</RangedWeapon_Cooldown>
<DeteriorationRate>0</DeteriorationRate>
<Flammability>0</Flammability>
</statBases> </statBases>
<smeltable>false</smeltable> <smeltable>false</smeltable>
<thingSetMakerTags> <thingSetMakerTags>
+4 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8"?>
<Defs> <Defs>
<!--__________ Energy Weapons __________--> <!--__________ Energy Weapons __________-->
@@ -734,6 +734,7 @@
<ThingDef ParentName="BaseGun"> <ThingDef ParentName="BaseGun">
<defName>FCP_Gun_Q35_Matter_Modulator</defName> <defName>FCP_Gun_Q35_Matter_Modulator</defName>
<useHitPoints>false</useHitPoints>
<label>Q-35 Matter Modulator</label> <label>Q-35 Matter Modulator</label>
<description>An incredibly rare prototype plasma weapon developed by REPCONN Aerospace before the Great War. The Q-35 uses experimental matter-energy conversion technology to create exceptionally powerful plasma projectiles with reduced energy consumption. Its distinctive crystalline energy chamber and superior performance make it one of the most sought-after energy weapons in the wasteland.</description> <description>An incredibly rare prototype plasma weapon developed by REPCONN Aerospace before the Great War. The Q-35 uses experimental matter-energy conversion technology to create exceptionally powerful plasma projectiles with reduced energy consumption. Its distinctive crystalline energy chamber and superior performance make it one of the most sought-after energy weapons in the wasteland.</description>
<techLevel>Spacer</techLevel> <techLevel>Spacer</techLevel>
@@ -749,6 +750,8 @@
<AccuracyMedium>0.80</AccuracyMedium> <AccuracyMedium>0.80</AccuracyMedium>
<AccuracyLong>0.70</AccuracyLong> <AccuracyLong>0.70</AccuracyLong>
<RangedWeapon_Cooldown>1.3</RangedWeapon_Cooldown> <RangedWeapon_Cooldown>1.3</RangedWeapon_Cooldown>
<DeteriorationRate>0</DeteriorationRate>
<Flammability>0</Flammability>
</statBases> </statBases>
<smeltable>false</smeltable> <smeltable>false</smeltable>
<thingSetMakerTags> <thingSetMakerTags>