<?xml version="1.0" encoding="windows-1251"?>
<LevelScripts>

  <!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  ИНИЦИАЛИЗАЦИЯ И ВВЕДЕНИЕ -->
  <Thread>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Устанавливаем особенную финальную речь. -->
    <SetLevelVar var="GoalsCompletedSpeechCharacter" value="GilbertDavis" />
    <SetLevelVar var="GoalsCompletedSpeechText" value="12.Done" />

    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Велкам от третьего президента Gilbert Davis. -->
    <WaitClick text="12.Intro1" character="GilbertDavis" />

    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Объясняем как строить хайвей. -->
    <WaitClick text="12.Highway" />

    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Ждём когда игрок построит хайвей и поздравляем. -->
    <WaitCondition condition="IsGoalCompleted.Highway" />
    <WaitClick text="12.HighwayConstructed" />
  </Thread>

  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Напоминаем о необходимости достроить хайвей. -->
  <Thread>
    <WaitTime minutes="2" />
    <If condition="NOT IsGoalCompleted.Highway" >
      <WaitClick text="12.HighwayReminder" />
    </If>
  </Thread>

</LevelScripts>