rimworld-animations/1.5/Patches/OffsetDefPatchTemplate/AnimationPatch_OffsetDef.xml
2024-05-16 07:23:08 -07:00

32 lines
No EOL
796 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<!--
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationRemove">
<success>Always</success>
<xpath>Defs/OffsetDef[defName="OffsetDefNameHere"]/offsets/li[@races/li="YourAlienRace"]</xpath>
</li>
<li Class="PatchOperationAdd">
<success>Always</success>
<xpath>Defs/OffsetDef[defName="OffsetDefNameHere"]/offsets</xpath>
<value>
<li Class="Rimworld_Animations.AnimationOffset_BodyType">
<races>
<li>YourAlienRace</li>
</races>
<offsets>
<li>
<bodyType>Thin</bodyType>
<offset>(0, 0, 0)</offset>
</li>
</offsets>
</li>
</value>
</li>
</operations>
</Operation>
-->
</Patch>