Hello, I am trying to write a small patch (first time using xml patching).
The patch is supposed to add recipes from the VGP Garden Resources mod to the smelter from the Lord of the Rims mod.
This is what I have:
Everything loads okay, but when I get in the game the smelter does not have the recipes.
Am I missing something obvious?
The patch is supposed to add recipes from the VGP Garden Resources mod to the smelter from the Lord of the Rims mod.
This is what I have:
Code Select
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>*/ThingDef[defName = "LotR_TableSmithy"]</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>*/ThingDef[defName = "LotR_TableSmithy"]/recipes</xpath>
<value>
<li>ExtractRawSteelLeaf</li>
<li>ExtractRawPlasteelLeaf</li>
<li>ExtractRawGoldLeaf</li>
<li>ExtractRawJadeLeaf</li>
<li>ExtractRawSilverLeaf</li>
<li>ExtractRawUraniumLeaf</li>
<li>ExtractBulkSteelLeaf</li>
<li>ExtractBulkPlasteelLeaf</li>
<li>ExtractbulkGoldLeaf</li>
<li>ExtractBulkRawJadeLeaf</li>
<li>ExtractBulkSilverLeaf</li>
<li>ExtractBulkUraniumLeaf</li>
</value>
</li>
</operations>
</Operation>
</Patch>Everything loads okay, but when I get in the game the smelter does not have the recipes.
Am I missing something obvious?