  <?xml version="1.0" ?> 
 <Main>
	  <Common
 	  music= "audio/music/MelancholyTheme.ogg"
	  ambient = "audio/ambient/ship_in.ogg"
  	  f3Id = "loc_5_3a"
	  />

	<Pict name="aaaaa" pos = "0,0" path = "img_5_4/" >

	<Item name="bg" x="0" y="0" />
	<Item name="vine_jug_" x="822" y="598" />
	<Item name="vine_jug" x="819" y="533" />
	<Item name="i_vine_jug" x="495" y="26" />
	<Item name="i_vine_jug_s" x="496" y="68" />
	<Item name="boots_" x="75" y="501" />
	<Item name="boots" x="107" y="508" />
	<Item name="box1_" x="510" y="448" />
	<Item name="box1" x="516" y="444" />
	<Item name="spoon5_" x="941" y="202" />
	<Item name="spoon5" x="936" y="198" />
	<Item name="part_of_wardrobe" x="912" y="213" />
	<Item name="piece_of_bread3" x="388" y="580" />
	<Item name="bunks" x="155" y="284" />
	<Item name="bucket_" x="624" y="523" />
	<Item name="bucket" x="626" y="502" />
	<Item name="iron2_" x="586" y="517" />
	<Item name="iron2" x="581" y="512" />
	<Item name="bench4" x="587" y="498" />
	<Item name="glass4_" x="775" y="543" />
	<Item name="glass4" x="778" y="533" />
	<Item name="mug4_" x="454" y="331" />
	<Item name="mug4" x="463" y="336" />
	<Item name="for_mug4" x="419" y="351" />
	<Item name="clam_" x="705" y="524" />
	<Item name="clam" x="705" y="516" />
	<Item name="table2" x="518" y="466" />
	<Item name="bench2-3" x="511" y="542" />
	<Item name="card5_" x="664" y="490" />
	<Item name="card5" x="663" y="490" />
	<Item name="spoon1_" x="701" y="490" />
	<Item name="spoon1" x="701" y="489" />
	<Item name="belt1_" x="549" y="548" />
	<Item name="belt1" x="555" y="544" />
	<Item name="i_belt" x="31" y="24" />
	<Item name="i_belt_s" x="31" y="54" />
	<Item name="card1_" x="855" y="212" />
	<Item name="card1" x="855" y="207" />
	<Item name="i_card" x="335" y="17" />
	<Item name="i_card_s" x="335" y="57" />
	<Item name="padlock_" x="823" y="307" />
	<Item name="padlock" x="825" y="307" />
	<Item name="i_padlock" x="608" y="35" />
	<Item name="i_padlock_s" x="608" y="65" />
	<Item name="dipper_" x="730" y="238" />
	<Item name="dipper" x="738" y="234" />
	<Item name="old_kettle_" x="220" y="463" />
	<Item name="old_kettle" x="229" y="441" />
	<Item name="book_" x="328" y="467" />
	<Item name="book" x="334" y="465" />
	<Item name="iron_" x="822" y="206" />
	<Item name="iron" x="816" y="211" />
	<Item name="lamp_" x="367" y="316" />
	<Item name="lamp" x="373" y="323" />
	<Item name="table1" x="274" y="473" />
	<Item name="shelf_right" x="657" y="177" />
	<Item name="fish_" x="263" y="583" />
	<Item name="fish" x="282" y="589" />
	<Item name="i_fish" x="661" y="37" />
	<Item name="i_fish_s" x="661" y="57" />
	<Item name="spoon3_" x="320" y="571" />
	<Item name="spoon3" x="319" y="570" />
	<Item name="i_spoon" x="540" y="31" />
	<Item name="i_spoon_s" x="540" y="51" />
	<Item name="hat_" x="665" y="261" />
	<Item name="hat" x="676" y="267" />
	<Item name="wardrobe" x="914" y="212" />
	<Item name="belt2_" x="920" y="222" />
	<Item name="belt2" x="936" y="243" />
	<Item name="trybka1_" x="498" y="499" />
	<Item name="trybka1" x="500" y="499" />
	<Item name="trybka3_" x="371" y="506" />
	<Item name="trybka3" x="373" y="507" />
	<Item name="ashtray_" x="414" y="486" />
	<Item name="ashtray" x="422" y="488" />
	<Item name="barrel2_" x="936" y="595" />
	<Item name="barrel2" x="921" y="486" />
	<Item name="key_" x="693" y="315" />
	<Item name="key" x="690" y="315" />
	<Item name="jug_and_cup" x="382" y="441" />
	<Item name="card6_" x="404" y="480" />
	<Item name="card6" x="394" y="482" />
	<Item name="plate1_" x="415" y="536" />
	<Item name="plate1" x="416" y="527" />
	<Item name="piece_of_fish_" x="448" y="538" />
	<Item name="piece_of_fish" x="449" y="536" />
	<Item name="piece_of_bread1_" x="522" y="518" />
	<Item name="piece_of_bread1" x="526" y="508" />
	<Item name="trybka2_" x="469" y="508" />
	<Item name="trybka2" x="470" y="507" />
	<Item name="breadcrumbs" x="445" y="492" />
	<Item name="breadcrumbs2" x="385" y="500" />
	<Item name="fish1" x="569" y="472" />
	<Item name="bread2_" x="738" y="500" />
	<Item name="bread2" x="738" y="487" />
	<Item name="plate2" x="605" y="472" />
	<Item name="card2" x="327" y="539" />
	<Item name="bottle_" x="325" y="524" />
	<Item name="bottle" x="328" y="489" />
	<Item name="i_bottle" x="872" y="43" />
	<Item name="i_bottle_s" x="872" y="103" />
	<Item name="tc_barrel_" x="0" y="547" />
	<Item name="tc_barrel" x="69" y="537" />
	<Item name="tc_barrel_l" x="42" y="510" />
	<Item name="spoon2_" x="463" y="528" />
	<Item name="spoon2" x="464" y="528" />
	<Item name="stair" x="0" y="29" />
	<Item name="boot2_" x="131" y="475" />
	<Item name="boot2" x="147" y="431" />
	<Item name="mug2_" x="0" y="391" />
	<Item name="mug2" x="-3" y="349" />
	<Item name="mug1" x="847" y="531" />
	<Item name="mug3_" x="643" y="461" />
	<Item name="mug3" x="644" y="463" />
	<Item name="i_mug" x="386" y="22" />
	<Item name="i_mug_s" x="386" y="62" />
	<Item name="glass1_" x="306" y="553" />
	<Item name="glass1" x="310" y="540" />
	<Item name="glass3_" x="556" y="473" />
	<Item name="glass3" x="555" y="461" />
	<Item name="box3_" x="28" y="384" />
	<Item name="box3" x="32" y="346" />
	<Item name="card3" x="55" y="371" />
	<Item name="card4" x="278" y="117" />
	<Item name="barrel4_" x="211" y="160" />
	<Item name="barrel4" x="222" y="136" />
	<Item name="bell_" x="159" y="197" />
	<Item name="bell" x="169" y="184" />
	<Item name="i_bell" x="792" y="49" />
	<Item name="i_bell_s" x="797" y="81" />
	<Item name="rope_" x="513" y="346" />
	<Item name="rope" x="509" y="350" />
	<Item name="i_rope" x="717" y="57" />
	<Item name="i_rope_s" x="717" y="87" />
	<Item name="glass2_" x="366" y="495" />
	<Item name="glass2" x="371" y="473" />
	<Item name="kostj_" x="402" y="535" />
	<Item name="kostj" x="404" y="536" />
	<Item name="i_kostj" x="440" y="29" />
	<Item name="i_kostj_s" x="440" y="59" />
	<Item name="kostj2_" x="531" y="611" />
	<Item name="kostj2" x="533" y="612" />
	<Item name="for_stuff" x="273" y="120" />

	</Pict>

	<StartEvents>
	</StartEvents>

	<Start flag = "f_01"/>

	<Hide path = "img_5_4/" names = "i_card,i_card_s" />
	<Hide path = "img_5_4/" names = "i_vine_jug,i_vine_jug_s" />
	<Hide path = "img_5_4/" names = "i_belt,i_belt_s" />
	<Hide path = "img_5_4/" names = "i_padlock,i_padlock_s" />
	<Hide path = "img_5_4/" names = "i_fish,i_fish_s" />
	<Hide path = "img_5_4/" names = "i_bottle,i_bottle_s" />
	<Hide path = "img_5_4/" names = "i_mug,i_mug_s" />
	<Hide path = "img_5_4/" names = "i_bell,i_bell_s" />
	<Hide path = "img_5_4/" names = "i_rope,i_rope_s" />
	<Hide path = "img_5_4/" names = "i_kostj,i_kostj_s" />
	<Hide path = "img_5_4/" names = "i_spoon,i_spoon_s" />

	<Hide path = "img_5_4/" names = "tc_barrel_l" />
	
	<Ignore path = "img_5_4/" names = "tc_barrel_l" />
	
	<InvItems path = "img_5_4/"  >
		<Item name = "bell" nameInv = "i_bell" nameInvS = "i_bell_s" flag = "f_04"/>
		<Item name = "vine_jug" nameInv = "i_vine_jug" nameInvS = "i_vine_jug_s" flag = "f_15"/>
		<Item name = "bottle" nameInv = "i_bottle" nameInvS = "i_bottle_s" flag = "f_16"/>
		<Item name = "rope" nameInv = "i_rope" nameInvS = "i_rope_s" flag = "f_19"/>
		<Item name = "padlock" nameInv = "i_padlock" nameInvS = "i_padlock_s" flag = "f_22"/>
		<Item name = "fish" nameInv = "i_fish" nameInvS = "i_fish_s" flag = "f_23"/>
		<Item name = "spoon1" nameInv = "i_spoon" nameInvS = "i_spoon_s" flag = "f_02"/>
		<Item name = "spoon3" nameInv = "i_spoon" nameInvS = "i_spoon_s" flag = "f_03"/>
		<Item name = "card1" nameInv = "i_card" nameInvS = "i_card_s" flag = "f_05"/>
		<Item name = "card2" nameInv = "i_card" nameInvS = "i_card_s" flag = "f_06"/>
		<Item name = "card3" nameInv = "i_card" nameInvS = "i_card_s" flag = "f_07"/>
		<Item name = "card4" nameInv = "i_card" nameInvS = "i_card_s" flag = "f_08"/>
		<Item name = "card5" nameInv = "i_card" nameInvS = "i_card_s" flag = "f_09"/>
		<Item name = "card6" nameInv = "i_card" nameInvS = "i_card_s" flag = "f_10"/>
		<Item name = "mug1" nameInv = "i_mug" nameInvS = "i_mug_s" flag = "f_11"/>
		<Item name = "mug2" nameInv = "i_mug" nameInvS = "i_mug_s" flag = "f_12"/>
		<Item name = "mug3" nameInv = "i_mug" nameInvS = "i_mug_s" flag = "f_13"/>
		<Item name = "mug4" nameInv = "i_mug" nameInvS = "i_mug_s" flag = "f_14"/>
		<Item name = "belt1" nameInv = "i_belt" nameInvS = "i_belt_s" flag = "f_20"/>
		<Item name = "belt2" nameInv = "i_belt" nameInvS = "i_belt_s" flag = "f_21"/>
		<Item name = "kostj" nameInv = "i_kostj" nameInvS = "i_kostj_s" flag = "f_17"/>
		<Item name = "kostj2" nameInv = "i_kostj" nameInvS = "i_kostj_s" flag = "f_18"/>
	</InvItems>

	<TColl pict = "img_5_4/tc_barrel" hlpict = "tc_barrel_l"  POPUPMenu = "2dn" MenuPos = "100,530" path = "img_5_4/" act = "0" showflag = "f_202">
		<Item  pos = "290,270"    nameInv = "img_5_4/i_card" />
		<Item  pos = "290,370"    nameInv = "img_5_4/i_kostj" />
		<Item  pos = "290,470"    nameInv = "img_5_4/i_bottle" />
		<Item  pos = "290,570"    nameInv = "img_5_4/i_vine_jug" />
		<Rez  type = "flag" name = "f_203"  />
	</TColl>

	<aEvent flags  = "f_01" type = "psmp"  name  = "sigars_1" pos = "476,495"  loop  = 1/>
	<aEvent flags  = "f_01" type = "psmp"  name  = "sigars_2" pos = "377,505"  loop  = 1/>
	<Event flags  = "f_01" type = "psmp"  name  = "moshki" pos = "520,240"  aloop  = 1/>
	<Event flags  = "f_01" type = "psmp"  name  = "moshki" pos = "640,140"  aloop  = 1/>

	<Event flags  = "f_01" type = "showinfo"  id  = "infoLoc_5_4__01" />
	<Event flags = "f_01" type = "addLogHead"  locName = "loc_5_4" head = "loc_5_4_logHead" pict = "icons/log/ImgLoc_5_4"  />
	<Event flags = "f_01" type = "addLogText"  locName = "loc_5_4" name = "Mary" text = "Msg_5_4__01"  />

	<Event flags  = "f_02,f_03,f_04,f_05,f_06,f_07,f_08,f_09,f_10,f_11,f_12,f_13,f_14,f_15,f_16,f_17,f_18,f_19,f_20,f_21,f_22,f_23" type = "wait" time = "0.5" flag = "R" />
	<Event flags  = "R" type = "actColl" pict = "img_5_4/tc_barrel" />

	<Event flags  = "R" type = "disButts" />
	<Event flags  = "R" type = "showinfo"  id  = "infoLoc_5_4__02" />
	<Event flags  = "R" type = "addLogText"  locName = "loc_5_4" name = "Mary" text = "Msg_5_4__02"  />

	<Event flags  = "f_203" type = "enButts" />
	<Event flags  = "f_203" type = "wait" time = "3.0" flag = "f_23_1" />
	
	<Event flags  = "f_23_1" type = "showinfo"  id  = "infoLoc_5_4__03" />
	<Event flags  = "f_23_1" type = "addLogText"  locName = "loc_5_4" name = "Mary" text = "Msg_5_4__03"  />
	
	
	<Event flags  = "f_24" type = "startGoNextLoc" id =  "loc_5_3a" />
	<Event flags  = "f_24" type = "wait"    time = "0.5" flag = "f_25" />
	<Event flags  = "f_25" type = "finGoNextLoc" />

	<EndLoc>
		<Flags  names = "f_24" />
	</EndLoc>	
	
  </Main>

