rimworld-animations-patch_m.../Patches/CompProperties.xml
AbstractConcept 767317773b v2.0.1
Change log v 2.0.1
- Fixed issue with a hand animation calling a missing method
- Fixed errored that was triggering at the end of sex
- Dependency on Humanoid Alien Race is now listed and enforced in the mod load screen
- Made XML patching more robust
2023-02-06 10:15:30 -06:00

65 lines
No EOL
2 KiB
XML

<?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>