Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for Thrumbo Plushie #2916

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading