RW-IzzyTweaks/1.5/Patches/CBPatch.xml

43 lines
2.1 KiB
XML
Raw Normal View History

2024-08-07 13:02:35 +10:00
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Epochs - Pottery</li>
<li>Epochs - Pottery - Clay digging extension</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/RecipeDef[defName="Make_ClayBricks"]/recipeUsers</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/RecipeDef[defName="Make_ClayBricks"]</xpath>
<value>
<recipeUsers/>
</value>
</li>
</operations>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/RecipeDef[defName="Make_ClayBricks"]/recipeUsers</xpath>
<value>
<li MayRequire="DankPyon.Medieval.Overhaul">DankPyon_StonecuttingSpot</li>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/RecipeDef[defName="Make_ClayBricks"]</xpath>
<value>
<workSpeedStat>MiningSpeed</workSpeedStat>
<workSkill>Mining</workSkill>
<workSkillLearnFactor>0.25</workSkillLearnFactor>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>