How would I do something like that? I tried by just replacing it directly by using the PatchOperationReplace command but it just brings up an error.
Code Select
<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Cooking Expanded</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/RecipeDef[defName="Make_SaltMeat"]</xpath>
<value>
<ingredients>
<li>
<filter>
<categories>
<li>MeatRaw</li>
<li>AnimalProductRaw</li>
</categories>
</filter>
<count>1</count>
</li>
<li>
<filter>
<thingDefs>
<li>MW_Salt</li>
<li>VCE_Salt</li>
</thingDefs>
</filter>
<count>0.25</count>
</li>
</ingredients>
</value>
</li>
</operations>
</match>
</Operation>