Skip to content

Commit

Permalink
Merge pull request #3196 from CombatExtended-Continued/Patches-ADogSaid2
Browse files Browse the repository at this point in the history
Patches - A Dog Said... Animal Prosthetics 2
  • Loading branch information
N7Huntsman authored Jun 21, 2024
2 parents a29aecf + 70e5812 commit ace7f7c
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 0 deletions.
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<li IfModActive="ADE.AdvancedTurretsA.copy.Mod">ModPatches/ADE Advanced turrets PLUS</li>
<li IfModActive="ADE.pulseTurrets.Mod">ModPatches/ADE Pulse Turrets PLUS</li>
<li IfModActive="spoonshortage.ADogSaidAnimalProsthetics">ModPatches/ADogSaid</li>
<li IfModActive="SamBucher.ADogSaidAnimalProsthetics2">ModPatches/ADogSaid2</li>
<li IfModActive="Ravvy.AMW">ModPatches/Advanced Mechanoid Warfare</li>
<li IfModActive="Mlie.AdvancedMortar">ModPatches/Advanced Mortar</li>
<li IfModActive="EV.all.tech.melee">ModPatches/All-Tech Melee</li>
Expand Down
112 changes: 112 additions & 0 deletions ModPatches/ADogSaid2/Patches/ADogSaid2/Bionics.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- ======= Simple prosthetics ======= -->

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="SimpleProstheticLegAnimal"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>prosthetic animal leg</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>8</power>
<armorPenetrationBlunt>0.6</armorPenetrationBlunt>
<armorPenetrationSharp>0.15</armorPenetrationSharp>
<cooldownTime>1.8</cooldownTime>
</li>
</tools>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="SimpleProstheticArmAnimal"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>prosthetic animal arm</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>6</power>
<armorPenetrationBlunt>0.4</armorPenetrationBlunt>
<armorPenetrationSharp>0.1</armorPenetrationSharp>
<cooldownTime>1.8</cooldownTime>
</li>
</tools>
</value>
</Operation>

<!-- ======= Bionics ======= -->

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="BionicLegAnimal"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>bionic animal leg</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>20</power>
<armorPenetrationBlunt>2.5</armorPenetrationBlunt>
<armorPenetrationSharp>0.5</armorPenetrationSharp>
<cooldownTime>1.4</cooldownTime>
<soundMeleeHit>MeleeHit_BionicPunch</soundMeleeHit>
<soundMeleeMiss>MeleeMiss_BionicPunch</soundMeleeMiss>
</li>
</tools>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="BionicArmAnimal"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>bionic animal arm</label>
<capacities>
<li>Scratch</li>
</capacities>
<power>15</power>
<armorPenetrationBlunt>2.0</armorPenetrationBlunt>
<armorPenetrationSharp>0.4</armorPenetrationSharp>
<cooldownTime>1.4</cooldownTime>
<soundMeleeHit>MeleeHit_BionicPunch</soundMeleeHit>
<soundMeleeMiss>MeleeMiss_BionicPunch</soundMeleeMiss>
</li>
</tools>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="BionicTailAnimal"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>bionic animal tail</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>18</power>
<armorPenetrationBlunt>3.0</armorPenetrationBlunt>
<cooldownTime>1.8</cooldownTime>
<soundMeleeHit>MeleeHit_BionicPunch</soundMeleeHit>
<soundMeleeMiss>MeleeMiss_BionicPunch</soundMeleeMiss>
<chanceFactor>0.3</chanceFactor>
<surpriseAttack>
<extraMeleeDamages>
<li>
<def>Stun</def>
<amount>20</amount>
</li>
</extraMeleeDamages>
</surpriseAttack>
</li>
</tools>
</value>
</Operation>

</Patch>
1 change: 1 addition & 0 deletions SupportedThirdPartyMods.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Mod |
ↁ Elves |
ↁ House Sanguin |
A Dog Said... |
A Dog Said... Animal Prosthetics 2 |
ADE Advanced Turrets |
ADE Advanced Turrets + |
Advanced Mortar (Continued) |
Expand Down

0 comments on commit ace7f7c

Please sign in to comment.