Skip to content

Commit

Permalink
Merge pull request #3497 from SaltyKarl/Epoe_update
Browse files Browse the repository at this point in the history
Epoe and forked patch NV update
  • Loading branch information
N7Huntsman authored Oct 22, 2024
2 parents 6ee2e76 + 0027bfb commit 4462150
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
65 changes: 65 additions & 0 deletions ModPatches/EPOE Forked/Patches/EPOE Forked/Bionics_Patch.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="AdvancedBionicEye"]/statBases</xpath>
<value>
<NightVisionEfficiency_Implant>0.4</NightVisionEfficiency_Implant>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="AdvancedBionicEye"]</xpath>
<value>
<stages>
<li>
<statOffsets>
<NightVisionEfficiency_Implant>0.4</NightVisionEfficiency_Implant>
</statOffsets>
</li>
</stages>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/HediffDef[defName="EPOE_ScytherBlade"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath>
<value>
Expand Down Expand Up @@ -147,6 +167,44 @@
</value>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName="TacticalCorneaImplant"]/thingClass</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="TacticalCorneaImplant"]</xpath>
<value>
<thingClass>ThingWithComps</thingClass>
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="TacticalCorneaImplant"]/statBases</xpath>
<value>
<NightVisionEfficiency_Implant>0.4</NightVisionEfficiency_Implant>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="TacticalCorneaImplant"]/stages/li/statOffsets</xpath>
<value>
<NightVisionEfficiency_Implant>0.4</NightVisionEfficiency_Implant>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="EPIA_TacticalBionicEye"]/statBases</xpath>
<value>
<NightVisionEfficiency_Implant>0.4</NightVisionEfficiency_Implant>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="EPIA_TacticalBionicEye"]/stages/li/statOffsets</xpath>
<value>
<NightVisionEfficiency_Implant>0.3</NightVisionEfficiency_Implant>
</value>
</Operation>

<!-- Auxiliary AI (Sharpshooter) -->

<Operation Class="PatchOperationRemove">
Expand Down Expand Up @@ -281,6 +339,13 @@
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="EPOE_InstinctOptimizedEyes"]/stages/li[minSeverity="0.99"]/statOffsets</xpath>
<value>
<NightVisionEfficiency_Implant>0.3</NightVisionEfficiency_Implant>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="EPOE_InstinctOptimizedHand"]/stages/li[label="Optimizing"]/statOffsets</xpath>
<value>
Expand Down
46 changes: 46 additions & 0 deletions ModPatches/EPOE/Patches/EPOE/Bionics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,50 @@
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="AdvancedBionicEye"]/statBases</xpath>
<value>
<NightVisionEfficiency_Implant>0.4</NightVisionEfficiency_Implant>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="AdvancedBionicEye"]</xpath>
<value>
<stages>
<li>
<statOffsets>
<NightVisionEfficiency_Implant>0.4</NightVisionEfficiency_Implant>
</statOffsets>
</li>
</stages>
</value>
</Operation>

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

<Operation Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName="TacticalCorneaImplant"]/thingClass</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="TacticalCorneaImplant"]</xpath>
<value>
<thingClass>ThingWithComps</thingClass>
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="TacticalCorneaImplant"]/statBases</xpath>
<value>
<NightVisionEfficiency_Implant>0.3</NightVisionEfficiency_Implant>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffDef[defName="TacticalCorneaImplant"]/stages/li/statOffsets</xpath>
<value>
<NightVisionEfficiency_Implant>0.3</NightVisionEfficiency_Implant>
</value>
</Operation>

</Patch>

0 comments on commit 4462150

Please sign in to comment.