Skip to content

Commit

Permalink
Make frag grenades smeltable
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Aug 17, 2024
1 parent d160203 commit 5d894d8
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 5d894d8

Please sign in to comment.