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

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

    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Велкам от второго президента Fay Steiner. -->
    <WaitClick text="10.Intro1" character="FaySteiner" />
    <WaitClick text="10.Intro2" character="FaySteiner" />
  </Thread>

  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Напоминаем игроку, что требуется апгрейд офиса,
  чтобы иметь больше фургонов. -->
  <Thread>
    <WaitCondition condition="NeedOfficeUpgradeToSupplyLandmarkWithVans" />
    <SetFlag flag="WaitingOfficeUpgrade" />
    <WaitTime seconds="30" />
    <If condition="IsFlagSet.WaitingOfficeUpgrade" >
      <UnsetFlag flag="WaitingOfficeUpgrade" />
      <WaitClick text="10.OfficeUpgradeReminder" />
    </If>
  </Thread>

  <Thread>
    <WaitCondition condition="IsFlagSet.WaitingOfficeUpgrade" />
    <WaitEvent event="BuildingUpgradeStarted.Office" />
    <UnsetFlag flag="WaitingOfficeUpgrade" />
  </Thread>

</LevelScripts>