RimWorld

RimWorld

Reasonable Components
NECEROS 11 Oct, 2019 @ 10:23pm
Compatibility patch for Vanilla Furniture Expanded - Production
I love Vanilla expanded series. They have a component specific bench, so I patched this mod to work with it.

Feel free to incorporate it into the mod.

Find and open this file: SteamLibrary\steamapps\workshop\content\294100\1542915888\Patches\CheaperFasterComponentsPatch.xml

Erase the contents of the file and replace it with this:
<?xml version="1.0" encoding="utf-8" ?> <Patch> <Operation Class="PatchOperationReplace"> <xpath>/Defs/RecipeDef[defName = "Make_ComponentIndustrial"]/ingredients</xpath> <value> <ingredients> <li> <filter> <thingDefs> <li>Steel</li> </thingDefs> </filter> <count>10</count> </li> </ingredients> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>/Defs/RecipeDef[defName = "Make_ComponentIndustrial"]/workAmount</xpath> <value> <workAmount>1000</workAmount> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>/Defs/RecipeDef[defName = "Make_ComponentSpacer"]/ingredients</xpath> <value> <ingredients> <li> <filter> <thingDefs> <li>Steel</li> </thingDefs> </filter> <count>15</count> </li> <li> <filter> <thingDefs> <li>Plasteel</li> </thingDefs> </filter> <count>5</count> </li> <li> <filter> <thingDefs> <li>Gold</li> </thingDefs> </filter> <count>0.3</count> </li> </ingredients> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>/Defs/RecipeDef[defName = "Make_ComponentSpacer"]/workAmount</xpath> <value> <workAmount>2000</workAmount> </value> </Operation> <!-- Vanilla Expanded Furniture - Production Patch --> <Operation Class="PatchOperationFindMod"> <mods> <li>Vanilla Furniture Expanded - Production</li> </mods> <match Class="PatchOperationSequence"> <success>Always</success> <operations> <li Class="PatchOperationRemove"> <xpath>Defs/ThingDef[defName="VFE_ComponentFabricationBench"]/recipes</xpath> </li> <li Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="VFE_ComponentFabricationBench"]</xpath> <value> <recipes> <li>Make_ComponentIndustrial</li> <li>Make5Components</li> <li>Make10Components</li> <li>Make25Components</li> <li>Make50Components</li> <li>Make100Components</li> <li>Make_ComponentSpacer</li> <li>Make5AdvComponents</li> <li>Make10AdvComponents</li> <li>Make25AdvComponents</li> </recipes> </value> </li> </operations> </match> </Operation> </Patch>

Even if you remove VFE Production later on, you won't get errors. Enjoy.
< >
Showing 1-2 of 2 comments
Skele₊ 7 Jun, 2020 @ 2:44am 
Has this been implemented yet? :cleandino:
TIIKKETMASTER 23 Dec, 2024 @ 8:26pm 
seconded - 5 years later
< >
Showing 1-2 of 2 comments
Per page: 1530 50