-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2771 from skycrossercat/Development
phynilla Expanded Mech Scyther patch
- Loading branch information
Showing
3 changed files
with
934 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<Operation Class="PatchOperationFindMod"> | ||
<mods> | ||
<li>phynilla Expanded Mechs Scyther</li> | ||
</mods> | ||
<match Class="PatchOperationSequence"> | ||
<operations> | ||
|
||
<!-- ==================== Phynilla Scythers ==================== --> | ||
|
||
<!-- ========== Add groups entry if it doesn't exist already ========== --> | ||
|
||
<li Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</li> | ||
|
||
<li Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalNeck"]/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalNeck"]</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</li> | ||
|
||
<li Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</li> | ||
|
||
<li Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</li> | ||
|
||
<li Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</li> | ||
|
||
<li Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/parts/li[def="MechanicalHand"]/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/parts/li[def="MechanicalHand"]</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</li> | ||
|
||
<li Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalLeg"]/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalLeg"]</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</li> | ||
|
||
<li Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[def="MechanicalFoot"]/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[def="MechanicalFoot"]</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</li> | ||
|
||
<!-- ========== Add armor coverage ========== --> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalNeck"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalNeck"]/parts/li[def="MechanicalHead"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/parts/li[def="MechanicalHand"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/parts/li[def="Blade"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/parts/li[def="MechanicalHand"]/parts/li[def="MechanicalFinger"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalLeg"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[def="MechanicalFoot"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</li> | ||
|
||
<!-- ========== Modify coverage ========== --> | ||
|
||
<li Class="PatchOperationReplace"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/coverage</xpath> | ||
<value> | ||
<coverage>0.15</coverage> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationReplace"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="MechanicalShoulder"]/parts/li[def="MechanicalArm"]/parts/li[def="Blade"]/coverage</xpath> | ||
<value> | ||
<coverage>0.2</coverage> | ||
</value> | ||
</li> | ||
|
||
<li Class="PatchOperationReplace"> | ||
<xpath>Defs/BodyDef[defName="ScytherExpanded"]/corePart/parts/li[def="FluidReprocessor"]/coverage</xpath> | ||
<value> | ||
<coverage>0.05</coverage> | ||
</value> | ||
</li> | ||
|
||
</operations> | ||
</match> | ||
</Operation> | ||
</Patch> |
Oops, something went wrong.