Skip to content
Snippets Groups Projects
Commit 8683d183 authored by Zaltys's avatar Zaltys :snake:
Browse files

Direct xpath for faster loading.

parent 169e558a
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<Patch> <Patch>
<!-- Generate a HediffGiver for the dummy hediff, then inject it into the OrganicStandard HediffGiverSet;this replace the inject_sexualizer() in First.cs --> <!-- Generate a HediffGiver for the dummy hediff, then inject it into the OrganicStandard HediffGiverSet;this replace the inject_sexualizer() in First.cs -->
<Operation Class="PatchOperationAdd"> <Operation Class="PatchOperationAdd">
<xpath>*/HediffGiverSetDef[defName = "OrganicStandard" or "OrganicAgeless"]/hediffGivers</xpath> <xpath>Defs/HediffGiverSetDef[defName = "OrganicStandard" or "OrganicAgeless"]/hediffGivers</xpath>
<value> <value>
<li Class="HediffGiver_Birthday"> <li Class="HediffGiver_Birthday">
<hediff>DummyPrivates</hediff> <hediff>DummyPrivates</hediff>
...@@ -31,11 +31,11 @@ ...@@ -31,11 +31,11 @@
<success>Always</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationTest"> <li Class="PatchOperationTest">
<xpath>*/ThingDef[thingClass = "AIPawn.AIPawn"]</xpath> <xpath>Defs/ThingDef[thingClass = "AIPawn.AIPawn"]</xpath>
<success>Invert</success> <success>Invert</success>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>*/ThingDef[thingClass = "AIPawn.AIPawn"]/race</xpath> <xpath>Defs/ThingDef[thingClass = "AIPawn.AIPawn"]/race</xpath>
<value> <value>
<hediffGiverSets> <hediffGiverSets>
<li>DummyPrivatesForModdedPawnsOnBirthday</li> <li>DummyPrivatesForModdedPawnsOnBirthday</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment