<?xml version="1.0"?>
<Level>
	<InitWorkersLimit Value="5" />		<!--Максимальное количество возможных рабочих-->
	<IsClockOn Value="true" />

	<!-- инициализация ГГ и рабочего-->
	<Player Name="Player1" /> <!--игрок-->
	<Workers Name="Worker1" Value="1" /> <!--рабочие, их кол-во при старте-->

	<!--главные персонажи на уровне, если указан 0, персонаж берется в процессе игры-->
	<InitPersonages>
		<CharacterTroll1 Value="1" />
		<CharacterWizard1 Value="1" />
	</InitPersonages>

	<!--ресурсы при старте уровня-->
	<InitResources>
		<Materials Value="100" />
		<Gold Value="30" />
		<Stone Value="145" />
		<Food Value="60" />
	</InitResources>

	<Objectives>
		<Stage Time="600" Name="Stage1" BuildingsGroup="SceneGroup1">
			<FirstPhantomObjectivesGroup Tutorial="QuestTutorial1.xml" />
			<ObjectivesGroup>
				<Objective HighlightBuildingTypes="Hut1;Hut2" Type="TypedHistoryActionsCount" Action="Build" BuildingTypes="Hut3" PlaceNames="Place4;Place5;Place9" Value="3" Name="obj_Hut" InfoStr="%L24_Goals_1_1%" />
				<Objective HighlightBuildingTypes="House1" Type="TypedHistoryActionsCount" Action="Build" BuildingTypes="House2" PlaceNames="Place2;Place7;Place8" Value="3" Name="obj_House" InfoStr="%L24_Goals_1_2%" />
			</ObjectivesGroup>
		</Stage>

		<Stage Time="80" WithoutTime="true" Name="Stage2" BuildingsGroup="SceneGroup2">
			<InitResources>
				<Materials Value="10" />
				<Gold Value="10" />
				<Stone Value="0" />
				<Food Value="0" />
			</InitResources>
			<ObjectivesGroup Tutorial="QuestTutorial2.xml">
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestArch" Value="1" Name="obj_Arch" InfoStr="%L24_Goals_2_1%" />
				<Objective CanBeSkipped="true" ObjectsToHide="QuestCoverGrot" Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestCoverGrot" Hidden="true"  Value="1" />
			</ObjectivesGroup>
		</Stage>
	</Objectives>

	<RandomEvents>
		<Event Type="OneTimeBrokenBuildingRequest" PlaceNames="Place3" TimeRange="0;0" /> 	<!--Поломка заданного здания-->
		<Event Type="OneTimeBrokenBuildingRequest" PlaceNames="Place4" TimeRange="0;0" />
		<Event Type="OneTimeBrokenBuildingRequest" PlaceNames="Place10" TimeRange="0;0" />
		<Event Type="OneTimeFireBuildingRequest" PlaceNames="Place2" TimeRange="0;0" />
		<Event Type="OneTimeFireBuildingRequest" PlaceNames="Place7" TimeRange="0;0" />
		<Event Type="OneTimeFireBuildingRequest" PlaceNames="Place8" TimeRange="0;0" />
		<Event Type="OneTimeFireBuildingRequest" PlaceNames="Place9" TimeRange="0;0" />
		<Event Type="OneTimeFireBuildingRequest" PlaceNames="Place5" TimeRange="0;0" />		<!--Пожар заданного здания, поломка уже не прописывается, т.к. он поломан автоматически-->
	</RandomEvents>

</Level>
