<?xml version="1.0"?>
<Level>
	<Description Value="%LevelsDesc_5%" />
	<InitWorkersLimit Value="3" />
	<IsClockOn Value="true" />
	<!-- персонажи-->
	<Player Name="Player1" /> <!--игрок-->
	<Workers Name="Worker1" Value="3" /> <!--рабочие-->
	<!--персонажи и рабочие-->
	<InitPersonages>
		<CharacterTroll1 Value="1" />
		<CharacterWizard1 Value="0" />
	</InitPersonages>
	<InitResources>
		<Materials Value="210" />
		<Gold Value="0" />
		<Stone Value="0" />
		<Food Value="52" />
	</InitResources>

	<!--Все рецепты крафта на уровне-->
	<CollectedItem Name="QuestCudgel" Value="1" Time="1000">
		<Item Name="QuestCudgel1" Value="1" />
		<Item Name="QuestCudgel2" Value="1" />
	</CollectedItem>

	<Objectives>
		<Stage Time="260" TimeHeroic="240" Name="Stage1" BuildingsGroup="SceneGroup1">
			<FirstPhantomObjectivesGroup Tutorial="QuestTutorial1.xml" />
			<ObjectivesGroup>
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestFire" Value="1" Name="obj_Fire" InfoStr="%L5_Goals_0_1%" />
			</ObjectivesGroup>

			<ObjectivesGroup>
				<Objective Type="TypedHistoryActionsCount" AppearGroup="Group10" ObjectsToHide="QuestOldMan" Action="Build" PlaceNames="Place4;Place6" BuildingTypes="Hut2" Value="2" Name="obj_Hut" InfoStr="%L5_Goals_0_2%" />
				<Objective AppearGroup="Group15" Type="TypedHistoryActionsCount" Action="Repair" BuildingTypes="Sawmill1" Value="1" Name="obj_Sawmill" InfoStr="%L5_Goals_1_1%" />
			</ObjectivesGroup>

			<ObjectivesGroup>
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestBroom" Value="1" Show="obj_Child" Name="obj_Broom" InfoStr="%L5_Goals_1_2%" />
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestChild" Value="1"  Hidden="true" Name="obj_Child"  InfoStr="%L5_Goals_1_4%" />
			</ObjectivesGroup>

			<ObjectivesGroup>
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestTorch" Value="1" Name="obj_Torch" InfoStr="%L5_Goals_1_4_1%" />
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestOrc" Value="1" Name="obj_Orc" InfoStr="%L5_Goals_1_5%" />
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestHorse" Value="1" Name="obj_Horse" InfoStr="%L5_Goals_1_6%" />
			</ObjectivesGroup>
		</Stage>

		<Stage Time="200" TimeHeroic="180" WithoutTime="true" Name="Stage2" BuildingsGroup="SceneGroup2">
			<CraftGnome Name="CraftGnome" /> <!--имя гнома-крафта на данном стейдже-->

			<ObjectivesGroup CollectedItems="QuestCudgel" Tutorial="QuestTutorial3.xml">
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestGoblin" Value="1" Name="obj_Goblin" InfoStr="%L5_Goals_2_2%" />
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestMagician" Value="1" Name="obj_Magician" InfoStr="%L5_Goals_2_3%" />
			</ObjectivesGroup>

			<ObjectivesGroup Tutorial="QuestTutorial4.xml">
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestTreeOfLife" Value="1" Name="obj_TreeOfLife" InfoStr="%L5_Goals_2_4%" />
				<Objective Type="TypedHistoryActionsCount" Action="Build" PlaceNames="QuestStoneAltar1" Value="1" Name="obj_StoneAltar" InfoStr="%L5_Goals_2_5%" />
			</ObjectivesGroup>
		</Stage>
	</Objectives>

	<RandomEvents>
		<Event Type="OneTimeBrokenBuildingRequest" PlaceNames="Place2" TimeRange="0;0" /> 	<!--Поломка заданного здания-->
		<Event Type="OneTimeBrokenBuildingRequest" PlaceNames="Place4" TimeRange="0;0" />
		<Event Type="OneTimeBrokenBuildingRequest" PlaceNames="Place3" TimeRange="0;0" />
		<Event Type="OneTimeBrokenBuildingRequest" PlaceNames="Place6" TimeRange="0;0" />
	</RandomEvents>
</Level>
