rimworld-animations/1.5/Patches/AnimationPatch_PawnRenderTree_OffsetSubWorker.xml

27 lines
748 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<!-- add offset rendersubworker to all pawn render tree defs -->
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationConditional">
<xpath>/Defs/PawnRenderTreeDef/root/subworkerClasses</xpath>
<success>Always</success>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/PawnRenderTreeDef/root</xpath>
<value>
<subworkerClasses />
</value>
</nomatch>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/PawnRenderTreeDef/root/subworkerClasses</xpath>
<value>
<li>Rimworld_Animations.PawnRenderSubWorker_ChangeOffset</li>
</value>
</li>
</operations>
</Operation>
</Patch>