﻿<?xml version="1.0" encoding="utf-8"?>
<Root>
  <Rule>
    <Condition entity="PLAYER" relation="IS" attribute="NOT_VISIBLE"></Condition>
    <Then behavior="IDLE" priority="5" />
  </Rule>

  <Rule>
    <Condition entity="KISMET_GOTO" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_GOTO" priority="14" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_INTERACT" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_INTERACT" priority="16" />
  </Rule>

  <Rule>
    <Condition entity="KISMET_FOLLOW" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_FOLLOW" priority="14" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_DIALOGUE" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_DIALOGUE" priority="14" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_USE_TURRET" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_USE_TURRET" priority="14" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_MULTI_DIALOGUE" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_MULTI_DIALOGUE" priority="14" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_MULTI_DIALOGUE" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_SHOOT_AT" priority="14" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_HOLD_POSITION" relation="IS" attribute="WANTED"></Condition>
    <Then behavior="KY_HOLD_POSITION" priority="14" />
  </Rule>
  <Rule>
    <Condition entity="PLAYER" relation="IS" attribute="VISIBLE" chain="AND"></Condition>
    <Condition entity="SNIPER_NODE" relation="IS" attribute="REACHED"></Condition>
    <Then behavior="SHOOT" priority="15" />
  </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="20" />
  </Rule>
  <Rule>
    <Condition entity="PLAYER" relation="IS" attribute="VISIBLE"></Condition>
    <Then behavior="LUNGE_TARGET" priority="20" />
  </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_FOLLOW" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_FOLLOW" priority="40" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_DIALOGUE" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_DIALOGUE" priority="40" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_USE_TURRET" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_USE_TURRET" 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_MULTI_DIALOGUE" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_SHOOT_AT" priority="40" />
  </Rule>
  <Rule>
    <Condition entity="KISMET_HOLD_POSITION" relation="IS" attribute="NECESSARY"></Condition>
    <Then behavior="KY_HOLD_POSITION" priority="40" />
  </Rule>
</Root>