Skip to content

Commit

Permalink
Merge pull request #3116 from SamaelGray/SamaelGray-SquishyParts
Browse files Browse the repository at this point in the history
Modded pawn squishy bodyparts implementation
  • Loading branch information
N7Huntsman authored May 9, 2024
2 parents d82ae0b + 320aabb commit eadce8d
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyPartDef[
defName="AA_PlantVibrationSensor" or
defName="AA_InsectMouth" or
defName="AA_CrocodileJaw" or
defName="AA_SentientPlantMouth" or
defName="AA_VibrationReceptor" or
defName="AA_EcholocationOrgan" or
defName="AA_BoatEye"]/tags</xpath>
<match Class="PatchOperationAdd">
<xpath>Defs/BodyPartDef[
defName="AA_PlantVibrationSensor" or
defName="AA_InsectMouth" or
defName="AA_CrocodileJaw" or
defName="AA_SentientPlantMouth" or
defName="AA_VibrationReceptor" or
defName="AA_EcholocationOrgan" or
defName="AA_BoatEye"]/tags</xpath>
<value>
<li>OutsideSquishy</li>
</value>
</match>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyPartDef[
defName="AA_PlantVibrationSensor" or
defName="AA_InsectMouth" or
defName="AA_CrocodileJaw" or
defName="AA_SentientPlantMouth" or
defName="AA_VibrationReceptor" or
defName="AA_EcholocationOrgan" or
defName="AA_BoatEye"]</xpath>
<value>
<tags>
<li>OutsideSquishy</li>
</tags>
</value>
</nomatch>
</Operation>

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

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyPartDef[defName="VAEWaste_InsectMouth"]/tags</xpath>
<match Class="PatchOperationAdd">
<xpath>Defs/BodyPartDef[defName="VAEWaste_InsectMouth"]/tags</xpath>
<value>
<li>OutsideSquishy</li>
</value>
</match>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyPartDef[defName="VAEWaste_InsectMouth"]</xpath>
<value>
<tags>
<li>OutsideSquishy</li>
</tags>
</value>
</nomatch>
</Operation>

</Patch>

0 comments on commit eadce8d

Please sign in to comment.