more comps tinkering.

This commit is contained in:
Tory 2022-01-18 19:57:00 +00:00
parent f28ebbe68b
commit 52c8afbe1b

View file

@ -3,32 +3,29 @@
<Operation Class="PatchOperationSequence"> <Operation Class="PatchOperationSequence">
<success>Always</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationConditional"> <li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef/comps</xpath> <success>Always</success>
<success>Always</success> <xpath>Defs/ThingDef[race][not(comps)]</xpath>
<nomatch Class="PatchOperationAdd"> <value>
<xpath>/Defs/ThingDef</xpath> <comps />
<value> </value>
<comps /> </li>
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<success>Always</success> <success>Always</success>
<xpath>Defs/AlienRace.ThingDef_AlienRace[not(comps)]</xpath> <xpath>Defs/AlienRace.ThingDef_AlienRace[not(comps)]</xpath>
<value> <value>
<comps /> <comps />
</value> </value>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@Name="BasePawn"]/comps</xpath> <xpath>Defs/ThingDef[@Name="BasePawn"]/comps</xpath>
<value> <value>
<li Class="Rimworld_Animations.CompProperties_BodyAnimator" /> <li Class="Rimworld_Animations.CompProperties_BodyAnimator" />
</value> </value>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>/Defs/AlienRace.ThingDef_AlienRace/comps</xpath> <xpath>Defs/AlienRace.ThingDef_AlienRace/comps</xpath>
<value> <value>
<li Class="Rimworld_Animations.CompProperties_BodyAnimator" /> <li Class="Rimworld_Animations.CompProperties_BodyAnimator" />
</value> </value>