Compare commits

..

2 commits

Author SHA1 Message Date
c0ffeeeeeeee
eabb6d731d Merge branch 'master' into 'master'
Edit AnimationPatch_PawnRenderTree_OffsetSubWorker.xml

See merge request c0ffeeeeeeee/rimworld-animations!38
2026-10-12 00:56:20 +00:00
Talos
203d0f9dec Edit AnimationPatch_PawnRenderTree_OffsetSubWorker.xml
The original implementation conflicts with "Exosuit Framework", causing RJW animation offsets for mechanoids and animals to become unadjustable.
Thanks to the Exosuit Framework team for providing a solution.
2025-12-13 13:56:11 +08:00

View file

@ -1,20 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<?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>
<li Class="PatchOperationAdd">
<success>Always</success>
<nomatch Class="PatchOperationAdd">
<xpath>/Defs/PawnRenderTreeDef/root</xpath>
<value>
<subworkerClasses />
</value>
</nomatch>
<xpath>/Defs/PawnRenderTreeDef/root[not(subworkerClasses)]</xpath>
<value>
<subworkerClasses/>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/PawnRenderTreeDef/root/subworkerClasses</xpath>
<value>
@ -23,5 +19,4 @@
</li>
</operations>
</Operation>
</Patch>