RimWorld

RimWorld

PatchOperationModCompatabilityCheck mod
 This topic has been pinned, so it's probably important
Raszagal  [developer] 5 Nov, 2017 @ 6:45am
Patch example
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="ModCompatCheck.PatchOperationModCompatabilityCheck">
<Name>ModCompatCheck Test Patch Single</Name>
<Debug>true</Debug>
<ModName>Core</ModName>
</li>
<li Class="ModCompatCheck.PatchOperationModCompatabilityCheck">
<Name>ModCompatCheck Test Patch List</Name>
<Debug>true</Debug>
<ModList>
<li>Core</li>
<li>Core</li>
</ModList>
</li>
</operations>
</Operation>
</Patch>

Tag explanation:
- Name: the name of this specific operation (useful when debugging the operation) (optional)
- Debug: true or false, this determines wether you will get to see the debug log or not (optional)
- ModName: the name of the mod you want to check for (mutually exclusive with ModList, required if not using ModList)
- ModList: list of names of the mods you want to check for, the names are those which would show up as names when you enable or disable the mods (mutually exclusive with ModName, required if not using ModName)
Last edited by Raszagal; 7 Nov, 2017 @ 11:02am