<?xml version="0.1" encoding="UTF8" ?>
<Goal id="LEVEL_10_GOAL" />
<Effect before="layer5copy" screen="1" particles="./ps/10_water.ps" />
<Effect before="layer5copy" screen="1" particles="./ps/10_dust.ps" />
<Effect before="wall" screen="1" particles="./ps/10_sheel.ps" />
<Effect before="1" screen="1" particles="./ps/10_light.ps" />
<Effect before="1" screen="1" particles="./ps/10_lamp_static.ps" />
<Effect before="1" screen="1" particles="./ps/10_water.ps" />
<!--Effect before="1" screen="1" particles="./ps/10_two_items.ps" /-->
<Object name="lampa">
    <Effects>
        <Idle>
            <Effect name="particle" align="center" path="./ps/10_lamp_anim.ps" y="33" x="-2" />
        </Idle>
    </Effects>
</Object>
<Object name="shoe">
    <Clicker task_name="obuv" />
</Object>
<Object name="shoe01">
    <Clicker task_name="obuv" />
</Object>
<Object name="samolet">
    <Clicker task_name="samolyot_dirijabl" />
</Object>
<Object name="samolet01" shadow="samolet01_shadow">
    <Clicker task_name="samolyot_dirijabl" />
</Object>
<Object name="kreslo">
    <Clicker task_name="kreslo_stul" />
</Object>
<Object name="kreslo01">
    <Clicker task_name="kreslo_stul" />
</Object>
<Object name="weapon">
    <Clicker task_name="rujyo_mech" />
</Object>
<Object name="weapon01" shadow="weapon01_shadow">
    <Clicker task_name="rujyo_mech" />
</Object>
<Object name="pribordlyakureniya">
    <Clicker task_name="pribor_tabak" />
</Object>
<Object name="pribordlyakureniya01">
    <Clicker task_name="pribor_tabak" />
</Object>
<Object name="umivalnik">
    <Clicker task_name="rukomoynik" />
</Object>
<Object name="umivalnik01" shadow="umivalnik01_shadow">
    <Clicker task_name="rukomoynik" />
</Object>
<Object name="vase">
    <Clicker task_name="yomkost_cvety" />
</Object>
<Object name="vase01">
    <Clicker task_name="yomkost_cvety" />
</Object>
<Object name="chainik" shadow="chainik_shadow">
    <Clicker task_name="yomkost_voda" />
</Object>
<Object name="chainik01">
    <Clicker task_name="yomkost_voda" />
</Object>
<Object name="hat">
    <Clicker task_name="golovnoy_ubor" />
</Object>
<Object name="hat01">
    <Clicker task_name="golovnoy_ubor" />
</Object>
<Object name="forwritting">
    <Clicker task_name="pishushie_prinodlejnosty" />
</Object>
<Object name="forwritting01" shadow="forwritting01_shadow">
    <Clicker task_name="pishushie_prinodlejnosty" />
</Object>
<Object name="clock">
    <Clicker task_name="chasy" />
</Object>
<Object name="for_music">
    <Clicker task_name="instrument" />
</Object>
<Object name="for_music01" shadow="for_music01_shadow">
    <Clicker task_name="instrument" />
</Object>
<Object name="observer">
    <Clicker task_name="zvyozdy" />
</Object>
<Object name="observer01" shadow="observer01_shadow">
    <Clicker task_name="zvyozdy" />
</Object>
<Object name="picture">
    <Clicker task_name="izobrajenie" />
</Object>
<Object name="picture01">
    <Clicker task_name="izobrajenie" />
</Object>
<Object name="stuffed_animal" shadow="stuffed_animal_shadow">
    <Clicker task_name="shkurka" />
</Object>
<Object name="stuffed_animal01">
    <Clicker task_name="shkurka" />
</Object>
<Object name="for_prediction">
    <Clicker task_name="gadanie" />
</Object>
<Object name="for_prediction01">
    <Clicker task_name="gadanie" />
</Object>
<Object name="door" initial_flags="door_closed">
    <Highlight type="hand_point_mask" />
    <Layer name="door_open" />
    <Layer name="door_closed" active="1" />
    <Click>
        <Action name="SwitchLayer" cicle="1" />
        <Action condition="door_closed" name="Timer" id="10" time="0.4" />
        <Action name="ChangeFlag">
            <Condition state="door_open" set="door_closed" clear="door_open" />
            <Condition state="door_closed" set="door_open" clear="door_closed" />
        </Action>
    </Click>
    <OnTimer timer_id="10">
        <Action name="zoom" source="630, 370, 250, 280" dest="450, 190, 570, 580" time="1.4" delay="1" sound="zoom_effect" sound_zoom_out="zoom_effect">
            <Click rect="692, 394, 129, 157" path="./ps/zoom_highlight.ps" />
            <Action name="CompleteTask" task="find_shkatulka" />
            <Action name="SubLocation" location="shkatulka" show="1" />
        </Action>
    </OnTimer>
</Object>
<Object name="ulika_shkatulka">
    <Highlight type="hand_point_mask" />
    <Click>
        <Action name="CompleteTask" task="find_ulika" />
        <Action name="Sublocation" location="shkatulka" show="0" />
    </Click>
</Object>
<SubLocation name="shkatulka" type="embedded_ispy">
    <Fade bkg_color="00000080" time="1" />
    <Object name="ulika_shkatulka" />
    <Layer name="shkatulka" />
    <Layer name="ulika_shkatulka" />
</SubLocation>
<Object name="layer10">
    <Click>
        <Action name="CompleteTask" task="find_shkatulka" />
        <Action name="SubLocation" location="shkatulka" show="1" />
    </Click>
</Object>
<Task name="find_shkatulka" object="door" />
<Task name="find_ulika" object="ulika_shkatulka"/>
<Dependency task="find_shkatulka" tasks="samolyot_dirijabl,kreslo_stul,rujyo_mech,pribor_tabak,rukomoynik,yomkost_cvety,yomkost_voda,obuv,golovnoy_ubor,pishushie_prinodlejnosty,chasy,instrument,zvyozdy,izobrajenie,shkurka,gadanie" />
<Dependency task="find_ulika" tasks="find_shkatulka" />
<Interface color="fbe5bdff" />
<Dependency task="obuv" priority="10" />
<Object name="clock_01">
    <Clicker task_name="chasy" />
</Object>

<FinishActions>
    <Action name="Journal" level="8.1"/>
</FinishActions>

<Sounds>
    <Sound id="zoom_effect" path="sounds/zoom_effect.ogg" />   
    <Sound id="object_click" path="sounds/object_click.ogg" />   
</Sounds>

