77 lines
2.2 KiB
XML
77 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Patch>
|
|
<Operation Class="PatchOperationSequence">
|
|
<success>Normal</success>
|
|
<operations>
|
|
|
|
|
|
<li Class="PatchOperationAdd">
|
|
<success>Always</success>
|
|
<xpath>Defs/ThingDef[race][not(comps)]</xpath>
|
|
<value>
|
|
<comps />
|
|
</value>
|
|
</li>
|
|
<li Class="PatchOperationAdd">
|
|
<success>Always</success>
|
|
<xpath>Defs/AlienRace.ThingDef_AlienRace[not(comps)]</xpath>
|
|
<value>
|
|
<comps />
|
|
</value>
|
|
</li>
|
|
|
|
<li Class="PatchOperationAdd">
|
|
<xpath>Defs/ThingDef[@Name="BasePawn"]/comps</xpath>
|
|
<value>
|
|
<li Class="Rimworld_Animations_Patch.CompProperties_PawnSexData" />
|
|
</value>
|
|
</li>
|
|
<li Class="PatchOperationAdd">
|
|
<xpath>Defs/AlienRace.ThingDef_AlienRace/comps</xpath>
|
|
<value>
|
|
<li Class="Rimworld_Animations_Patch.CompProperties_PawnSexData" />
|
|
</value>
|
|
</li>
|
|
|
|
<li Class="PatchOperationConditional">
|
|
<xpath>/Defs/ThingDef[thingClass="Apparel"]/comps</xpath>
|
|
<match Class="PatchOperationAdd">
|
|
<xpath>Defs/ThingDef[thingClass="Apparel"]/comps</xpath>
|
|
<value>
|
|
<li Class="Rimworld_Animations_Patch.CompProperties_ApparelVisibility">
|
|
<compClass>Rimworld_Animations_Patch.CompApparelVisibility</compClass>
|
|
</li>
|
|
</value>
|
|
</match>
|
|
<nomatch Class="PatchOperationAdd">
|
|
<xpath>/Defs/ThingDef[thingClass="Apparel"]</xpath>
|
|
<value>
|
|
<comps>
|
|
<li Class="Rimworld_Animations_Patch.CompProperties_ApparelVisibility">
|
|
<compClass>Rimworld_Animations_Patch.CompApparelVisibility</compClass>
|
|
</li>
|
|
</comps>
|
|
</value>
|
|
</nomatch>
|
|
</li>
|
|
|
|
<!--<li Class="PatchOperationConditional">
|
|
<xpath>/Defs/ThingDef[thingClass="Apparel"]/apparel/bodyPartGroups/Torso</xpath>
|
|
<match Class="PatchOperationInsert">
|
|
<xpath>/Defs/ThingDef[thingClass="Apparel"]/apparel/bodyPartGroups/Torso</xpath>
|
|
<value>
|
|
<li>ChestBPG</li>
|
|
</value>
|
|
</match>
|
|
</li>
|
|
|
|
<li Class="PatchOperationInsert">
|
|
<xpath>/Defs/ThingDef[thingClass="Apparel"]/apparel/bodyPartGroups/Legs</xpath>
|
|
<value>
|
|
<li>GenitalsBPG</li>
|
|
</value>
|
|
</li>-->
|
|
|
|
</operations>
|
|
</Operation>
|
|
</Patch> |