Readded patches for non HAR mods using custom basepawns

This commit is contained in:
Tory 2022-01-17 22:02:58 +00:00
parent c371ca6e1e
commit 52337915c7
3 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[@Name="BaseBaseAutocleaner"]/comps</xpath>
<success>Always</success>
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@Name="BaseBaseAutocleaner"]/comps</xpath>
<value>
<li Class="Rimworld_Animations.CompProperties_BodyAnimator" />
</value>
</match>
</li>
</operations>
</Operation>
</Patch>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[@Name="BasePawnSimple"]/comps</xpath>
<success>Always</success>
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@Name="BasePawnSimple"]/comps</xpath>
<value>
<li Class="Rimworld_Animations.CompProperties_BodyAnimator" />
</value>
</match>
</li>
</operations>
</Operation>
</Patch>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationConditional">
<xpath>/Defs/ThingDef[@Name="BaseZombie"]/comps</xpath>
<success>Always</success>
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[@Name="BaseZombie"]/comps</xpath>
<value>
<li Class="Rimworld_Animations.CompProperties_BodyAnimator" />
</value>
</match>
</li>
</operations>
</Operation>
</Patch>