RimWorld

RimWorld

Backstories for Vanilla Expanded Factions
TurtleShroom Jul 12, 2023 @ 12:11pm
Bug Reports
Good afternoon.

I am sleepy. I'm not putting much effort into this description. Report your bug reports here.


-TURTLESHROOM
< >
Showing 1-1 of 1 comments
TurtleShroom Jul 12, 2023 @ 12:14pm 
[Backstories for Vanilla Expanded Factions - Start of stack trace] Verse.PatchOperationReplace(xpath="/Defs/PawnKindDef[@Name="VFEM_MedievalPawnKindBase"]/backstoryCategories/li[text()="Tribal"]"): Failed to find a node with the given xpath [End of stack trace] The top operation is the one that failed, the ones below it are the parents Source file: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2413945145\1.4\Patches\Vanilla Factions Expanded - Medieval\PawnKindDefs\PawnKinds_Medieval.xml [Backstories for Vanilla Expanded Factions - Start of stack trace] Verse.PatchOperationReplace(xpath="/Defs/PawnKindDef[defName="VFEM_Subject"]/backstoryCategories/li[text()="Tribal"]"): Failed to find a node with the given xpath [End of stack trace] The top operation is the one that failed, the ones below it are the parents Source file: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2413945145\1.4\Patches\Vanilla Factions Expanded - Medieval\PawnKindDefs\PawnKinds_Player.xml

This is a very simple error. You need to target the "<backstoryCategories>" statement with your Replace command, not its child statement (Tribal) in the List. You also need to add "<success>Always</success>" when you are replacing code, or else "Rimworld" will spaz out and refuse to implement a Patch.
< >
Showing 1-1 of 1 comments
Per page: 1530 50