This commit is contained in:
Tory 2022-10-28 03:18:58 -07:00
parent 23e240f1c5
commit 3491dbeace
3 changed files with 15 additions and 8 deletions

View file

@ -6,12 +6,9 @@
<!-- - If every clothing item on that list has a revealingPath entry matching both the <path> defined for the bodyAddon and our pawn's bodytpe, the bodyAddon gets drawn -->
<!-- - This should work for any type of bodyaddon, e.g. tails too. -->
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Armour Expanded</li>
</mods>
<Operation Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName="VAE_Apparel_BulletproofVest"]</xpath>
<match Class="PatchOperationSequence">
<success>Normal</success>
<operations>
<li Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="VAE_Apparel_BulletproofVest"]</xpath>
@ -103,7 +100,7 @@
</value>
</li>
<li Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="VAE_Apparel_WoodenArmor"]</xpath>
<xpath>Defs/ThingDef[defName="VAE_Apparel_AdvancedVest"]</xpath>
<value>
<li Class="RevealingApparel.ApparelRevealingExtension">
<revealingBodyPartEntries>
@ -171,8 +168,15 @@
</li>
</value>
</li>
</operations>
</match>
</Operation>
<Operation Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName="VAE_Apparel_WoodenArmor"]</xpath>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="VAE_Apparel_AdvancedVest"]</xpath>
<xpath>Defs/ThingDef[defName="VAE_Apparel_WoodenArmor"]</xpath>
<value>
<li Class="RevealingApparel.ApparelRevealingExtension">
<revealingBodyPartEntries>