RimWorld

RimWorld

Expanded Materials - Metals (old version)
Fisherman_56 18 Jun, 2022 @ 3:37am
Revision of patch with Expanded Woodworking (and Forked).
From what it seems, while ExMM has a compatibility patch with Expanded Woodworking (which isn't updated to 1.3 yet), it's not loading with Expanded Woodworking (Forked). Further, you seem to forget to patch for bulk crafting of charcoal.

I propose next:
<Patch> <Operation Class="PatchOperationFindMod"> <mods> <li>Expanded Woodworking</li> <li>Expanded Woodworking (Forked)</li> </mods> <match Class="PatchOperationSequence"> <success>Always</success> <operations> <li Class="PatchOperationReplace"> <xpath>/Defs/RecipeDef [defName = "VMEu_MakeCharcoal"]/ingredients</xpath> <value> <ingredients> <li> <filter> <categories> <li>WoodTypes</li> </categories> </filter> <count>30</count> </li> </ingredients> </value> </li> <li Class="PatchOperationReplace"> <xpath>/Defs/RecipeDef [defName = "VMEu_MakeCharcoal_Bulk"]/ingredients</xpath> <value> <ingredients> <li> <filter> <categories> <li>WoodTypes</li> </categories> </filter> <count>120</count> </li> </ingredients> </value> </li> <li Class="PatchOperationReplace"> <xpath>/Defs/RecipeDef [defName = "VMEu_MakeCharcoal" or defName = "VMEu_MakeCharcoal_Bulk"]/fixedIngredientFilter</xpath> <value> <fixedIngredientFilter> <categories> <li>WoodTypes</li> </categories> </fixedIngredientFilter> </value> </li> </operations> </match> </Operation> </Patch>

I hope it will help other players that use multiple mods with ExMM as well.
Last edited by Fisherman_56; 18 Jun, 2022 @ 6:21am