Allow underwhere to render under other stuff

This commit is contained in:
ghostclinic3YTB 2023-04-03 21:59:46 -04:00
parent e4a6191680
commit 2511cf1300
1 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>UnderWhere</li>
</mods>
<match Class="PatchOperationSequence">
<success>Normal</success>
<operations>
<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName = "UnderWhere_Bra"]/apparel/tags</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName = "UnderWhere_Bra"]/apparel</xpath>
<value>
<tags>
<li>SizedApparel_ShowPrivateCrotch</li>
<li>SizedApparel_IgnorBreastSize</li>
</tags>
</value>
</nomatch>
</li>
<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName = "UnderWhere_Chestwrap"]/apparel/tags</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName = "UnderWhere_Chestwrap"]/apparel</xpath>
<value>
<tags>
<li>SizedApparel_ShowPrivateCrotch</li>
<li>SizedApparel_IgnorBreastSize</li>
</tags>
</value>
</nomatch>
</li>
<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName = "UnderWhere_LongJohns"]/apparel/tags</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName = "UnderWhere_LongJohns"]/apparel</xpath>
<value>
<tags>
<li>SizedApparel_IgnorBreastSize</li>
</tags>
</value>
</nomatch>
</li>
<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName = "UnderWhere_LongJohns"]/apparel/tags</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName = "UnderWhere_LongJohns"]/apparel</xpath>
<value>
<tags>
<li>SizedApparel_IgnorBreastSize</li>
</tags>
</value>
</nomatch>
</li>
<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName = "UnderWhere_Tanktop"]/apparel/tags</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName = "UnderWhere_Tanktop"]/apparel</xpath>
<value>
<tags>
<li>SizedApparel_ShowPrivateCrotch</li>
<li>SizedApparel_IgnorBreastSize</li>
</tags>
</value>
</nomatch>
</li>
</operations>
</match>
</Operation>
</Patch>