Skip to content

Commit

Permalink
Patch ABF Utility Synstructs
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Nov 27, 2024
1 parent 9a96c63 commit af3cf98
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 0 deletions.
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<li IfModActive="Killathon.ArtificialBeings.SynCore.Martial">ModPatches/ABF Martial Synstructs</li>
<li IfModActive="Killathon.ArtificialBeings.SynCore.Biomimetics">ModPatches/ABF Synstructs Biomimetics</li>
<li IfModActive="Killathon.ArtificialBeings.SynCore">ModPatches/ABF Synstructs Core</li>
<li IfModActive="Killathon.ArtificialBeings.SynCore.Utility">ModPatches/ABF Utility Synstructs</li>
<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>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/parts/li[def="ABF_BodyPart_Synstruct_Head"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/parts/li[def="ABF_BodyPart_Synstruct_Head"]/parts/li[def="ABF_BodyPart_Synstruct_Vocalizer"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/parts/li[def="ABF_BodyPart_Synstruct_Head"]/parts/li[def="ABF_BodyPart_Synstruct_AudialSensor"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/parts/li[def="ABF_BodyPart_Synstruct_Arm"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/parts/li[def="ABF_BodyPart_Synstruct_Arm"]/parts/li[def="ABF_BodyPart_Synstruct_Hand"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/parts/li[def="ABF_BodyPart_Synstruct_Arm"]/parts/li[def="ABF_BodyPart_Synstruct_Hand"]/parts/li[def="ABF_BodyPart_Synstruct_Finger"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Leg"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Envoy"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Leg"]/parts/li[def="ABF_BodyPart_Synstruct_Foot"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

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

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/parts/li[def="ABF_BodyPart_Synstruct_Head"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/parts/li[def="ABF_BodyPart_Synstruct_Head"]/parts/li[def="ABF_BodyPart_Synstruct_Vocalizer"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/parts/li[def="ABF_BodyPart_Synstruct_Head"]/parts/li[def="ABF_BodyPart_Synstruct_AudialSensor"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/parts/li[def="ABF_BodyPart_Synstruct_Arm"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/parts/li[def="ABF_BodyPart_Synstruct_Arm"]/parts/li[def="ABF_BodyPart_Synstruct_Hand"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/parts/li[def="ABF_BodyPart_Synstruct_Arm"]/parts/li[def="ABF_BodyPart_Synstruct_Hand"]/parts/li[def="ABF_BodyPart_Synstruct_Finger"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Leg"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Grunt"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Leg"]/parts/li[def="ABF_BodyPart_Synstruct_Foot"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

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

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/parts/li[def="ABF_BodyPart_Synstruct_Head"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/parts/li[def="ABF_BodyPart_Synstruct_Head"]/parts/li[def="ABF_BodyPart_Synstruct_Vocalizer"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Neck"]/parts/li[def="ABF_BodyPart_Synstruct_Head"]/parts/li[def="ABF_BodyPart_Synstruct_AudialSensor"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/parts/li[def="ABF_BodyPart_Synstruct_Arm"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/parts/li[def="ABF_BodyPart_Synstruct_Arm"]/parts/li[def="ABF_BodyPart_Synstruct_Hand"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Shoulder"]/parts/li[def="ABF_BodyPart_Synstruct_Arm"]/parts/li[def="ABF_BodyPart_Synstruct_Hand"]/parts/li[def="ABF_BodyPart_Synstruct_Finger"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Leg"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="ABF_Body_Synstruct_Overseer"]/corePart/parts/li[def="ABF_BodyPart_Synstruct_Leg"]/parts/li[def="ABF_BodyPart_Synstruct_Foot"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

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

<!-- Body Shape -->

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/AlienRace.ThingDef_AlienRace[
defName="ABF_Thing_Synstruct_Envoy" or
defName="ABF_Thing_Synstruct_Grunt" or
defName="ABF_Thing_Synstruct_Overseer"
]</xpath>
<value>
<li Class="CombatExtended.RacePropertiesExtensionCE">
<bodyShape>Humanoid</bodyShape>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/AlienRace.ThingDef_AlienRace[
defName="ABF_Thing_Synstruct_Envoy" or
defName="ABF_Thing_Synstruct_Grunt" or
defName="ABF_Thing_Synstruct_Overseer"
]/comps</xpath>
<value>
<li Class="CombatExtended.CompProperties_ArmorDurability">
<Durability>500</Durability>
<Regenerates>true</Regenerates>
<RegenInterval>600</RegenInterval>
<RegenValue>5</RegenValue>
<MinArmorPct>0.5</MinArmorPct><!-- The default minimal armor percentage for all armor kinds. Will be overriden by any below -->
</li>
<li Class="CombatExtended.CompProperties_Suppressable" />
<li>
<compClass>CombatExtended.CompAmmoGiver</compClass>
</li>
</value>
</Operation>

</Patch>

0 comments on commit af3cf98

Please sign in to comment.