sizedapparel/1.3/Patches/ApparelPatches/VanillaIdeoPatch/IdeoApparelPatch.xml
2023-04-03 21:47:48 -04:00

31 lines
No EOL
870 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Ideology</li>
</mods>
<match Class="PatchOperationSequence">
<success>Normal</success>
<operations>
<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName = "Apparel_BodyStrap"]/apparel/tags</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName = "Apparel_BodyStrap"]/apparel</xpath>
<value>
<tags>
<li>SizedApparel_IgnorBreastSize</li>
</tags>
</value>
</nomatch>
<match Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName = "Apparel_BodyStrap"]/apparel/tags</xpath>
<value>
<li>SizedApparel_IgnorBreastSize</li>
</value>
</match>
</li>
</operations>
</match>
</Operation>
</Patch>