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

Direct xpath for faster loading.

parent 6048384a
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
<Patch> <Patch>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "AssaultColony"]/thinkNode/subNodes/li[@Class="JobGiver_AIFightEnemies"]</xpath> <xpath>Defs/DutyDef[defName = "AssaultColony"]/thinkNode/subNodes/li[@Class="JobGiver_AIFightEnemies"]</xpath>
<value> <value>
<li Class="rjw.JobGiver_RapeEnemy" /> <li Class="rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "AssaultColony"]/thinkNode/subNodes/li[@Class="JobGiver_AITrashColonyClose"]</xpath> <xpath>Defs/DutyDef[defName = "AssaultColony"]/thinkNode/subNodes/li[@Class="JobGiver_AITrashColonyClose"]</xpath>
<value> <value>
<li Class="rjw.JobGiver_RapeEnemy"> <li Class="rjw.JobGiver_RapeEnemy">
<targetAcquireRadius>9999</targetAcquireRadius> <targetAcquireRadius>9999</targetAcquireRadius>
...@@ -16,69 +16,69 @@ ...@@ -16,69 +16,69 @@
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "Sapper"]/thinkNode/subNodes/li[@Class="JobGiver_AIFightEnemies"]</xpath> <xpath>Defs/DutyDef[defName = "Sapper"]/thinkNode/subNodes/li[@Class="JobGiver_AIFightEnemies"]</xpath>
<value> <value>
<li Class="rjw.JobGiver_RapeEnemy" /> <li Class="rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "Defend"]/thinkNode/subNodes/li[@Class="ThinkNode_ForbidOutsideFlagRadius"]</xpath> <xpath>Defs/DutyDef[defName = "Defend"]/thinkNode/subNodes/li[@Class="ThinkNode_ForbidOutsideFlagRadius"]</xpath>
<value> <value>
<li Class="rjw.JobGiver_RapeEnemy" /> <li Class="rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "DefendBase"]/thinkNode/subNodes/li[@Class="JobGiver_AIDefendPoint"]</xpath> <xpath>Defs/DutyDef[defName = "DefendBase"]/thinkNode/subNodes/li[@Class="JobGiver_AIDefendPoint"]</xpath>
<value> <value>
<li Class="rjw.JobGiver_RapeEnemy" /> <li Class="rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "HuntEnemiesIndividual"]/thinkNode/subNodes/li[@Class="JobGiver_AIFightEnemies"]</xpath> <xpath>Defs/DutyDef[defName = "HuntEnemiesIndividual"]/thinkNode/subNodes/li[@Class="JobGiver_AIFightEnemies"]</xpath>
<value> <value>
<li Class="rjw.JobGiver_RapeEnemy" /> <li Class="rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "DefendAndExpandHive"]/thinkNode/subNodes/li[@Class="ThinkNode_Tagger"]</xpath> <xpath>Defs/DutyDef[defName = "DefendAndExpandHive"]/thinkNode/subNodes/li[@Class="ThinkNode_Tagger"]</xpath>
<value> <value>
<li Class="rjw.JobGiver_RapeEnemy" /> <li Class="rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "DefendBase"]/thinkNode/subNodes/li[@Class="ThinkNode_ForbidOutsideFlagRadius"]/subNodes/li[@Class="ThinkNode_Subtree"]</xpath> <xpath>Defs/DutyDef[defName = "DefendBase"]/thinkNode/subNodes/li[@Class="ThinkNode_ForbidOutsideFlagRadius"]/subNodes/li[@Class="ThinkNode_Subtree"]</xpath>
<value> <value>
<li Class="rjw.JobGiver_AIRapePrisoner" /> <li Class="rjw.JobGiver_AIRapePrisoner" />
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/ThinkTreeDef[defName="MentalStateNonCritical"]/thinkRoot[@Class="ThinkNode_Tagger"]/subNodes/li[stateClass="MentalState_Manhunter"]/subNodes/li[@Class="ThinkNode_Priority"]/subNodes/li[@Class="JobGiver_Manhunter"]</xpath> <xpath>Defs/ThinkTreeDef[defName="MentalStateNonCritical"]/thinkRoot[@Class="ThinkNode_Tagger"]/subNodes/li[stateClass="MentalState_Manhunter"]/subNodes/li[@Class="ThinkNode_Priority"]/subNodes/li[@Class="JobGiver_Manhunter"]</xpath>
<!--/Defs[1]/ThinkTreeDef[7]/thinkRoot[1]/subNodes[1]/li[7]/subNodes[1]/li[1]/subNodes[1]/li[2]/@Class--> <!--/Defs[1]/ThinkTreeDef[7]/thinkRoot[1]/subNodes[1]/li[7]/subNodes[1]/li[1]/subNodes[1]/li[2]/@Class-->
<value> <value>
<li Class="rjw.JobGiver_RapeEnemy" /> <li Class="rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation> </Operation>
<!--<Operation Class="PatchOperationInsert"> <!--<Operation Class="PatchOperationInsert">
<xpath>*/ThinkTreeDef[defName="MentalStateNonCritical"]/thinkRoot[@Class="ThinkNode_Tagger"]/subNodes/li[state="ManhunterPermanent"]/subNodes/li[@Class="ThinkNode_Priority"]/subNodes/li[@Class="JobGiver_Manhunter"]</xpath> <xpath>Defs/ThinkTreeDef[defName="MentalStateNonCritical"]/thinkRoot[@Class="ThinkNode_Tagger"]/subNodes/li[state="ManhunterPermanent"]/subNodes/li[@Class="ThinkNode_Priority"]/subNodes/li[@Class="JobGiver_Manhunter"]</xpath>
<value> <value>
<li Class="rjw.JobGiver_RapeEnemy" /> <li Class="rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation>--> </Operation>-->
<!--<Operation Class="PatchOperationInsert"> <!--<Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "Sapper"]/thinkNode/subNodes/li[Class="JobGiver_AITrashColonyClose"]</xpath> <xpath>Defs/DutyDef[defName = "Sapper"]/thinkNode/subNodes/li[Class="JobGiver_AITrashColonyClose"]</xpath>
<value> <value>
<li Class=" rjw.JobGiver_RapeEnemy" /> <li Class=" rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "TakeWoundedGuest"]/thinkNode/subNodes/li[0]</xpath> <xpath>Defs/DutyDef[defName = "TakeWoundedGuest"]/thinkNode/subNodes/li[0]</xpath>
<value> <value>
<li Class=" rjw.JobGiver_RapeEnemy" /> <li Class=" rjw.JobGiver_RapeEnemy" />
</value> </value>
</Operation> </Operation>
<Operation Class="PatchOperationInsert"> <Operation Class="PatchOperationInsert">
<xpath>*/DutyDef[defName = "Kidnap"]/thinkNode/subNodes/li[0]</xpath> <xpath>Defs/DutyDef[defName = "Kidnap"]/thinkNode/subNodes/li[0]</xpath>
<value> <value>
<li Class=" rjw.JobGiver_RapeEnemy" /> <li Class=" rjw.JobGiver_RapeEnemy" />
</value> </value>
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<!-- Copied from Vanilla BingingDrug. live selfish till rape someone. tweak if you want add some action. --> <!-- Copied from Vanilla BingingDrug. live selfish till rape someone. tweak if you want add some action. -->
<Operation Class="PatchOperationAdd"> <Operation Class="PatchOperationAdd">
<xpath>*/ThinkTreeDef[defName="MentalStateCritical"]/thinkRoot[@Class="ThinkNode_Tagger"]/subNodes</xpath> <xpath>Defs/ThinkTreeDef[defName="MentalStateCritical"]/thinkRoot[@Class="ThinkNode_Tagger"]/subNodes</xpath>
<value> <value>
<li Class="ThinkNode_ConditionalMentalState"> <li Class="ThinkNode_ConditionalMentalState">
<state>RandomRape</state> <state>RandomRape</state>
......
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