Advertisement
Kaedys

Untitled

Dec 31st, 2022 (edited)
1,853
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.65 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Patch>
  3.     <Operation Class="PatchOperationConditional">
  4.     <xpath>Defs/RecipeDef[defName = "ButcherCorpseFlesh"]/defaultIngredientFilter/specialFiltersToDisallow</xpath>
  5.     <nomatch Class="PatchOperationAdd">
  6.         <xpath>Defs/RecipeDef[defName = "ButcherCorpseFlesh"]/defaultIngredientFilter</xpath>
  7.         <value>
  8.           <specialFiltersToDisallow>
  9.             <li>PossibleToHarvest</li>
  10.             <li>PossibleToHarvestAnimal</li>
  11.           </specialFiltersToDisallow>
  12.         </value>
  13.     </nomatch>
  14.     <match Class="PatchOperationAdd">
  15.         <xpath>Defs/RecipeDef[defName = "ButcherCorpseFlesh"]/defaultIngredientFilter/specialFiltersToDisallow</xpath>
  16.         <value>
  17.           <li>PossibleToHarvest</li>
  18.           <li>PossibleToHarvestAnimal</li>
  19.         </value>
  20.     </match>
  21.     </Operation>
  22.    
  23.     <Operation Class="PatchOperationConditional">
  24.     <xpath>Defs/RecipeDef[defName = "CremateCorpse"]/defaultIngredientFilter/specialFiltersToDisallow</xpath>
  25.     <nomatch Class="PatchOperationAdd">
  26.         <xpath>Defs/RecipeDef[defName = "CremateCorpse"]/defaultIngredientFilter</xpath>
  27.         <value>
  28.           <specialFiltersToDisallow>
  29.             <li>PossibleToHarvest</li>
  30.             <li>PossibleToHarvestAnimal</li>
  31.           </specialFiltersToDisallow>
  32.         </value>
  33.     </nomatch>
  34.     <match Class="PatchOperationAdd">
  35.         <xpath>Defs/RecipeDef[defName = "CremateCorpse"]/defaultIngredientFilter/specialFiltersToDisallow</xpath>
  36.         <value>
  37.           <li>PossibleToHarvest</li>
  38.           <li>PossibleToHarvestAnimal</li>
  39.         </value>
  40.     </match>
  41.     </Operation>
  42. </Patch>
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement