I've spent several hours for customizing Humanlike ThinkTreeDef with battle-related nodes
when I seams pawns in raid think using HumanlikeConstant tree
I am thinking about:
how to switch Humanlike and HumanlikeConstant trees?
OR maybe is it possible to inject my custom tree into HumanlikeConstant tree (there are no insertTag hook)?
when I seams pawns in raid think using HumanlikeConstant tree
I am thinking about:
how to switch Humanlike and HumanlikeConstant trees?
OR maybe is it possible to inject my custom tree into HumanlikeConstant tree (there are no insertTag hook)?
Code Select
<ThinkTreeDef>
<defName>HumanlikeConstant</defName>
<thinkRoot Class="ThinkNode_Priority">
<subNodes>
<li Class="ThinkNode_ConditionalCanDoConstantThinkTreeJobNow" ListIndex="0">
<subNodes>
<!-- Flee explosion -->
<li Class="JobGiver_FleePotentialExplosion" ListIndex="0" />
<!-- Hostility response -->
<li Class="JobGiver_ConfigurableHostilityResponse" ListIndex="1" />
<!-- Lord directives -->
<li Class="ThinkNode_Subtree" ListIndex="2">
<treeDef>LordDutyConstant</treeDef>
</li>
</subNodes>
</li>
</subNodes>
</thinkRoot>
</ThinkTreeDef>