<?xml version="1.0" encoding="windows-1251"?>
<LevelScripts>
  <Script>
    <Action type="ShowSpeechModal" text="Script.12.Intro1" character="WilliamCarrera" mood="happy" leftSide="true" />
    <Action type="ShowSpeechModal" text="Script.12.Intro2" character="WilliamCarrera" leftSide="true" />

    <!--Просим выбрать закладку со ЗДАНИЯМИ-->
    <Action type="SetInputFilter" active="true" inputMask="InputMask.HudPageBuildings" />
    <Action type="ShowArrow" overHudItem="BuildingsTab" untilSwitch="Switch.BuildingsTabActivated" />
    <Action type="ShowSpeechUntilSwitch" text="Script.12.ConstructDealership1" character="Assistant" 
            switch="Switch.BuildingsTabActivated"
            posY="550" />
    <Action type="WaitBuildingsTabActivated" />
    <Action type="SetSwitch" switch="Switch.BuildingsTabActivated" />

    <!--Просим нажать кнопку АВТОЦЕНТР-->
    <Action type="SetInputFilter" active="true" inputMask="InputMask.HudButtonDealership" />
    <Action type="ShowArrow" overHudItem="TabBtn3" untilSwitch="Switch.ShopPlaceStarted" />
    <Action type="ShowSpeechUntilSwitch" text="Script.12.ConstructDealership2" character="Assistant" 
            switch="Switch.ShopPlaceStarted" 
            posY="550"/>
    <Action type="WaitStartPlaceBuilding" building="Dealership" />
    <Action type="SetSwitch" switch="Switch.ShopPlaceStarted" />

    <!--Ждем пока автоцентр будет поставлен на карту-->
    <Action type="SetInputFilter" active="true" inputMask="InputMask.HudButtonDealership+InputMask.Map" mouse2="false" mouse3="false" />
    <Action type="WaitBuildingPlaced" buildingKind="Dealership" />
    <Action type="SetInputFilter" active="false" />
    <Action type="ShowSpeechModal" text="Script.12.ConstructDealership3" character="Assistant" />

    <!--Ждем пока автоцентр достроится-->
    <Action type="WaitBuildingConstructed" buildingKind="Dealership" />
    <Action type="ShowSpeechModal" text="Script.12.Expo" character="WilliamCarrera" mood="happy" leftSide="true" />

    <!--Рассказываем как провести выставку.-->
    <Action type="WaitBuildingSpecialAbilityReady" buildingKind="Dealership" />
    <Action type="ShowSpeechModal" text="Script.12.PressExpoButton" character="Assistant" pauseGame="false" />

    <Action type="WaitBuildingSpecialAbilityActivated" buildingKind="Dealership" />
    <Action type="Wait" duration="8" />
    <Action type="ShowSpeechModal" text="Script.12.ExpoDidVeryWell" character="WilliamCarrera" leftSide="true" />
  </Script>
</LevelScripts>