﻿<?xml version="1.0" encoding="utf-8"?>
<Root>
  <Rule>
    <Condition entity="PLAYER" relation="IS" attribute="NOT_VISIBLE" chain="AND"></Condition>
    <Condition entity="NOISE" relation="IS" attribute="NOT_HEARD"></Condition>
    <Then behavior="IDLE" priority="0" />
  </Rule>

  <Rule>
    <Condition entity="PLAYER" relation="IS" attribute="NOT_VISIBLE" chain="AND"></Condition>
    <Condition entity="NOISE" relation="IS" attribute="HEARD"></Condition>
    <Then behavior="GOTO_SOUND" priority="15" />
  </Rule>

  <Rule>
    <Condition entity="KISMET_GOTO" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_GOTO" priority="16" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_INTERACT" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_INTERACT" priority="16" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_DIALOGUE" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_DIALOGUE" priority="16" />
  </Rule>
   <Rule>
    <Condition entity="KISMET_HOLD_POSITION" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_HOLD_POSITION" priority="16" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_MULTI_DIALOGUE" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_MULTI_DIALOGUE" priority="16" />
  </Rule>

  <Rule>
    <Condition entity="PLAYER" relation="IS" attribute="VISIBLE"></Condition>
    <Then behavior="CIRCLE_PLAYER" priority="20" />
  </Rule>

  <Rule>
    <Condition entity="PLAYER" relation="IS" attribute="VISIBLE" chain="AND"></Condition>
    <Condition entity="LUNGE" relation="IS" attribute="REACHED"></Condition>
    <Then behavior="LUNGE_TARGET" priority="25" />
  </Rule>


  <Rule>
    <Condition entity="PLAYER" relation="IS" attribute="VISIBLE" chain="AND"></Condition>
    <Condition entity="NEAREST_ENEMY_DISTANCE" relation="&lt;" attribute="10000" chain="AND"></Condition>
    <Condition entity="LUNGE" relation="IS" attribute="REACHED"></Condition>
    <Then behavior="DODGE_EVADE" priority="30" />
  </Rule>

  <Rule>
    <Condition entity="PLAYER" relation="IS" attribute="VISIBLE" chain="AND"></Condition>
    <Condition entity="AGGRESIVENESS" relation="&gt;" attribute="0.99"></Condition>
    <Then behavior="LUNGE_TARGET" priority="35" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_GOTO" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_GOTO" priority="40" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_INTERACT" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_INTERACT" priority="40" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_DIALOGUE" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_DIALOGUE" priority="40" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_MULTI_DIALOGUE" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_MULTI_DIALOGUE" priority="40" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_HOLD_POSITION" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_HOLD_POSITION" priority="40" />
  </Rule>

</Root>
