<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <Image name="bkg" x="0" y="-161" image="/interface/bkg_4_3_book.jpg"/>
    <Image x="135" y="65" image="/interface/bkg_halloween.png"/>
    
    <SelectorController>
        <Action type="1" axis="0" use_val="1" val="-0.75" cmd="left"/>
        <Action type="1" axis="0" use_val="1" val="0.75" cmd="right"/>
        <Action type="1" axis="1" use_val="1" val="-0.75" cmd="up"/>
        <Action type="1" axis="1" use_val="1" val="0.75" cmd="down"/>
        <Action type="0" btn="12" cmd="press"/>
        
        <Container class="GPGraphContainer"/>
        
    </SelectorController>

    <GPSharedActions>
        <Action type="0" btn="12" cmd="press"/>
    </GPSharedActions>

    <GPToolbarController>
        <Action type="0" btn="0" cmd="left"/>
        <Action type="0" btn="1" cmd="right"/>
        <Action type="0" btn="12" cmd="press"/>
    
        <Container class="GPButtonsContainer"/>
        
        <Item path="../*/back" scale="1 1" cID="def_circle"/>
    </GPToolbarController>
    
    <ConditionCheckerWidget x="258" y="36">
        <Condition class="check_elements" elements="Ghost balloon" name="balloon_ghost" value="1"/>
        <Condition class="check_elements" elements="Bat wings" name="bat_wings" value="1"/>
        <Condition class="check_elements" elements="Grim cake" name="cake" value="1"/>
        <Condition class="check_elements" elements="Jack in the box" name="clown" value="1"/>
        <Condition class="check_elements" elements="Grim skull" name="skull" value="1"/>
        <Condition class="check_elements" elements="Grim stuff" name="skull_staff" value="1"/>
        <Condition class="check_elements" elements="Torch" name="torch" value="1"/>
        <Condition class="check_elements" elements="Vampire teeth" name="vampire_jaw" value="1"/>
        <Condition class="check_elements" elements="Witch cap" name="witch_hat" value="1"/>

        <!-- row 1 -->
        <!-- balloon_ghost -->
        <Image x="517" y="132" image="hween/progress_pumpkin_close.png" show_if="$property.balloon_ghost != 1"/>
        
        <Image x="517" y="132" image="hween/progress_pumpkin_down.png" show_if="$property.balloon_ghost == 1"/>
        <Image x="517" y="132" image="hween/progress_balloon_ghost.png" show_if="$property.balloon_ghost == 1"/>
        <Image x="517" y="132" image="hween/progress_pumpkin_up.png" show_if="$property.balloon_ghost == 1"/>
        
        <!-- bat_wings -->
        <Image x="687" y="132" image="hween/progress_pumpkin_close.png" show_if="$property.bat_wings != 1"/>
        
        <Image x="687" y="132" image="hween/progress_pumpkin_down.png" show_if="$property.bat_wings == 1"/>
        <Image x="687" y="132" image="hween/progress_bat_wings.png" show_if="$property.bat_wings == 1"/>
        <Image x="687" y="132" image="hween/progress_pumpkin_up.png" show_if="$property.bat_wings == 1"/>
        
        <!-- cake -->
        <Image x="857" y="132" image="hween/progress_pumpkin_close.png" show_if="$property.cake != 1"/>
        
        <Image x="857" y="132" image="hween/progress_pumpkin_down.png" show_if="$property.cake == 1"/>
        <Image x="857" y="132" image="hween/progress_cake.png" show_if="$property.cake == 1"/>
        <Image x="857" y="132" image="hween/progress_pumpkin_up.png" show_if="$property.cake == 1"/>
        
        <!-- row 2 -->
        <!-- clown -->
        <Image x="517" y="284" image="hween/progress_pumpkin_close.png" show_if="$property.clown != 1"/>
        
        <Image x="517" y="284" image="hween/progress_pumpkin_down.png" show_if="$property.clown == 1"/>
        <Image x="517" y="284" image="hween/progress_clown.png" show_if="$property.clown == 1"/>
        <Image x="517" y="284" image="hween/progress_pumpkin_up.png" show_if="$property.clown == 1"/>
        
        <!-- skull -->
        <Image x="687" y="284" image="hween/progress_pumpkin_close.png" show_if="$property.skull != 1"/>
        
        <Image x="687" y="284" image="hween/progress_pumpkin_down.png" show_if="$property.skull == 1"/>
        <Image x="687" y="284" image="hween/progress_skull.png" show_if="$property.skull == 1"/>
        <Image x="687" y="284" image="hween/progress_pumpkin_up.png" show_if="$property.skull == 1"/>
        
        <!-- skull_staff -->
        <Image x="857" y="284" image="hween/progress_pumpkin_close.png" show_if="$property.skull_staff != 1"/>
        
        <Image x="857" y="284" image="hween/progress_pumpkin_down.png" show_if="$property.skull_staff == 1"/>
        <Image x="857" y="284" image="hween/progress_skull_staff.png" show_if="$property.skull_staff == 1"/>
        <Image x="857" y="284" image="hween/progress_pumpkin_up.png" show_if="$property.skull_staff == 1"/>
        
        <!-- row 3 -->
        <!-- torch -->
        <Image x="517" y="436" image="hween/progress_pumpkin_close.png" show_if="$property.torch != 1"/>
        
        <Image x="517" y="436" image="hween/progress_pumpkin_down.png" show_if="$property.torch == 1"/>
        <Image x="517" y="436" image="hween/progress_torch.png" show_if="$property.torch == 1"/>
        <Image x="517" y="436" image="hween/progress_pumpkin_up.png" show_if="$property.torch == 1"/>
        
        <!-- vampire_jaw -->
        <Image x="687" y="436" image="hween/progress_pumpkin_close.png" show_if="$property.vampire_jaw != 1"/>
        
        <Image x="687" y="436" image="hween/progress_pumpkin_down.png" show_if="$property.vampire_jaw == 1"/>
        <Image x="687" y="436" image="hween/progress_vampire_jaw.png" show_if="$property.vampire_jaw == 1"/>
        <Image x="687" y="436" image="hween/progress_pumpkin_up.png" show_if="$property.vampire_jaw == 1"/>
        
        <!-- witch_hat -->
        <Image x="857" y="436" image="hween/progress_pumpkin_close.png" show_if="$property.witch_hat != 1"/>
        
        <Image x="857" y="436" image="hween/progress_pumpkin_down.png" show_if="$property.witch_hat == 1"/>
        <Image x="857" y="436" image="hween/progress_witch_hat.png" show_if="$property.witch_hat == 1"/>
        <Image x="857" y="436" image="hween/progress_pumpkin_up.png" show_if="$property.witch_hat == 1"/>
        
        <Text x="42" y="304" width="300" height="66" text="QUESTDGIFTS_GOAL" font="font" color="FFFFFFFF" align="C" lineHeight="24"
        show_if="$property.balloon_ghost != 1 |
        $property.bat_wings != 1 |
        $property.cake != 1 |
        $property.clown != 1 |
        $property.skull != 1 |
        $property.skull_staff != 1 |
        $property.torch != 1 |
        $property.vampire_jaw != 1 |
        $property.witch_hat != 1"/>
        <Text x="42" y="304" width="300" height="66" text="QUESTDGIFTS_COMPLETE" font="font" color="FFFFFFFF" align="C" lineHeight="24"
        show_if="$property.balloon_ghost == 1 *
        $property.bat_wings == 1 *
        $property.cake == 1 *
        $property.clown == 1 *
        $property.skull == 1 *
        $property.skull_staff == 1 *
        $property.torch == 1 *
        $property.vampire_jaw == 1 *
        $property.witch_hat == 1"/>
        
    </ConditionCheckerWidget>
    
    <Widget name="toolbar" x="0" y="626" xml="/toolbar/toolbar_quest_progress.xml"/>
    <Widget x="0" y="12" xml="/status_bar/quest_status_bar.xml"/>
    <Notification name="notification" x="0" y="12" xml="/achievements/achievement_sb.xml"/>
</Layout>
