mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
27 lines
875 B
XML
27 lines
875 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Patch>
|
|
<!-- hide node when animating -->
|
|
<Operation Class="PatchOperationSequence">
|
|
<success>Always</success>
|
|
<operations>
|
|
<li Class="PatchOperationConditional">
|
|
<xpath>/Defs/PawnRenderTreeDef[defName="Humanlike"]/root/children/li[debugLabel="Head"]/subworkerClasses</xpath>
|
|
<success>Always</success>
|
|
<nomatch Class="PatchOperationAdd">
|
|
<xpath>/Defs/PawnRenderTreeDef[defName="Humanlike"]/root/children/li[debugLabel="Head"]</xpath>
|
|
<value>
|
|
<subworkerClasses />
|
|
</value>
|
|
</nomatch>
|
|
</li>
|
|
|
|
<li Class="PatchOperationAdd">
|
|
<xpath>/Defs/PawnRenderTreeDef[defName="Humanlike"]/root/children/li[debugLabel="Head"]/subworkerClasses</xpath>
|
|
<value>
|
|
<li>Rimworld_Animations.PawnRenderSubWorker_HideWhenAnimating</li>
|
|
</value>
|
|
</li>
|
|
</operations>
|
|
</Operation>
|
|
|
|
</Patch> |