RESOLVED Trying to add the Parka recipe to the Crafting Spot

Started by Kaballah, October 21, 2022, 05:08:24 PM

Previous topic - Next topic

Kaballah

I think this is almost right but the game does not agree!

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

<Patch>

   <Operation Class="PatchOperationInsert">
      <xpath>Defs/ThingDef[defName="ApparelMakeableBase"]/Apparel_Parka</xpath>
         <recipeMaker>
            <recipeUsers>
               <li>ElectricTailoringBench</li>
               <li>HandTailoringBench</li>
               <li>CraftingSpot</li>
            </recipeUsers>
         </recipeMaker>
   </Operation>

</Patch>


e: Got help elsewhere, correct format was:

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

<Patch>
   <Operation Class="PatchOperationInsert">
   <xpath>Defs/ThingDef[defName = "Apparel_Parka"]/recipeMaker/displayPriority</xpath>
      <value>
         <recipeUsers>
            <li>ElectricTailoringBench</li>
            <li>HandTailoringBench</li>
            <li>CraftingSpot</li>
         </recipeUsers>
      </value>
   </Operation>
</Patch>