sizedapparel/1.3/Patches/ApparelPatches/VanillaIdeoPatch/IdeoApparelPatch.xml

31 lines
870 B
XML
Raw Normal View History

2022-08-14 20:46:19 +00:00
<?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>