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

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

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

  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Напоминаем игроку, что ему следует построить биржу. -->
  <Thread>
    <WaitTime minutes="5" />
    <If condition="NOT IsFlagSet.StockExchangePlaced" >
      <WaitClick text="11.StockExchangeReminder" />
    </If>
  </Thread>

  <Thread>
    <WaitEvent event="BuildingPlaced.StockExchange" />
    <SetFlag flag="StockExchangePlaced" />
  </Thread>

  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Как только игрок построил биржу, рассказываем ему о ней. -->
  <Thread>
    <WaitEvent event="BuildingConstructed.StockExchange" />
    <WaitClick text="11.MakeMoney" />
  </Thread>

</LevelScripts>