RW-IzzyTweaks/1.5/Patches/SCPatch.xml
2024-08-07 13:02:35 +10:00

41 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]/recipeMaker</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]</xpath>
<value>
<recipeMaker/>
</value>
</li>
</operations>
</Operation>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]/recipeMaker/recipeUsers</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]/recipeMaker</xpath>
<value>
<recipeUsers/>
</value>
</li>
</operations>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Apparel_Collar"]/recipeMaker/recipeUsers</xpath>
<value>
<li>DankPyon_TailorsBench</li>
<li>DankPyon_Workbench</li>
</value>
</Operation>
</Patch>