rimworld-animations-patch_m.../Patches/CompProperties.xml

65 lines
2 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationConditional">
<xpath>Defs/ThingDef[@Name="BasePawn"]/comps</xpath>
<match Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="BasePawn"]/comps</xpath>
<value>
<li Class="Rimworld_Animations_Patch.CompProperties_PawnSexData" />
</value>
</match>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="BasePawn"]</xpath>
<value>
<comps>
<li Class="Rimworld_Animations_Patch.CompProperties_PawnSexData" />
</comps>
</value>
</nomatch>
</Operation>
<Operation Class="PatchOperationConditional">
<xpath>Defs/AlienRace.ThingDef_AlienRace</xpath>
<match Class="PatchOperationConditional">
<xpath>Defs/AlienRace.ThingDef_AlienRace/comps</xpath>
<match Class="PatchOperationAdd">
<xpath>Defs/AlienRace.ThingDef_AlienRace/comps</xpath>
<value>
<li Class="Rimworld_Animations_Patch.CompProperties_PawnSexData" />
</value>
</match>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/AlienRace.ThingDef_AlienRace</xpath>
<value>
<comps>
<li Class="Rimworld_Animations_Patch.CompProperties_PawnSexData" />
</comps>
</value>
</nomatch>
</match>
</Operation>
<Operation 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>
</Operation>
</Patch>