Create WulaPatch_SearchAndDestroy.xml
This commit is contained in:
23
1.6/1.6/Patches/WulaPatch_SearchAndDestroy.xml
Normal file
23
1.6/1.6/Patches/WulaPatch_SearchAndDestroy.xml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<Patch>
|
||||||
|
<Operation Class="PatchOperationInsert" MayRequire="MemeGoddess.SearchAndDestroy">
|
||||||
|
<xpath>Defs/ThinkTreeDef[defName = "WULA_Humanlike"]/thinkRoot[@Class = "ThinkNode_Priority"]/subNodes/li[@Class="ThinkNode_ConditionalColonist"]</xpath> <!--Priority is important here, hence the insert after this specific subNode-->
|
||||||
|
<value>
|
||||||
|
<!-- Do search and destroy instead of waiting -->
|
||||||
|
<li Class="SearchAndDestroy.ThinkNode_ConditionalSearchAndDestroy">
|
||||||
|
<subNodes>
|
||||||
|
<li Class="ThinkNode_Priority">
|
||||||
|
<subNodes>
|
||||||
|
<!-- <li Class="JobGiver_MoveToStandable"/> -->
|
||||||
|
<li Class="SearchAndDestroy.JobGiver_AIFightEnemiesShortExp">
|
||||||
|
<targetAcquireRadius>200</targetAcquireRadius>
|
||||||
|
<targetKeepRadius>72</targetKeepRadius>
|
||||||
|
</li>
|
||||||
|
<li Class="SearchAndDestroy.JobGiver_GoWithinRangeOfHostile"/>
|
||||||
|
</subNodes>
|
||||||
|
</li>
|
||||||
|
</subNodes>
|
||||||
|
</li>
|
||||||
|
</value>
|
||||||
|
</Operation>
|
||||||
|
</Patch>
|
||||||
Reference in New Issue
Block a user