RimWorld

RimWorld

Vanilla Factions Expanded - Empire
Patch to Fix Hathr Compatibility
Originally posted by TurtleShroom:
I theorize that this is a conflict between your Mod and the Hathr Mod, as shown here:
https://www.steamcommunity.com/sharedfiles/filedetails/?id=2891047264

The Hathr Mod adds two titles to the Empire: Seer and Awakened. I suspect that this breaks the Great Hierarchy's generation.

Perhaps you could write a Patch or something to incorporate these? I already notified the gentleman behind the Hathr Mod of the same problem.

Through my tests, I have confirmed my suspicion and have written a Patch to make your Mod compatible with the Hathr Mod.

<?xml version="1.0" encoding="utf-8" ?> <Patch> <Operation Class="PatchOperationConditional"> <!-- DO THE GENTILES KNOW? --> <xpath>/Defs/RoyalTitleDef[defName="HathrAcolyte"]</xpath> <!-- If they do, SHUT IT DOWN. --> <match Class="PatchOperationRemove"> <success>Always</success> <xpath>Defs/RoyalTitleDef[defName="HathrAcolyte]</xpath> </match> <!-- If the first XPATH does not exist, the original code stands. All according to plan. --> </Operation> <Operation Class="PatchOperationConditional"> <!-- DO THE GENTILES KNOW? --> <xpath>/Defs/RoyalTitleDef[defName="HathrSeer"]</xpath> <!-- If they do, SHUT IT DOWN. --> <match Class="PatchOperationRemove"> <success>Always</success> <xpath>Defs/RoyalTitleDef[defName="HathrSeer]</xpath> </match> <!-- If the first XPATH does not exist, the original code stands. All according to plan. --> </Operation> <Operation Class="PatchOperationConditional"> <!-- Does this exist? --> <xpath>/Defs/PawnKindDef[defName="HathrPsychic"]</xpath> <!-- If it does, do this replacement. --> <match Class="PatchOperationReplace"> <success>Always</success> <xpath>Defs/PawnKindDef[defName="HathrPsychic"]/titleRequired</xpath> <value> <titleRequired>Knight</titleRequired> </value> </match> <!-- If the first XPATH does not exist, the original code stands. All according to plan. --> </Operation> <Operation Class="PatchOperationConditional"> <!-- Does this exist? --> <xpath>/Defs/PawnKindDef[defName="HathrPlayer"]</xpath> <!-- If it does, do this replacement. --> <match Class="PatchOperationReplace"> <success>Always</success> <xpath>Defs/PawnKindDef[defName="HathrPlayer"]/titleRequired</xpath> <value> <titleRequired>Acolyte</titleRequired> </value> </match> <!-- If the first XPATH does not exist, the original code stands. All according to plan. --> </Operation> </Patch>

You do not need to credit me. Helping your great Mod is a reward enough.


-TURTLESHROOM
< >
Showing 1-3 of 3 comments
Oskar Potocki  [developer] 4 Apr, 2023 @ 10:25am 
We will not be adding that patch on our end, sorry.
TurtleShroom 4 Apr, 2023 @ 2:16pm 
Originally posted by Oskar Potocki:
We will not be adding that patch on our end, sorry.

Why? Is it broken? Would it damage your Mod?
Last edited by TurtleShroom; 4 Apr, 2023 @ 2:17pm
legodude17  [developer] 4 Apr, 2023 @ 2:39pm 
Originally posted by TurtleShroom:
Originally posted by Oskar Potocki:
We will not be adding that patch on our end, sorry.

Why? Is it broken? Would it damage your Mod?
A) The mod it is patching is marked as obsolete and abandoned by the author.
B) We try to limit integrated compatibility patches to large mods, or where it would be infeasible to patch from the other end.
< >
Showing 1-3 of 3 comments
Per page: 1530 50