<Patch>
<Operation Class="PatchOperationAdd">
    <xpath>Defs/ThinkTreeDef[defName="MentalStateCritical"]/thinkRoot/subNodes</xpath>
    <value>
    <li Class="ThinkNode_ConditionalMentalState">
          <state>FCP_MentalState_PermanentBerserk</state>
          <subNodes>
            <li Class="ThinkNode_Priority">
              <subNodes>
                <li Class="JobGiver_Berserk" />
                <li Class="JobGiver_WanderAnywhere">
                  <maxDanger>Deadly</maxDanger>
                </li>
                </subNodes>
            </li>
          </subNodes>
        </li>
    </value>
</Operation>
</Patch>