<?xml version="1.0" encoding="utf-8"?>

<category>

  <recipe id="crabrangoon">
    <minigame id="dice" food="garlic" step="dice-garlic" time="3000"/>
    <minigame id="dice" food="greenonion" step="slice-greenonion" time="3500"/>

    <minigame id="add-ingredients" name="add-ingredients" time="5000" base-food="crab" conveyor-speed="2">
      <add food="worcestershire" bowl="bowl_small_angle" fade="true"/>
      <add food="creamcheese" bowl="bowl_small_angle"/>
      <add food="garlic" bowl="bowl_small_angle"/>
      <add food="soysauce" bowl="bowl_small_angle" fade="true"/>
      <add food="greenonion" bowl="bowl_small_angle"/>
    </minigame>

    <minigame id="fold" food="crabrangoon" name="fold" time="7000">
      <add image="bowl_med_top" x="60" y="140"/>
      <add-button id="crab-bowl" image="fold_crabmeat_big" x="180" y="145"/>
      <add-button id="wonton-wrapper" image="crabrangoon01" x="700" y="115"/>

      <start-loop count="6"/>

      <add id="arrow" image="arrow_down" x="670" y="75"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="wonton-wrapper"/>
      <remove id="arrow"/>
      <add id="wrapper" image="crabrangoon01" x="275" y="250"/>

      <add id="arrow" image="arrow_down" x="145" y="100"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crab-bowl"/>
      <remove id="arrow"/>

      <add id="crab-meat" image="crabrangoon02" x="275" y="275"/>
      <trace x="413" y="495" dy="-220"/>

      <remove id="crab-meat"/>
      <remove id="wrapper"/>
      <add id="folded" image="crabrangoon03" x="275" y="250"/>

      <add-button id="pleat1-empty" image="crabrangoon_pleat_empty" rect="true" x="313" y="323"/>
      <add id="arrow" image="arrow_down" x="276" y="275"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="pleat1-empty"/>
      <remove id="arrow"/>
      <add id="pleat1" image="crabrangoon_pleat" x="278" y="323"/>


      <add-button id="pleat2-empty" image="crabrangoon_pleat_empty" rect="true" x="381" y="256"/>
      <add id="arrow" image="arrow_down" x="344" y="205"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="pleat2-empty"/>
      <remove id="arrow"/>
      <add id="pleat2" image="crabrangoon_pleat" x="345" y="256"/>

      <add-button id="pleat3-empty" image="crabrangoon_pleat_empty" rect="true" x="449" y="256"/>
      <add id="arrow" image="arrow_down" x="414" y="205"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="pleat3-empty"/>
      <remove id="arrow"/>
      <add id="pleat3" image="crabrangoon_pleat" x="413" y="256"/>
      <flip id="pleat3" dir="horizontal"/>

      <add-button id="pleat4-empty" image="crabrangoon_pleat_empty" rect="true" x="511" y="323"/>
      <add id="arrow" image="arrow_down" x="476" y="275"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="pleat4-empty"/>
      <remove id="arrow"/>
      <add id="pleat4" image="crabrangoon_pleat" x="474" y="323"/>
      <flip id="pleat4" dir="horizontal"/>

      <pause time="50"/>
      <move id="folded" x="-800"/>
      <move id="pleat1" x="-800"/>
      <move id="pleat2" x="-800"/>
      <move id="pleat3" x="-800"/>
      <move id="pleat4" x="-800"/>
      <end-loop/>
    </minigame>

    <minigame id="wok-fry" name="wok-fry" time="7000" food="crabrangoon" cook-time="500" final-cook-time="300" patience="400">
      
      <food x="20" y="150"/>
      <food x="30" y="190"/>
      <food x="70" y="150"/>
      <food x="80" y="190"/>
      <food x="120" y="150"/>
      <food x="130" y="190"/>
      <food x="170" y="150"/>
      <food x="180" y="190"/>


      <spot x="10" y="350"/>
      <spot x="20" y="390"/>
      <spot x="60" y="350"/>
      <spot x="70" y="390"/>
      <spot x="110" y="350"/>
      <spot x="120" y="390"/>
      <spot x="160" y="350"/>
      <spot x="170" y="390"/>

    </minigame>
    <minigame name="final" version="tdasia" angle="topdown">
      <add id="1" image="plate_crabrangoon" x="292" y="190"/>
      <add id="2" image="plate_crabrangoon" x="220" y="281"/>
      <add id="3" image="plate_crabrangoon" x="365" y="280"/>
      <add id="4" image="plate_crabrangoon" x="301" y="363"/>
    </minigame>
  </recipe>

<recipe id="bbqporkbuns">

    <minigame id="slice" food="bbqpork" name="cut" version="angle" time="4000">
      <start-loop count="2"/>
      <add id="full" image="bbqpork" x="800" y="230"/>
      <move id="full" x="215"/>
      <wait/>

      <cut x="508" y="246" dy="157"/>
      <clip id="full" x2="515"/>
      <add id="slice1" image="bbqporkslice1" x="520" y="250"/>

      <cut x="488" y="246" dy="157"/>
      <clip id="full" x2="495"/>
      <add id="slice2" image="bbqporkslice2" x="500" y="240"/>

      <cut x="468" y="240" dy="160"/>
      <clip id="full" x2="475"/>
      <add id="slice3" image="bbqporkslice2" x="480" y="240"/>

      <cut x="448" y="240" dy="160"/>
      <clip id="full" x2="455"/>
      <add id="slice4" image="bbqporkslice2" x="460" y="240"/>

      <cut x="428" y="236" dy="157"/>
      <clip id="full" x2="435"/>
      <add id="slice5" image="bbqporkslice2" x="440" y="240"/>

      <cut x="408" y="236" dy="157"/>
      <clip id="full" x2="415"/>
      <add id="slice6" image="bbqporkslice2" x="420" y="235"/>
      <scale id="slice6" factor=".95"/>

      <cut x="388" y="230" dy="145"/>
      <clip id="full" x2="395"/>
      <add id="slice7" image="bbqporkslice2" x="400" y="230"/>
      <scale id="slice7" factor=".9"/>

      <cut x="368" y="235" dy="135"/>
      <clip id="full" x2="375"/>
      <add id="slice8" image="bbqporkslice2" x="380" y="230"/>
      <scale id="slice8" factor=".85"/>

      <cut x="348" y="235" dy="135"/>
      <clip id="full" x2="355"/>
      <add id="slice9" image="bbqporkslice2" x="360" y="225"/>
      <scale id="slice9" factor=".8"/>

      <cut x="328" y="235" dy="125"/>
      <clip id="full" x2="335"/>
      <add id="slice10" image="bbqporkslice2" x="340" y="225"/>
      <scale id="slice10" factor=".75"/>

      <cut x="308" y="235" dy="125"/>
      <clip id="full" x2="315"/>
      <add id="slice11" image="bbqporkslice2" x="320" y="220"/>
      <scale id="slice11" factor=".7"/>

      <cut x="288" y="240" dy="115"/>
      <clip id="full" x2="295"/>
      <add id="slice12" image="bbqporkslice2" x="300" y="220"/>
      <scale id="slice12" factor=".65"/>

      <cut x="268" y="250" dy="100"/>
      <clip id="full" x2="275"/>
      <add id="slice13" image="bbqporkslice2" x="280" y="220"/>
      <scale id="slice13" factor=".60"/>

      <cut x="248" y="250" dy="100"/>
      <clip id="full" x2="255"/>
      <add id="slice14" image="bbqporkslice2" x="260" y="220"/>
      <scale id="slice14" factor=".55"/>
      <pause time="10"/>
      <remove id="full"/>
      <add id="slice15" image="bbqporkslice3" x="240" y="265"/>

      <pause time="50"/>
      <remove id="slice1" dx="-800"/>
      <remove id="slice2" dx="-800"/>
      <remove id="slice3" dx="-800"/>
      <remove id="slice4" dx="-800"/>
      <remove id="slice5" dx="-800"/>
      <remove id="slice6" dx="-800"/>
      <remove id="slice7" dx="-800"/>
      <remove id="slice8" dx="-800"/>
      <remove id="slice9" dx="-800"/>
      <remove id="slice10" dx="-800"/>
      <remove id="slice11" dx="-800"/>
      <remove id="slice12" dx="-800"/>
      <remove id="slice13" dx="-800"/>
      <remove id="slice14" dx="-800"/>
      <remove id="slice15" dx="-800"/>
      <end-loop/>
    </minigame>

    <minigame id="dice" food="bbqpork" name="cut" version="angle" time="4000">
      <start-loop count="3"/>

      <add id="slice1" image="bbqporkslice1" x="1185" y="205"/>
      <add id="slice2" image="bbqporkslice1" x="1251" y="205"/>
      <add id="slice3" image="bbqporkslice1" x="1317" y="205"/>
      <add id="slice4" image="bbqporkslice1" x="1383" y="205"/>
      <add id="slice5" image="bbqporkslice1" x="1449" y="205"/>
      <add id="slice6" image="bbqporkslice1" x="1515" y="205"/>
      <add id="slice7" image="bbqporkslice1" x="1581" y="205"/>

      <move id="slice1" x="185" y="205"/>
      <move id="slice2" x="251" y="205"/>
      <move id="slice3" x="317" y="205"/>
      <move id="slice4" x="383" y="205"/>
      <move id="slice5" x="449" y="205"/>
      <move id="slice6" x="515" y="205"/>
      <move id="slice7" x="581" y="205"/>
	  <wait/>

      <cut x="188" y="323" dx="460"/>
      <clip id="slice1" y2="323"/>
      <clip id="slice2" y2="323"/>
      <clip id="slice3" y2="323"/>
      <clip id="slice4" y2="323"/>
      <clip id="slice5" y2="323"/>
      <clip id="slice6" y2="323"/>
      <clip id="slice7" y2="323"/>

      <add id="dice1a" image="bbqporkdice1" x="187" y="330"/>
      <add id="dice1b" image="bbqporkdice1" x="253" y="330"/>
      <add id="dice1c" image="bbqporkdice1" x="319" y="330"/>
      <add id="dice1d" image="bbqporkdice1" x="385" y="330"/>
      <add id="dice1e" image="bbqporkdice1" x="451" y="330"/>
      <add id="dice1f" image="bbqporkdice1" x="517" y="330"/>
      <add id="dice1g" image="bbqporkdice1" x="583" y="330"/>

      <cut x="188" y="293" dx="460"/>
      <clip id="slice1" y2="303"/>
      <clip id="slice2" y2="303"/>
      <clip id="slice3" y2="303"/>
      <clip id="slice4" y2="303"/>
      <clip id="slice5" y2="303"/>
      <clip id="slice6" y2="303"/>
      <clip id="slice7" y2="303"/>

      <add id="dice2a" image="bbqporkdice2" x="187" y="310"/>
      <add id="dice2b" image="bbqporkdice2" x="253" y="310"/>
      <add id="dice2c" image="bbqporkdice2" x="319" y="310"/>
      <add id="dice2d" image="bbqporkdice2" x="385" y="310"/>
      <add id="dice2e" image="bbqporkdice2" x="451" y="310"/>
      <add id="dice2f" image="bbqporkdice2" x="517" y="310"/>
      <add id="dice2g" image="bbqporkdice2" x="583" y="310"/>

      <move id="dice1a" dy="30"/>
      <move id="dice1b" dy="30"/>
      <move id="dice1c" dy="30"/>
      <move id="dice1d" dy="30"/>
      <move id="dice1e" dy="30"/>
      <move id="dice1f" dy="30"/>
      <move id="dice1g" dy="30"/>


      <cut x="188" y="263" dx="460"/>
      <clip id="slice1" y2="263"/>
      <clip id="slice2" y2="263"/>
      <clip id="slice3" y2="263"/>
      <clip id="slice4" y2="263"/>
      <clip id="slice5" y2="263"/>
      <clip id="slice6" y2="263"/>
      <clip id="slice7" y2="263"/>

      <add id="dice3a" image="bbqporkdice3" x="187" y="275"/>
      <add id="dice3b" image="bbqporkdice3" x="253" y="275"/>
      <add id="dice3c" image="bbqporkdice3" x="319" y="275"/>
      <add id="dice3d" image="bbqporkdice3" x="385" y="275"/>
      <add id="dice3e" image="bbqporkdice3" x="451" y="275"/>
      <add id="dice3f" image="bbqporkdice3" x="517" y="275"/>
      <add id="dice3g" image="bbqporkdice3" x="583" y="275"/>

      <move id="dice1a" dy="15"/>
      <move id="dice1b" dy="15"/>
      <move id="dice1c" dy="15"/>
      <move id="dice1d" dy="15"/>
      <move id="dice1e" dy="15"/>
      <move id="dice1f" dy="15"/>
      <move id="dice1g" dy="15"/>

      <move id="dice2a" dy="15"/>
      <move id="dice2b" dy="15"/>
      <move id="dice2c" dy="15"/>
      <move id="dice2d" dy="15"/>
      <move id="dice2e" dy="15"/>
      <move id="dice2f" dy="15"/>
      <move id="dice2g" dy="15"/>

      <cut x="188" y="240" dx="460"/>
      <remove id="slice1"/>
      <remove id="slice2"/>
      <remove id="slice3"/>
      <remove id="slice4"/>
      <remove id="slice5"/>
      <remove id="slice6"/>
      <remove id="slice7"/>

      <move id="dice3a" dy="5"/>
      <move id="dice3b" dy="5"/>
      <move id="dice3c" dy="5"/>
      <move id="dice3d" dy="5"/>
      <move id="dice3e" dy="5"/>
      <move id="dice3f" dy="5"/>
      <move id="dice3g" dy="5"/>

      <add id="dice4a" image="bbqporkdice4" x="187" y="236"/>
      <add id="dice4b" image="bbqporkdice4" x="253" y="236"/>
      <add id="dice4c" image="bbqporkdice4" x="319" y="236"/>
      <add id="dice4d" image="bbqporkdice4" x="385" y="236"/>
      <add id="dice4e" image="bbqporkdice4" x="451" y="236"/>
      <add id="dice4f" image="bbqporkdice4" x="517" y="236"/>
      <add id="dice4g" image="bbqporkdice4" x="583" y="236"/>

      <add id="dice5a" image="bbqporkdice5" x="187" y="196"/>
      <add id="dice5b" image="bbqporkdice5" x="253" y="196"/>
      <add id="dice5c" image="bbqporkdice5" x="319" y="196"/>
      <add id="dice5d" image="bbqporkdice5" x="385" y="196"/>
      <add id="dice5e" image="bbqporkdice5" x="451" y="196"/>
      <add id="dice5f" image="bbqporkdice5" x="517" y="196"/>
      <add id="dice5g" image="bbqporkdice5" x="583" y="196"/>
	  
	  <pause time="50"/>
	  
      <remove id="dice1a" dx="-800"/>
      <remove id="dice1b" dx="-800"/>
      <remove id="dice1c" dx="-800"/>
      <remove id="dice1d" dx="-800"/>
      <remove id="dice1e" dx="-800"/>
      <remove id="dice1f" dx="-800"/>
      <remove id="dice1g" dx="-800"/>

      <remove id="dice2a" dx="-800"/>
      <remove id="dice2b" dx="-800"/>
      <remove id="dice2c" dx="-800"/>
      <remove id="dice2d" dx="-800"/>
      <remove id="dice2e" dx="-800"/>
      <remove id="dice2f" dx="-800"/>
      <remove id="dice2g" dx="-800"/>

      <remove id="dice3a" dx="-800"/>
      <remove id="dice3b" dx="-800"/>
      <remove id="dice3c" dx="-800"/>
      <remove id="dice3d" dx="-800"/>
      <remove id="dice3e" dx="-800"/>
      <remove id="dice3f" dx="-800"/>
      <remove id="dice3g" dx="-800"/>

      <remove id="dice4a" dx="-800"/>
      <remove id="dice4b" dx="-800"/>
      <remove id="dice4c" dx="-800"/>
      <remove id="dice4d" dx="-800"/>
      <remove id="dice4e" dx="-800"/>
      <remove id="dice4f" dx="-800"/>
      <remove id="dice4g" dx="-800"/>

      <remove id="dice5a" dx="-800"/>
      <remove id="dice5b" dx="-800"/>
      <remove id="dice5c" dx="-800"/>
      <remove id="dice5d" dx="-800"/>
      <remove id="dice5e" dx="-800"/>
      <remove id="dice5f" dx="-800"/>
      <remove id="dice5g" dx="-800"/>
      <end-loop/>
      <pause time="100"/>	  
    </minigame>

    <minigame id="add-ingredients" name="add-ingredients" time="5000" base-food="bbqpork" conveyor-speed="2" preview="conceal">
      <add food="cornstarch" bowl="bowl_small_angle"/>
      <add food="sugar" bowl="bowl_small_angle"/>
      <add food="oystersauce" bowl="bowl_small_angle"/>
      <add food="water" bowl="bowl_small_angle" fade="true"/>
      <add food="soysauce" bowl="bowl_small_angle" fade="true"/>
      <add food="sesameoil" bowl="bowl_small_angle" fade="true"/>
    </minigame>


    <minigame id="fold" food="bbqporkbuns" name="fold" time="7000">
      <add image="bowl_med_top" x="60" y="140"/>
      <add-button id="bbqpork-bowl" image="fold_bbqporkmeat" x="170" y="185"/>
      <add-button id="dough" image="bbqporkbundough" x="700" y="125"/>

      <start-loop count="4"/>
	  <chef-message text="fold-bbqporkbuns"/>

      <add id="arrow" image="arrow_down" x="670" y="75"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="dough"/>
      <remove id="arrow"/>
      <add id="bbqporkbun" image="fold_bbqporkbun" cols="9" x="275" y="250"/>

      <add id="arrow" image="arrow_down" x="145" y="100"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="bbqpork-bowl"/>
      <remove id="arrow"/>

      <set-frame id="bbqporkbun" frame="1"/>
      <trace x="279" y="383" dx="130"/>

      <set-frame id="bbqporkbun" frame="2"/>
      <trace x="535" y="383" dx="-130"/>

      <set-frame id="bbqporkbun" frame="3"/>
      <trace x="470" y="270" dx="-55" dy="89"/>

      <set-frame id="bbqporkbun" frame="4"/>
      <trace x="342" y="270" dx="55" dy="89"/>

      <set-frame id="bbqporkbun" frame="5"/>
      <trace x="470" y="495" dx="-55" dy="-89"/>

      <set-frame id="bbqporkbun" frame="6"/>
      <trace x="342" y="495" dx="55" dy="-89"/>

      <set-frame id="bbqporkbun" frame="7"/>

      <add-button id="invisiblebun" image="invisiblebbqporkbun" rect="true" x="409" y="324"/>
      <add id="arrow" image="arrow_down" x="381" y="294"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="invisiblebun"/>
      <remove id="arrow"/>


      <add-rect id="hand" width="218" height="518" alpha="0"/>
      <add id="handtop" image="knead_righthand" x="0" cols="3"/>
      <merge id="handtop" with="hand"/>
      <add id="handbottom" image="knead_rightarm" x="33" y="210"/>
      <merge id="handbottom" with="hand"/>

      <move id="hand" x="303" y="600" speed="0"/>
      <move id="hand" y="213"/>
      <wait/>
      <expand id="hand" scale=".9"/>
      <move id="hand" dy="20"/>
      <wait/>
      <set-frame id="bbqporkbun" frame="8"/>
      <pause time="50"/>
      <remove id="hand" dy="600"/>
	  <chef-message text="spread-eggwash"/>
	  <add-arrow id="arrow" x="345" y="382" dx="120" bidirectional="true"/>
	  <add id="egg" image="eggwash_bbqporkbun" x="345" y="323"/>
	  <marinate id="egg" brush="baster" brush-dx="-36" brush-dy="-173" mask="marinate_mask" tolerance="0.9" />
      <remove id="arrow"/>
      <pause time="50"/>
      <remove id="bbqporkbun" dx="-800"/>
      <remove id="egg" dx="-800"/>
      <end-loop/>
    </minigame>

    <minigame name="bake" food="bbqporkbuns" time="3000" temp="350" good1="470" great="535" good2="595" bad="680" target-speed="0.5">
      <add image="cookie_sheet" x="200" y="180"/>
      <bake image="bake_bbqporkbun" x="320" y="191"/>
      <bake image="bake_bbqporkbun" x="300" y="311"/>
      <bake image="bake_bbqporkbun" x="490" y="191"/>
      <bake image="bake_bbqporkbun" x="510" y="311"/>
    </minigame>

    <minigame name="final" version="asia">
		<add-final index="0" x="322" y="212"/>
		<add-final index="1" x="409" y="255"/>
		<add-final index="2" x="226" y="255"/>
		<add-final index="3" x="316" y="310"/>
    </minigame>
  </recipe>

<recipe id="kungpaochicken">
    <minigame id="dice" food="greenonion" step="slice-greenonion" time="3500"/>
    <minigame id="dice" food="garlic" step="dice-garlic" time="3000"/>

    <minigame id="add-ingredients" name="add-ingredients" time="5000" base-food="waterlow" conveyor-speed="1.5" preview="expand">
      <add food="cornstarch" bowl="bowl_small_angle"/>
      <add food="chilipeppers" bowl="bowl_small_angle"/>
      <add food="greenonion" bowl="bowl_small_angle"/>
      <add food="waterchestnuts" bowl="bowl_small_angle"/>
      <add food="peanuts" bowl="bowl_small_angle"/>
      <add food="vinegar" bowl="bowl_small_angle" fade="true"/>
      <add food="soysauce" bowl="bowl_small_angle" fade="true"/>
      <add food="sesameoil" bowl="bowl_small_angle" fade="true"/>
    </minigame>

    <minigame id="double-coat" name="double-coat" time="8000" food="chicken"
				  dx="0" dy="10" spacing="29" count="7" dip="egg" coat="flour"/>

    <minigame id="wok-fry" name="wok-fry" time="7000" food="chickenchunks" cook-time="500" final-cook-time="300" patience="400">
    
      <food x="20" y="160"/>
      <food x="30" y="200"/>
      <food x="70" y="160"/>
      <food x="80" y="200"/>
      <food x="120" y="160"/>
      <food x="130" y="200"/>
      <food x="170" y="160"/>
      <food x="180" y="200"/>

      <spot x="10" y="350"/>
      <spot x="20" y="390"/>
      <spot x="60" y="350"/>
      <spot x="70" y="390"/>
      <spot x="110" y="350"/>
      <spot x="120" y="390"/>
      <spot x="160" y="350"/>
      <spot x="170" y="390"/>

    </minigame>

	<minigame id="grate" name="grate" time="4000" food="ginger" percent="70"/>

    <minigame name="stew" food="kungpaochicken" pot-food="kungpao1" pot="wok_angle">
      <hide-spoon/>
	  <add id="text0" textbox="textbox" text="kungpao_text0" x="10" y="350" width="400" if="tutorial"/>
	  <add id="arrow" image="arrow_left" x="114" y="536" z="2" if="tutorial"/>
	  <flash id="arrow" interval="50" if="tutorial"/>
	  <pause time="700" if="tutorial"/>
	  <remove id="arrow" if="tutorial"/>
	  <remove id="text0" if="tutorial"/>
	  <add id="text1" textbox="textbox" text="kungpao_text1" x="10" y="350" width="400" if="tutorial"/>
      <show-slider-animation delay="1000" position="0.55" if="tutorial"/>
      <step time="1000" action="medium-heat" disable="true" if="tutorial"/>
      <step time="500" action="medium-heat" unless="tutorial"/>
	  <remove id="text1" if="tutorial"/>
	  <add id="text2" textbox="textbox" text="kungpao_text2" x="10" y="350" width="400" if="tutorial"/>
      <step time="1000" action="trace" label="shake_pan" x="360" y="330" dy="-100" if="tutorial"/>
      <step time="500" action="trace" label="shake_pan" x="360" y="330" dy="-100" unless="tutorial"/>
	  <remove id="text2" if="tutorial"/>
      <shake dy="-40" speed="3" delay="4"/>
      <load animation="early_step"/>
	  <add id="text3" textbox="textbox" text="kungpao_text3" x="10" y="350" width="400" if="tutorial"/>
      <step time="800" action="high-heat" if="tutorial"/>
      <step time="400" action="high-heat" unless="tutorial"/>
	  <remove id="text3" if="tutorial"/>
      <pot food="kungpao2"/>
      <load animation="early_step"/>
	  <add id="text2a" textbox="textbox" text="kungpao_text2a" x="10" y="350" width="400" if="tutorial"/>
      <step time="800" action="trace" label="shake_pan" x="360" y="330" dy="-100" if="tutorial"/>
      <step time="400" action="trace" label="shake_pan" x="360" y="330" dy="-100" unless="tutorial"/>
	  <remove id="text2a"/>
      <shake dy="-40" speed="3" delay="4"/>
      <load animation="early_step"/>
	  <add id="text4" textbox="textbox" text="kungpao_text4" x="10" y="350" width="400" if="tutorial"/>
      <step time="800" action="add" food="cookedchicken" if="tutorial"/>
      <step time="400" action="add" food="cookedchicken" unless="tutorial"/>
	  <remove id="text4" if="tutorial"/>
      <load animation="drop-chickenchunks-kungpao-wok"/>
      <pot food="kungpao3" fade="false"/>
      <load animation="early_step"/>
	  <add id="text5" textbox="textbox" text="kungpao_text5" x="10" y="350" width="400" if="tutorial"/>
      <step time="800" action="cover" if="tutorial"/>
      <step time="400" action="cover" unless="tutorial"/>
	  <remove id="text5" if="tutorial"/>
      <load animation="early_step"/>
	  <add id="text2a" textbox="textbox" text="kungpao_text2a" x="10" y="350" width="400" if="tutorial"/>
      <step time="800" action="trace" label="shake_pan" x="360" y="330" dy="-100" if="tutorial"/>
      <step time="400" action="trace" label="shake_pan" x="360" y="330" dy="-100" unless="tutorial"/>
	  <remove id="text2a" if="tutorial"/>
      <shake dy="-40" speed="3"/>
      <pot food="kungpao4"/>
      <load animation="early_step"/>
	  <add id="text6" textbox="textbox" text="kungpao_text6" x="10" y="350" width="400" if="tutorial"/>
      <step time="800" action="uncover" if="tutorial"/>
      <step time="400" action="uncover" unless="tutorial"/>
	  <remove id="text6" if="tutorial"/>
      <load animation="early_step"/>
	  <add id="text7" textbox="textbox" text="kungpao_text7" x="10" y="350" width="400" if="tutorial"/>
      <step time="800" action="no-heat" if="tutorial"/>
      <step time="400" action="no-heat" unless="tutorial"/>
	  <remove id="text7" if="tutorial"/>
    </minigame>

    <minigame name="final" version="asia">
      <add image="plate_kungpaochicken" x="213" y="220"/>
    </minigame>
</recipe>

  <recipe id="eggtarts">
    <minigame id="add-ingredients" name="add-ingredients" time="3000" base-food="flour" conveyor-speed="2" preview="spotlight">
      <add food="salt"/>
      <add food="water" bowl="bowl_small_angle" fade="true"/>
      <add food="oil" bowl="bowl_small_angle" fade="true"/>
    </minigame>
    <minigame id="knead" name="knead" time="5000" food="dough" steps="6" cycles="3"/>
    <minigame id="roll-dough" name="roll-dough" time="5000" food="big_dough"/>
    <minigame id="cut-dough-shapes" name="cut-dough" time="6000" cutter="doughcutter" goal="26" sheets="2" food="large_dough"/>

    <minigame id="fold" food="eggtarts" name="fold" time="7000">
	  <chef-message text="crimp-eggtarts"/>

      <add-button id="tin-button" image="minipietin" x="214" y="143"/>
      <add-button id="dough-button" image="dough_eggtart" x="590" y="144"/>

      <start-loop count="5"/>

      <add id="arrow" image="arrow_down" x="190" y="122"/>
      <flash id="arrow" interval="50"/>

      <wait-for-button id="tin-button"/>
      <remove id="arrow"/>

      <add id="tin" image="minipietin" x="315" y="284"/>


      <add id="arrow" image="arrow_down" x="563" y="122"/>
      <flash id="arrow" interval="50"/>

      <wait-for-button id="dough-button"/>
      <remove id="arrow"/>

      <add-button id="dough-button2" image="dough_eggtart" x="389" y="286"/>

      <add id="arrow" image="arrow_down" x="360" y="270"/>
      <flash id="arrow" interval="50"/>

      <wait-for-button id="dough-button2"/>
      <remove id="arrow"/>
      <remove-button id="dough-button2"/>

      <add id="dough" image="dough_eggtart_in" x="318" y="286"/>

      <add-button id="crimp-button" image="eggtart_button" rect="true" x="397" y="277"/>
      <add id="arrow" image="arrow_down" x="365" y="212"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crimp-button"/>
      <remove id="arrow"/>
      <remove-button id="crimp-button"/>
      <add id="crimp" image="crimp_eggtart" x="320" y="286" cols="9"/>

      <add-button id="crimp-button" image="eggtart_button" rect="true" x="434" y="287"/>
      <add id="arrow" image="arrow_down" x="407" y="226"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crimp-button"/>
      <remove id="arrow"/>
      <remove-button id="crimp-button"/>
      <set-frame id="crimp" frame="1"/>

      <add-button id="crimp-button" image="eggtart_button" rect="true" x="459" y="334"/>
      <add id="arrow" image="arrow_down" x="429" y="267"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crimp-button"/>
      <remove id="arrow"/>
      <remove-button id="crimp-button"/>
      <set-frame id="crimp" frame="2"/>

      <add-button id="crimp-button" image="eggtart_button" rect="true" x="446" y="376"/>
      <add id="arrow" image="arrow_down" x="415" y="312"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crimp-button"/>
      <remove id="arrow"/>
      <remove-button id="crimp-button"/>
      <set-frame id="crimp" frame="3"/>

      <add-button id="crimp-button" image="eggtart_button" rect="true" x="407" y="402"/>
      <add id="arrow" image="arrow_down" x="377" y="337"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crimp-button"/>
      <remove id="arrow"/>
      <remove-button id="crimp-button"/>
      <set-frame id="crimp" frame="4"/>

      <add-button id="crimp-button" image="eggtart_button" rect="true" x="362" y="399"/>
      <add id="arrow" image="arrow_down" x="335" y="337"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crimp-button"/>
      <remove id="arrow"/>
      <remove-button id="crimp-button"/>
      <set-frame id="crimp" frame="5"/>

      <add-button id="crimp-button" image="eggtart_button" rect="true" x="330" y="365"/>
      <add id="arrow" image="arrow_down" x="300" y="303"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crimp-button"/>
      <remove id="arrow"/>
      <remove-button id="crimp-button"/>
      <set-frame id="crimp" frame="6"/>

      <add-button id="crimp-button" image="eggtart_button" rect="true" x="326" y="321"/>
      <add id="arrow" image="arrow_down" x="299" y="246"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crimp-button"/>
      <remove id="arrow"/>
      <remove-button id="crimp-button"/>
      <set-frame id="crimp" frame="7"/>

      <add-button id="crimp-button" image="eggtart_button" rect="true" x="352" y="287"/>
      <add id="arrow" image="arrow_down" x="332" y="224"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="crimp-button"/>
      <remove id="arrow"/>
      <remove-button id="crimp-button"/>
      <set-frame id="crimp" frame="8"/>

      <pause time="50"/>

      <remove id="tin" dx="-800"/>
      <remove id="crimp" dx="-800"/>
      <remove id="dough" dx="-800"/>

      <end-loop/>
    </minigame>
	<minigame id="crack-egg" name="crack-egg" time="6000" eggs="5"/>	
    <minigame id="pour" name="pour" time="6000"
				  pot="bowl_pour" center-offset="-15"
				  min-target="0.55" max-target="0.75"
				  left-margin="20" right-margin="20" 
				  food="eggtartfilling" count="9"
				  bowl-image="side_eggtartfilling_crust"
				  spots="1" spot-x="0" spot-dx="0" spot-y="0"/>

    <minigame id="bake" food="eggtarts" name="bake" time="3000" temp="325" good1="470" great="535" good2="595" bad="680" target-speed="0.5">
	  <add image="cookie_sheet" x="200" y="180"/>
      <add id="minipietin" image="minipietin_angle" x="301" y="227"/>
      <add id="minipietin" image="minipietin_angle" x="421" y="227"/>
      <add id="minipietin" image="minipietin_angle" x="541" y="227"/>
      <add id="minipietin" image="minipietin_angle" x="291" y="341"/>
      <add id="minipietin" image="minipietin_angle" x="421" y="341"/>
      <add id="minipietin" image="minipietin_angle" x="551" y="341"/>

      <bake image="bake_eggtart" x="290" y="212"/>
      <bake image="bake_eggtart" x="410" y="212"/>
      <bake image="bake_eggtart" x="530" y="212"/>
      <bake image="bake_eggtart" x="280" y="326"/>
      <bake image="bake_eggtart" x="410" y="326"/>
      <bake image="bake_eggtart" x="540" y="326"/>
    </minigame>
    <minigame name="final" version="asia">
      <add id="minipietin" image="minipietin_angle" x="236" y="271"/>
      <add-final index="0" x="225" y="256"/>

      <add id="minipietin" image="minipietin_angle" x="344" y="232"/>
      <add-final index="1" x="333" y="217"/>

      <add id="minipietin" image="minipietin_angle" x="336" y="338"/>
      <add-final index="2" x="325" y="323"/>

      <add id="minipietin" image="minipietin_angle" x="446" y="271"/>
      <add-final index="3" x="435" y="256"/>

    </minigame>
</recipe>

<recipe id="sweetandsourchicken">
  
  <minigame name="fridge" configuration="3" time="12000">
		<item name="onion"/>
		<item name="chickenleg"/>
		<item name="greenpepper"/>
		<item name="carrot"/>
		<item name="egg" quantity="2"/>
		<item name="lemon"/>		
    </minigame>
	
    <minigame id="slice-dice" food="onion" step="dice-onion" time="5500"/>
    <minigame id="slice" food="greenpepper" step="slice-greenpepper" time="5500"/>
    <minigame id="peel" name="peel" time="6000" food="carrot" count="2" y="100" target-threshold="0.05"/>
	<minigame id="slice-dice" food="carrot" step="slice-carrot" time="4500"/>

    <minigame id="double-coat" name="double-coat" time="8000" food="chicken"
				  dx="0" dy="10" spacing="29" count="7" dip="egg" coat="flour"/>

	<minigame id="juice" food="lemon" step="juice-lemon" time="5000"/>

    <minigame name="stew" food="sweetandsoursauce" pot-food="water" time="6000" version="heavysaucepan" pot="heavysaucepan_angle">
		<add id="text0" textbox="textbox" text="sweetandsour_text0" x="10" y="350" width="400" if="tutorial"/>
		<add id="arrow" image="arrow_left" x="114" y="536" z="2" if="tutorial"/>
		<flash id="arrow" interval="50" if="tutorial"/>
		<pause time="700" if="tutorial"/>
		<remove id="arrow" if="tutorial"/>
		<remove id="text0" if="tutorial"/>

		<add id="text1" textbox="textbox" text="sweetandsour_text1" x="10" y="350" width="400" if="tutorial"/>
      <show-slider-animation delay="1000" position="0.25" if="tutorial"/>
		<step time="1000" action="low-heat" disable="true" if="tutorial"/>
		<step time="500" action="low-heat" unless="tutorial"/>
		<remove id="text1" if="tutorial"/>

		<add id="text2" textbox="textbox" text="sweetandsour_text2" x="10" y="350" width="400" if="tutorial"/>
		<step time="800" action="add" food="pineapple" if="tutorial"/>
		<step time="400" action="add" food="pineapple" unless="tutorial"/>
		<add id="pineapple" image="drop_pineapple" x="290" y="-180"/>
		<remove id="text2" if="tutorial"/>
		<move id="pineapple" y="230"/>

      <load animation="early_step"/>
		<add id="text3" textbox="textbox" text="sweetandsour_text3" x="10" y="350" width="400" if="tutorial"/>
		<step time="800" action="add" food="lemonjuice" if="tutorial"/>
		<step time="400" action="add" food="lemonjuice" unless="tutorial"/>
		<remove id="text3" if="tutorial"/>
		<load animation="drop-lemonjuice-heavysaucepan"/>

      <load animation="early_step"/>
		<add id="text4" textbox="textbox" text="sweetandsour_text4" x="10" y="350" width="400" if="tutorial"/>
		<step time="800" action="add" food="cornstarch" if="tutorial"/>
		<step time="400" action="add" food="cornstarch" unless="tutorial"/>
		<remove id="text4" if="tutorial"/>
		<play animation="drop-cornstarch-heavysaucepan"/>
		<pause time="50"/>
		<add id="cornstarch" image="stew_cornstarch" x="290" y="210" opacity="0"/>
		<fade id="cornstarch" opacity="1"/>

      <load animation="early_step"/>
		<add id="text5" textbox="textbox" text="sweetandsour_text5" x="10" y="350" width="400" if="tutorial"/>
		<step time="800" action="stir" if="tutorial"/>
		<step time="500" action="stir" unless="tutorial"/>
		<remove id="text5" if="tutorial"/>
		<fade-out id="pineapple"/>
		<fade-out id="cornstarch"/>
		<pot food="sweetandsour1"/>

      <load animation="early_step"/>
      <add id="text6" textbox="textbox" text="sweetandsour_text6" x="10" y="350" width="400" if="tutorial"/>
      <step time="900" action="cover" if="tutorial"/>
      <step time="500" action="cover" unless="tutorial"/>
      <remove id="text6" if="tutorial"/>

      <load animation="early_step"/>
		<add id="text7" textbox="textbox" text="sweetandsour_text7" x="10" y="350" width="400" if="tutorial"/>
		<step time="900" action="medium-heat" if="tutorial"/>
		<step time="500" action="medium-heat" unless="tutorial"/>
		<remove id="text7" if="tutorial"/>

      <load animation="early_step"/>
		<add id="text8" textbox="textbox" text="sweetandsour_text8" x="10" y="350" width="400" if="tutorial"/>
		<step time="800" action="uncover" if="tutorial"/>
		<step time="400" action="uncover" unless="tutorial"/>
		<remove id="text8" if="tutorial"/>

      <load animation="early_step"/>
		<add id="text9" textbox="textbox" text="sweetandsour_text9" x="10" y="350" width="400" if="tutorial"/>
		<step time="800" action="add" food="redfoodcoloring" if="tutorial"/>
		<step time="400" action="add" food="redfoodcoloring" unless="tutorial"/>
		<load animation="drop-redfoodcoloring-heavysaucepan"/>
		<remove id="text9" if="tutorial"/>

      <load animation="early_step"/>
		<add id="text10" textbox="textbox" text="sweetandsour_text10" x="10" y="350" width="400" if="tutorial"/>
		<step time="900" action="stir" if="tutorial"/>
		<step time="400" action="stir" unless="tutorial"/>
		<pot food="sweetandsour2"/>
		<remove id="text10" if="tutorial"/>

      <load animation="early_step"/>
		<add id="text11" textbox="textbox" text="sweetandsour_text11" x="10" y="350" width="400" if="tutorial"/>
		<step time="800" action="no-heat" if="tutorial"/>
		<step time="400" action="no-heat" unless="tutorial"/>
		<remove id="text11" if="tutorial"/>
    </minigame>

    <minigame id="wok-fry" name="wok-fry" time="7000" food="chickenchunks" cook-time="500" final-cook-time="300" patience="400">
    
      <food x="20" y="160"/>
      <food x="30" y="200"/>
      <food x="70" y="160"/>
      <food x="80" y="200"/>
      <food x="120" y="160"/>
      <food x="130" y="200"/>
      <food x="170" y="160"/>
      <food x="180" y="200"/>

      <spot x="10" y="350"/>
      <spot x="20" y="390"/>
      <spot x="60" y="350"/>
      <spot x="70" y="390"/>
      <spot x="110" y="350"/>
      <spot x="120" y="390"/>
      <spot x="160" y="350"/>
      <spot x="170" y="390"/>


    </minigame>

    <minigame name="stew" food="sweetandsourchicken" pot-food="blank" time="6000" pot="wok_angle">
      <hide-spoon/>
      <step time="500" action="low-heat"/>
      <step time="400" action="add" food="onion"/>
	  <add id="onion" image="onion_sweetandsour" x="285" y="-222"/>
	  <move id="onion" y="222"/>

      <step time="400" action="add" food="carrot"/>
	  <add id="carrot" image="carrot_sweetandsour" x="300" y="-214"/>
	  <move id="carrot" y="214"/>

      <step time="400" action="add" food="greenpepper"/>
	  <add id="greenpepper" image="greenpepper_sweetandsour" x="294" y="-220"/>
	  <move id="greenpepper" y="220"/>

      <step time="400" action="add" food="sweetandsoursauce"/>
      <play animation="pour-sweetandsour-wok"/>
      <pause time="50"/>
      <pot food="sweetandsour1" fade="true"/>

      <step time="400" action="trace" label="shake_pan" x="360" y="330" dy="-100"/>
	  <remove id="greenpepper"/>
	  <remove id="onion"/>
	  <remove id="carrot"/>
      <shake dy="-40" speed="3" delay="4"/>

      <step time="500" action="medium-heat"/>

      <step time="400" action="add" food="cookedchicken"/>
	  <add id="chicken" image="chicken_sweetandsour" x="300" y="-223"/>
	  <move id="chicken" y="223"/>

      <step time="400" action="add" food="pineapple"/>
	  <add id="pineapple" image="pineapple_sweetandsour" x="299" y="-213"/>
	  <move id="pineapple" y="213"/>

      <step time="400" action="trace" label="shake_pan" x="360" y="330" dy="-100"/>
      <shake dy="-40" speed="3" delay="4"/>
	  <fade-out id="onion"/>
	  <fade-out id="carrot"/>
	  <fade-out id="greenpepper"/>
	  <fade-out id="chicken"/>
	  <fade-out id="pineapple"/>
      <pot food="sweetandsour2"/>

      <step time="500" action="cover"/>
      <step time="500" action="low-heat"/>
      <pot food="sweetandsour3"/>
      <step time="500" action="uncover"/>
      <step time="500" action="no-heat"/>
    </minigame>


    <minigame name="final" version="asia">
      <add image="plate_sweetandsour" x="206" y="213"/>
    </minigame>

  </recipe>

<recipe id="fortunecookies">
	<minigame name="mix" food="batter">
		<mixer food="eggwhite"/>
		<add id="text0" textbox="textbox" text="fortune_text0" x="10" y="350" width="400" if="tutorial"/>
		<add id="arrow" image="arrow_left" x="114" y="536" z="2" if="tutorial"/>
		<flash id="arrow" interval="50" if="tutorial"/>
		<pause time="700" if="tutorial"/>
		<remove id="arrow" if="tutorial"/>
		<remove id="text0" if="tutorial"/>
		<add id="text1" textbox="textbox" text="fortune_text1" z="1" x="25" y="350" width="400" if="tutorial"/>
		<show-slider-animation delay="1000" position="0.25" if="tutorial"/>
		<step time="1000" action="slow" disable="true" if="tutorial"/>
		<step time="400" action="slow" unless="tutorial"/>
		<remove id="text1" if="tutorial"/>
		<mixer food="eggwhite2"/>
		<add id="text2" textbox="textbox" text="fortune_text2" z="1" x="25" y="350" width="400" if="tutorial"/>
		<step time="1000" action="add" food="vegetableoil" if="tutorial"/>
		<step time="400" action="add" food="vegetableoil" unless="tutorial"/>
		<load animation="drop-vegetableoil-mix"/>
		<remove id="text2" if="tutorial"/>
		<add id="bowl" image="bowl_pour" x="542" y="192"/>
    <load animation="early_step"/>
		<add id="text3" textbox="textbox" text="fortune_text3" z="1" x="25" y="350" width="400" if="tutorial"/>
		<step time="800" action="trace" label="pour" x="648" y="300" dy="-100" if="tutorial"/>
		<step time="400" action="trace" label="pour" x="648" y="300" dy="-100" unless="tutorial"/>
		<remove id="text3" if="tutorial"/>
		<remove id="bowl"/>
		<load animation="pour-flour-mix2"/>
		<mixer food="fortunecookie1" fade="false"/>
    <load animation="early_step"/>
		<add id="text4" textbox="textbox" text="fortune_text4" z="1" x="25" y="350" width="400" if="tutorial"/>
		<step time="800" action="add" food="vanilla" if="tutorial"/>
		<step time="400" action="add" food="vanilla" unless="tutorial"/>
		<remove id="text4" if="tutorial"/>
		<load animation="drop-vanilla-mix"/>
    <load animation="early_step"/>
		<add id="text5" textbox="textbox" text="fortune_text5" z="1" x="25" y="350" width="400" if="tutorial"/>
  		<step time="800" action="add" food="sugar" if="tutorial"/>
  		<step time="400" action="add" food="sugar" unless="tutorial"/>
		<remove id="text5" if="tutorial"/>
  		<play animation="drop-sugar-mix"/>
    <load animation="early_step"/>
		<add id="text6" textbox="textbox" text="fortune_text6" z="1" x="25" y="350" width="400" if="tutorial"/>
		<step time="800" action="medium" if="tutorial"/>
		<step time="400" action="medium" unless="tutorial"/>
		<mixer food="fortunecookie2"/>
		<remove id="text6" if="tutorial"/>
    <load animation="early_step"/>
		<add id="text7" textbox="textbox" text="fortune_text7" z="1" x="25" y="350" width="400" if="tutorial"/>
		<step time="800" action="add" food="almondextract" if="tutorial"/>
		<step time="400" action="add" food="almondextract" unless="tutorial"/>
		<remove id="text7" if="tutorial"/>
		<load animation="drop-almondextract-mix"/>
    <load animation="early_step"/>
		<add id="text8" textbox="textbox" text="fortune_text8" z="1" x="25" y="350" width="400" if="tutorial"/>
		<step time="800" action="stopped" if="tutorial"/>
		<step time="400" action="stopped" unless="tutorial"/>
		<remove id="text8" if="tutorial"/>		
	</minigame>
	<minigame id="pour-batter2" name="squeeze" time="6000" count="2"
        tray="cookie_sheet_topdown_large" tray-x="111" tray-y="150"
        frame="frame_fortunecookie" topping="squeeze_fortunecookie"
        bowl="fortunecookiedough" bowl-dx="30" bowl-dy="29"
        pour="fortunecookiepour" pour-dx="-12" pour-dy="17"  
        food-x="105" food-y="96" food-dx="160" food-dy="150"
        cols="3" rows="2" fill-speed=".01"/>
	<minigame id="bake" food="fortunecookies" name="bake" time="3000" temp="300" good1="470" great="535" good2="595" bad="680" target-speed="0.5">
    	<add image="cookie_sheet" x="200" y="180"/>
		<bake image="bake_fortunecookie" x="296" y="219"/>
		<bake image="bake_fortunecookie" x="426" y="219"/>
		<bake image="bake_fortunecookie" x="560" y="219"/>
		<bake image="bake_fortunecookie" x="296" y="330"/>
		<bake image="bake_fortunecookie" x="426" y="330"/>
		<bake image="bake_fortunecookie" x="560" y="330"/>
	</minigame>
	<minigame id="fold" food="fortunecookies" name="fold" time="6000">
		<add id="bakesheet" image="cookie_sheet_topdown_large" x="15" y="180"/>
		<add id="cookie1" image="fortunecookie1" x="74" y="231"/>
		<add id="cookie2" image="fortunecookie1" x="220" y="231"/>
		<add id="cookie3" image="fortunecookie1" x="369" y="231"/>
		<add id="cookie4" image="fortunecookie1" x="74" y="362"/>
		<add id="cookie5" image="fortunecookie1" x="220" y="362"/>
		<add id="cookie6" image="fortunecookie1" x="369" y="362"/>
		
		<add-button id="paperfortune_2" image="paperfortune_button" x="648" y="179"/>
		<add id="cup" image="fortunecookie_cup" x="621" y="382"/>
		<add-button id="paperfortune" image="paperfortune" x="648" y="238"/>
		<add-arrow id="arrow" x="648" y="248" dx="-513" dy="32"/>
		<drag-button id="paperfortune" x="135" y="275"/>
		<remove id="arrow"/>

		<trace x="133" y="348" dy="-110"/>
		<remove id="cookie1"/>
		<remove-button id="paperfortune"/>
		<add id="cookie1" image="fortunecookie2" x="74" y="231"/>
		<trace x="133" y="266" dx="100"/>
		<bring-to-front id="cup"/>
		<move id="cookie1" x="561"/>
		<wait/>
		<trace x="624" y="276" dy="100"/>
		<move id="cookie1" y="333"/>
		<pause time="10"/>
		<remove id="cookie1"/>
		<add id="cookie1" image="fortunecookie3" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="10"/>
		<remove id="cookie1"/>
		<add id="cookie1" image="fortunecookie4" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="50"/>
		<move id="cookie1" image="fortunecookie4" x="561" y="271"/>
		<wait/>
		<remove id="cookie1" image="fortunecookie4" dx="200"/>
		
		<add-button id="paperfortune" image="paperfortune" x="648" y="238"/>
		<add-arrow id="arrow" x="648" y="248" dx="-368" dy="27"/>
		<drag-button id="paperfortune" x="280" y="275"/>
		<remove id="arrow"/>

		<trace x="281" y="348" dy="-110"/>
		<remove id="cookie2"/>
		<remove-button id="paperfortune"/>
		<add id="cookie2" image="fortunecookie2" x="220" y="231"/>
		<trace x="281" y="266" dx="100"/>
		<move id="cookie2" x="561"/>
		<wait/>
		<trace x="624" y="276" dy="100"/>
		<move id="cookie2" y="333"/>
		<pause time="10"/>
		<remove id="cookie2"/>
		<add id="cookie2" image="fortunecookie3" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="10"/>
		<remove id="cookie2"/>
		<add id="cookie2" image="fortunecookie4" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="50"/>
		<move id="cookie2" image="fortunecookie4" x="561" y="271"/>
		<wait/>
		<remove id="cookie2" image="fortunecookie4" dx="200"/>
		
		<add-button id="paperfortune" image="paperfortune" x="648" y="238"/>
		<add-arrow id="arrow" x="648" y="248" dx="-221" dy="27"/>
		<drag-button id="paperfortune" x="427" y="275"/>
		<remove id="arrow"/>
		<trace x="428" y="348" dy="-110"/>
		<remove id="cookie3"/>
		<remove-button id="paperfortune"/>
		<add id="cookie3" image="fortunecookie2" x="369" y="231"/>
		<trace x="428" y="266" dx="100"/>
		<move id="cookie3" x="561" y="231"/>
		<wait/>
		<trace x="624" y="276" dy="100"/>
		<move id="cookie3" y="333"/>
		<pause time="10"/>
		<remove id="cookie3"/>
		<add id="cookie3" image="fortunecookie3" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="10"/>
		<remove id="cookie3"/>
		<add id="cookie3" image="fortunecookie4" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="50"/>
		<move id="cookie3" image="fortunecookie4" x="561" y="271"/>
		<wait/>
		<remove id="cookie3" image="fortunecookie4" dx="200"/>
		
		<add-button id="paperfortune" image="paperfortune" x="648" y="238"/>
		<add-arrow id="arrow" x="648" y="248" dx="-221" dy="167"/>
		<drag-button id="paperfortune" x="427" y="415"/>
		<remove id="arrow"/>
		<trace x="428" y="479" dy="-110"/>
		<remove id="cookie6"/>
		<remove-button id="paperfortune"/>
		<add id="cookie6" image="fortunecookie2" x="369" y="362"/>
		<trace x="430" y="394" dx="100" dy="-25"/>
		<move id="cookie6" x="561" y="231"/>
		<wait/>
		<trace x="624" y="276" dy="100"/>
		<move id="cookie6" y="333"/>
		<pause time="10"/>
		<remove id="cookie6"/>
		<add id="cookie6" image="fortunecookie3" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="10"/>
		<remove id="cookie6"/>
		<add id="cookie6" image="fortunecookie4" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="50"/>
		<move id="cookie6" image="fortunecookie4" x="561" y="271"/>
		<wait/>
		<remove id="cookie6" image="fortunecookie4" dx="200"/>

		<add-button id="paperfortune" image="paperfortune" x="648" y="238"/>
		<add-arrow id="arrow" x="648" y="248" dx="-368" dy="167"/>
		<drag-button id="paperfortune" x="280" y="415"/>
		<remove id="arrow"/>
		<trace x="279" y="479" dy="-110"/>
		<remove id="cookie5"/>
		<remove-button id="paperfortune"/>
		<add id="cookie5" image="fortunecookie2" x="220" y="362"/>
		<trace x="278" y="394" dx="100" dy="-25"/>
		<move id="cookie5" x="561" y="231"/>
		<wait/>
		<trace x="624" y="276" dy="100"/>
		<move id="cookie5" y="333"/>
		<pause time="10"/>
		<remove id="cookie5"/>
		<add id="cookie5" image="fortunecookie3" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="10"/>
		<remove id="cookie5"/>
		<add id="cookie5" image="fortunecookie4" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="50"/>
		<move id="cookie5" image="fortunecookie4" x="561" y="271"/>
		<wait/>
		<remove id="cookie5" image="fortunecookie4" dx="200"/>

		<add-button id="paperfortune" image="paperfortune" x="648" y="238"/>
		<add-arrow id="arrow" x="648" y="248" dx="-513" dy="167"/>
		<drag-button id="paperfortune" x="135" y="415"/>
		<remove id="arrow"/>
		<trace x="134" y="479" dy="-110"/>
		<remove id="cookie4"/>
		<remove-button id="paperfortune"/>
		<add id="cookie4" image="fortunecookie2" x="74" y="362"/>
		<trace x="130" y="394" dx="100" dy="-25"/>
		<move id="cookie4" x="561" y="231"/>
		<wait/>
		<trace x="624" y="276" dy="100"/>
		<move id="cookie4" y="333"/>
		<pause time="10"/>
		<remove id="cookie4"/>
		<add id="cookie4" image="fortunecookie3" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="10"/>
		<remove id="cookie4"/>
		<add id="cookie4" image="fortunecookie4" x="561" y="333"/>
		<bring-to-front id="cup"/>
		<pause time="50"/>
		<move id="cookie4" image="fortunecookie4" x="561" y="271"/>
		<wait/>
		<remove id="cookie4" image="fortunecookie4" dx="200"/>
		<wait/>
	</minigame>

	<minigame name="final" version="asia">
		<add image="plate_fortunecookie" x="262" y="223"/>
	</minigame>
	</recipe>  

<recipe id="lettucewraps">

	<minigame name="fridge" configuration="4" time="12000">
    <item name="lettuce"/>
	  <item name="ginger"/>
	  <item name="onion"/>
	  <item name="egg" quantity="2"/>
	  <item name="greenonion"/>
	  <item name="shiitake"/>
	  <item name="lime"/>	  
    </minigame>
	
	<minigame id="dice" food="garlic" step="dice-garlic" time="3000"/>

	<minigame id="grate" name="grate" time="4000" food="ginger" percent="70"/>
	
	<minigame id="crack-egg" name="crack-egg" time="6000" eggs="5"/>
	
	<minigame id="dice" food="peanuts" step="dice-peanuts" time="3000"/>
	
	<minigame id="dice" food="greenonion" step="slice-greenonion" time="3500"/>
	
	<minigame id="dice" food="shiitake" step="dice-shiitake" time="3000"/>
	
	<minigame id="juice" food="lime" step="juice-lime" time="5000"/>
	
	<minigame id="add-ingredients" name="add-ingredients" time="5000" base-food="soysauce" preview="pixelate" conveyor-speed="2">
		<add food="oystersauce" bowl="bowl_small_angle"/>
		<add food="fishsauce" bowl="bowl_small_angle" />
		<add food="limejuice" bowl="bowl_small_angle" fade="true"/>
		<add food="water" bowl="bowl_small_angle" fade="true"/>
		<add food="brownsugar" bowl="teaspoon"/>
	</minigame>
	
	<minigame id="fry" name="flip" time="6000"
		food="lettucewrap" x="240" y="190" animation="drop-lettucewrap-pan"
		flips="4" burn-time="500" count="3"/>
		
	<minigame step="tear-lettuce" time="6000"/>
	
	<minigame id="fold" food="lettucewrap" name="fold" time="6000">
      <add image="bowl_med_top" x="80" y="140"/>
      <add-button id="mixture" image="wrapfilling" x="190" y="165"/>
      <start-loop count="5"/>

      <add id="wrap1" image="wrap1" x="1000" y="130"/>
      <move id="wrap1" x="400" y="130"/>
      <wait/>

      <add id="arrow" image="arrow_down" x="165" y="100"/>
      <flash id="arrow" interval="50"/>
      <wait-for-button id="mixture"/>
      <remove id="arrow"/>

      <add id="wrap2" image="wrap2" x="400" y="130"/>

      <trace x="560" y="480" dy="-140"/>
      <remove id="wrap1"/>
      <remove id="wrap2"/>
      <add id="wrap3" image="wrap3" x="400" y="130"/>

      <trace x="430" y="320" dx="100"/>
      <remove id="wrap3"/>
      <add id="wrap4" image="wrap4" x="400" y="130"/>

      <trace x="700" y="320" dx="-100"/>
      <remove id="wrap4"/>
      <add id="wrap5" image="wrap5" x="400" y="130"/>

      <trace x="560" y="160" dy="140"/>
      <remove id="wrap5"/>
      <add id="wrap6" image="wrap6" x="400" y="130"/>
      <pause time="50"/>
      <remove id="wrap6" x="-800"/>
      <end-loop/>
    </minigame>		
	
	<minigame name="final" version="asia">
		<add image="plate_lettucewrap" x="215" y="200"/>
	</minigame>
</recipe>

</category>
