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

Integrated Implants Patch #3531

Draft
wants to merge 3 commits into
base: Development
Choose a base branch
from
Draft
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
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@
<li IfModActive="jemlpro.Infusion2Expansion">ModPatches/Infused 2 Expansion</li>
<li IfModActive="latta.infusion">ModPatches/Infusion 2</li>
<li IfModActive="SirMashedPotato.InsectsHaveChitin">ModPatches/Insects have chitin</li>
<li IfModActive="lts.I">ModPatches/Integrated Implants</li>
<li IfModActive="EL.IonWeaponry">ModPatches/Ion Weaponry</li>
<li IfModActive="JangoDsoul.CastleWalls,gideon.castlewalls">ModPatches/JDS Castle Walls</li>
<li IfModActive="JangoDsoul.EFT.Apparel">ModPatches/JDS EFT Apparel</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!--Hulkification Bulk-->
<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="HulkificationSurgery"]/stages/li/statOffsets</xpath>
<value>
<CarryBulk>50</CarryBulk>
</value>
</Operation>


<!-- Nerve Shredders-->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="NerveShredderClaw"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>nerve shredder claw</label>
<capacities>
<li>ScratchNerve</li>
</capacities>
<power>15</power>
<cooldownTime>1.66</cooldownTime>
<armorPenetrationSharp>5</armorPenetrationSharp>
<armorPenetrationBlunt>3.25</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
<soundMeleeHit>Pawn_Melee_PowerClaw_Hit</soundMeleeHit>
<soundMeleeMiss>Pawn_Melee_PowerClaw_Miss</soundMeleeMiss>
</li>
</tools>
</value>
</Operation>


<!-- Deadlife Venom-->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="DeadlifeVenomClaw"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>deadlife venom claw</label>
<capacities>
<li>ScratchDeadlife</li>
</capacities>
<power>16</power>
<cooldownTime>1.66</cooldownTime>
<armorPenetrationSharp>5</armorPenetrationSharp>
<armorPenetrationBlunt>3.25</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
<soundMeleeHit>Pawn_Melee_PowerClaw_Hit</soundMeleeHit>
<soundMeleeMiss>Pawn_Melee_PowerClaw_Miss</soundMeleeMiss>
</li>
</tools>
</value>
</Operation>


<!--Stalker Skull-->
<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="StalkerSkull"]/stages/li/statOffsets</xpath>
<value>
<ArmorRating_Sharp>6.25</ArmorRating_Sharp>
<ArmorRating_Blunt>5.75</ArmorRating_Blunt>
<ArmorRating_Heat>0.25</ArmorRating_Heat>
</value>
</Operation>


<Operation Class="PatchOperationRemove">
<xpath>Defs/HediffDef[defName="StalkerSkull"]/comps</xpath>
</Operation>


<!--Ghoul Power Plating-->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="StalkerSkull"]/stages/li/statOffsets/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>12.25</ArmorRating_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="StalkerSkull"]/stages/li/statOffsets/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>15</ArmorRating_Blunt>
</value>
</Operation>





</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!--Mech Grub Tools-->

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="LTS_Mech_Isopod"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>mandible</label>
<capacities>
<li>Cut</li>
<li>Stab</li>
</capacities>
<power>10</power>
<cooldownTime>1.2</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<armorPenetrationSharp>1</armorPenetrationSharp>
<armorPenetrationBlunt>0.25</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
</tools>
</value>
</Operation>

<!--Mechanitor Bionics-->

<!--WarprogrammerInterface-->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="WarprogrammerInterfaceImplant"]/stages</xpath>
<value>
<stages>
<li>
<minSeverity>1</minSeverity>
<statOffsets>
<AimingAccuracy>0.1</AimingAccuracy>
<ShootingAccuracyPawn>0.1</ShootingAccuracyPawn>
<MeleeDodgeChance>0.1</MeleeDodgeChance>
<MeleeCritChance>0.1</MeleeCritChance>
<MeleeParryChance>0.1</MeleeParryChance>
</statOffsets>
</li>
<li>
<minSeverity>2</minSeverity>
<statOffsets>
<AimingAccuracy>0.2</AimingAccuracy>
<ShootingAccuracyPawn>0.2</ShootingAccuracyPawn>
<MeleeDodgeChance>0.2</MeleeDodgeChance>
<MeleeCritChance>0.2</MeleeCritChance>
<MeleeParryChance>0.2</MeleeParryChance>
</statOffsets>
</li>
<li>
<minSeverity>3</minSeverity>
<statOffsets>
<AimingAccuracy>0.3</AimingAccuracy>
<ShootingAccuracyPawn>0.3</ShootingAccuracyPawn>
<MeleeDodgeChance>0.3</MeleeDodgeChance>
<MeleeCritChance>0.3</MeleeCritChance>
<MeleeParryChance>0.3</MeleeParryChance>
</statOffsets>
</li>
</stages>
</value>
</Operation>




<!--Sangophage Bionics-->


<!--Hemo Fangs-->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="HemoFangs"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>hemo-fangs</label>
<capacities>
<li>HemoBite</li>
</capacities>
<power>10</power>
<cooldownTime>2.6</cooldownTime>
<armorPenetrationSharp>0.72</armorPenetrationSharp>
<armorPenetrationBlunt>0.72</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
</tools>
</value>
</Operation>



</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!--Strength Enhancer-->
<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="StrengthEnhancer"]/stages/li/statOffsets</xpath>
<value>
<CarryBulk>25</CarryBulk>
</value>
</Operation>


<!--Subdermal Armour-->

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="LTS_SubdermalArmour"]/stages/li/statOffsets/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>9.6</ArmorRating_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="LTS_SubdermalArmour"]/stages/li/statOffsets/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>8.5</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="LTS_SubdermalArmour"]/stages/li/statOffsets/ArmorRating_Heat</xpath>
<value>
<ArmorRating_Heat>0.5</ArmorRating_Heat>
</value>
</Operation>

<!--Prestiege Subdermal Armour-->
<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="LTS_PrestigeSubdermalArmour"]/stages/li/statOffsets/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>9.6</ArmorRating_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="LTS_PrestigeSubdermalArmour"]/stages/li/statOffsets/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>8.5</ArmorRating_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="LTS_PrestigeSubdermalArmour"]/stages/li/statOffsets/ArmorRating_Heat</xpath>
<value>
<ArmorRating_Heat>0.5</ArmorRating_Heat>
</value>
</Operation>

<!-- Skeletal Bracing-->
<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="SkeletalBracing"]/stages/li/statOffsets</xpath>
<value>
<CarryBulk>25</CarryBulk>
</value>
</Operation>


</Patch>
Loading
Loading