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> <Patch>
<!-- add offset rendersubworker to all pawn render tree defs --> <!-- add offset rendersubworker to all pawn render tree defs -->
<Operation Class="PatchOperationSequence"> <Operation Class="PatchOperationSequence">
<success>Always</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationConditional"> <li Class="PatchOperationAdd">
<xpath>/Defs/PawnRenderTreeDef/root/subworkerClasses</xpath>
<success>Always</success> <success>Always</success>
<nomatch Class="PatchOperationAdd"> <xpath>/Defs/PawnRenderTreeDef/root[not(subworkerClasses)]</xpath>
<xpath>/Defs/PawnRenderTreeDef/root</xpath> <value>
<value> <subworkerClasses/>
<subworkerClasses /> </value>
</value>
</nomatch>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>/Defs/PawnRenderTreeDef/root/subworkerClasses</xpath> <xpath>/Defs/PawnRenderTreeDef/root/subworkerClasses</xpath>
<value> <value>
@ -23,5 +19,4 @@
</li> </li>
</operations> </operations>
</Operation> </Operation>
</Patch> </Patch>