-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPatchTemplate.xml
More file actions
32 lines (32 loc) · 1.12 KB
/
Copy pathPatchTemplate.xml
File metadata and controls
32 lines (32 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8"?>
<Patch>
<Operation Class="PatchOperationSequence" MayRequire="PACKAGE_ID">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="UniWorkbench"]/modExtensions/li[@Class="VEF.Buildings.RecipeInheritanceExtension"]/inheritRecipesFrom</xpath>
<value>
<li>BENCH_DEFNAME</li>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="OmniWorkbench"]/modExtensions/li[@Class="VEF.Buildings.RecipeInheritanceExtension"]/inheritRecipesFrom</xpath>
<value>
<li>BENCH_DEFNAME</li>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="UniWorkbench"]/comps/li[@Class="CompProperties_AffectedByFacilities"]/linkableFacilities</xpath>
<value>
<li>FACILITY_DEFNAME</li>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="OmniWorkbench"]/comps/li[@Class="CompProperties_AffectedByFacilities"]/linkableFacilities</xpath>
<value>
<li>FACILITY_DEFNAME</li>
</value>
</li>
</operations>
</Operation>
</Patch>