Skip to content

Commit

Permalink
Merge pull request #2916 from Dev-LyonLee/Development
Browse files Browse the repository at this point in the history
Patch for Thrumbo Plushie
  • Loading branch information
N7Huntsman authored Dec 14, 2023
2 parents b041a18 + 175f1f2 commit f7abc40
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
56 changes: 56 additions & 0 deletions Patches/Thrumbo Plushie/ThrumboPlushie.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Thrumbo Plushie</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

<!-- ========== Thrumbo Plushie ========== -->
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="ThrumboPlushie"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>base</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>1</power>
<cooldownTime>2</cooldownTime>
<armorPenetrationBlunt>0.05</armorPenetrationBlunt>
<linkedBodyPartsGroup>Base</linkedBodyPartsGroup>
</li>
</tools>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="ThrumboPlushie"]/statBases</xpath>
<value>
<Bulk>2</Bulk>
</value>
</li>

<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName="ThrumboPlushie"]/weaponTags</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="ThrumboPlushie"]</xpath>
<value>
<weaponTags />
</value>
</nomatch>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="ThrumboPlushie"]/weaponTags</xpath>
<value>
<li>CE_OneHandedWeapon</li>
</value>
</li>

</operations>
</match>
</Operation>
</Patch>
1 change: 1 addition & 0 deletions SupportedThirdPartyMods.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ The Joris Experience |
The Tuffalo |
Thog's Armor |
Thog's Guns - More Brukka Pack |
Thrumbo Plushie |
Toolmetrics Redux (Continued) |
TouhouStyle |
Trading Economy |
Expand Down

0 comments on commit f7abc40

Please sign in to comment.