RimWorld

RimWorld

Rim-Effect: Core
William 22 Jun, 2021 @ 8:03am
Change the rounds layer
Hi, I'm trying to change the Rounds layer, but without success, does anyone have any tips to make it work?

If I use RE_Apparel_SpectreArmor instead of RE_AmmoPiercingBelt, the code works perfectly

code until then:

<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationFindMod">
<!--<success>Always</success> -->
<mods>
<li>Rim-Effect: Core</li>
</mods>

<match Class="PatchOperationSequence">
<operations>


<li Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName="RE_AmmoPiercingBelt"]/apparel/layers</xpath>
<value>
<layers>
<li>OnSkin</li>
</layers>
</value>
</li>

</operations>
</match>

</Operation>

</Patch>