Skip to content

Commit

Permalink
Merge pull request #3353 from CombatExtended-Continued/GrenadeSmeltFix
Browse files Browse the repository at this point in the history
Make frag grenades non-smeltable
  • Loading branch information
N7Huntsman authored Aug 18, 2024
2 parents 3915b41 + 5d894d8 commit 50b7828
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Patches/Core/ThingDefs_Misc/Weapons_Grenades.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,19 @@
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Weapon_GrenadeFrag"]/smeltable</xpath>
<value>
<smeltable>false</smeltable>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Weapon_GrenadeFrag"]</xpath>
<value>
<thingClass>CombatExtended.AmmoThing</thingClass>
<stackLimit>75</stackLimit>
<resourceReadoutPriority>First</resourceReadoutPriority>
<resourceReadoutPriority>First</resourceReadoutPriority>
</value>
</Operation>

Expand Down Expand Up @@ -405,7 +412,7 @@
<value>
<thingClass>CombatExtended.AmmoThing</thingClass>
<stackLimit>75</stackLimit>
<resourceReadoutPriority>First</resourceReadoutPriority>
<resourceReadoutPriority>First</resourceReadoutPriority>
</value>
</Operation>

Expand Down

0 comments on commit 50b7828

Please sign in to comment.