<?xml version="0.1" encoding="UTF8" ?>
<Goal id="LEVEL_DIV1_GOAL" />

<LayerText layer="paper" text="DIVINATION_RULES" font="./fonts/PalatinoLinotype24_dialog.txt" pos="210, 55" align="0" width="500" angle="-12.5" color="202090FF" />
<LayerText layer="paper" text="DIVINATION_RULES_TEXT" font="./fonts/sylfaen20.txt" pos="100, 85" align="0" width="380" angle="-12.5" color="000000FF" />

<Recharge continue="0" />
<Effect screen="1" particles="./ps/02_fire.ps" />
<Effect screen="1" particles="./ps/02_diamond.ps" />
<Object name="svet_lampa">
    <Effects>
        <Idle>
            <Effect name="shake" amp="0.005" rand="0.9" speed="4" />
            <Group timeout="0.2" timeoutrand="0.2">
                <Effect name="scale" src="1" dst="1.02" start="0" end="1" />
                <Effect name="scale" src="1.02" dst="1" start="1" end="2" />
            </Group>
        </Idle>
    </Effects>
</Object>
<Object name="shadow_lampa">
    <Effects>
        <Idle>
            <Effect name="shake" amp="0.005" rand="5" speed="4" />
        </Idle>
    </Effects>
</Object>
<Cards path="./kasko2/cards_img.xml" after="" />

<aGame type="2x2">
    <Deck position="600, 527" offset="0.25, -0.25" threshold="2,2" finish="600, 900" holder="placeholderscopy" h_offset="-77,-57" />
    <Group position="140, 150" offset="2, 5" finish="279, 390" />
    <Group position="300, 130" offset="2, 5" finish="380, 390" />
    <Group position="450, 110" offset="2, 5" finish="481, 390" />
    <Group position="600, 90" offset="2, 5" finish="583, 390" />
    <Effects move="./ps/divination_move.ps">
    <Highlight particles="./ps/divination_select.ps" scale_loop="1, 1.1, 0.5" />
    </Effects>
    <Final holder="placeholders" pos="188, 358" from="-570, 447" />
    <EndActions>
    <Action name="StartEffect" effect="move" target_layer="paper" dst_x="-300" dst_y="300" start="0" end="1" func="inc" />
    </EndActions>
    <Predefined>
    <First suit="3" value="5" />
    <First suit="1" value="10" />
    <First suit="1" value="8" />
    <First suit="2" value="12" />
    </Predefined>
</aGame>

<Game type="fairway" hint_time="5" lock_hint="2" hl_delay="1" result="fairway">
    <Deck position="520, 505" offset="0.25, -0.25" threshold="2,2" finish="600, 900" holder="placeholderscopy" h_offset="-77,-57" 
        opened = "641, 505" />
    <Final position="350, 310" offset="101.5, 0" holder="placeholders" h_offset="-91,-32" final = "350, 225" hidden="1100, 310" />

    <Group position="130,  90" offset="0, 17" count="5"/>
    <Group position="230, 70" offset="0, 17" count="4"/>
    <Group position="330, 90" offset="0, 17" count="5"/>
    <Group position="430, 70" offset="0, 17" count="4"/>
    <Group position="530, 90" offset="0, 17" count="5"/>
    <Group position="630, 70" offset="0, 17" count="4"/>
    <Group position="730, 90" offset="0, 17" count="5"/>

    <Effects move="./ps/divination_move.ps">
    <Highlight particles="./ps/divination_select.ps" scale_loop="1, 1.1, 0.5" />
    </Effects>
    <EndActions>
    <Action name="StartEffect" effect="move" target_layer="paper" dst_x="-300" dst_y="300" start="0" end="1" func="inc" />
    </EndActions>
    <Predefined>
        <First suit="3" value="5" />
        <First suit="1" value="2" />
        <First suit="1" value="6" />
        <First suit="2" value="9" />
    </Predefined>
    <WrongClick font="./fonts/icambria28.txt" color="FFFFFFFF" />
</Game>

<Interface color="fbe5bdff" />

<StartActions>
    <Action name="StartEffect" effect="move" target_layer="paper" src_x="0" dst_x="1000" start="4" end="5" />
</StartActions>

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

<Sounds>
    <Sound id="cards_deal" path="sounds/cards_deal.ogg" />
    <Sound id="card_activate" path="sounds/card_activate.ogg" />
    <Sound id="cards_disappear" path="sounds/cards_disappear.ogg" />
    <Sound id="div_card_wrong" path="sounds/div_card_wrong.ogg" />
    <Sound id="div_card_sel" path="sounds/div_card_sel.ogg" />
</Sounds>

