<?xml version="1.0" ?>

<page id="start">
<type>dialog</type>
<music>_sfx/siege.mp3</music>
<title>Welcome young adventurer...</title>
<img>_gfx/shopkeeper.jpg</img>
<text>So you want to become a sorcerer?</text>
<text>You've come to the right place. I'm myself just</text>
<text>a humble retailer, but I've met a lot of adventurers like you</text>
<text>in my life, enough to understand the basics of their craft...</text>
<answer goto="tap_mana_intro">Continue</answer>
<text y="250">Push "start" at any time to go back to the main menu</text>
</page>

<page id="tap_mana_intro">
<type>dialog</type>
<title>Tapping lands for mana</title>
<reward type="unlockset" value="RV">I unlocked ${SET} for you</reward>
<text>In your quests you will have to fight against other wizards.</text>
<text>You will only have your brain and your spells to help you.</text>
<text>The basic Energy to cast your spells in Wagic is called mana.</text>
<text>The most frequent sources of Mana are called "Lands".</text>
<text>For a land to produce mana,</text>
<text>you just have to click on it with the action button (CIRCLE by default)</text>
<answer goto="tap_mana">Go ahead and tap some mana!</answer>
</page>

<page id="tap_mana">
<type>duel</type>
<bg>_gfx/back_green.jpg</bg>
<onwin>tap_mana_ok</onwin>
<onlose>tap_mana_try_again</onlose>
</page>

<page id="tap_mana_try_again">
<type>dialog</type>
<title>Hmmm...</title>
<text>It seems you didn't get that right</text>
<text>Simply navigate (with the D-Pad) to the land that appears on your screen,</text>
<text>then click on the action button (CIRCLE by default)</text>
<answer goto="tap_mana">Let's try again!</answer>
</page>

<page id="tap_mana_ok">
<type>dialog</type>
<music>none</music>
<title>Well done...now let's cast a spell</title>
<text>That was too easy for you!</text>
<reward type="card" value="Forest (10E)">As a reward, I give you a ${CARD}</reward>
<text>Now let's see if you can cast a spell...</text>
<text>Spells have a cost represented by mana symbols on the top right corner</text>
<text>of the card. For example, 2 white mana icons on the top right of the card</text>
<text>means that you have to produce 2 white manas (by activating 2 plains)</text>
<text>in order to put it into play.</text>
<answer goto="cast_spell_1">Try to produce 2 white mana and put a white knight in play</answer>
</page>

<page id="cast_spell_1">
<type>duel</type>
<onwin>cast_spell_1_ok</onwin>
<onlose>cast_spell_1_try_again</onlose>
</page>

<page id="cast_spell_1_try_again">
<type>dialog</type>
<title>Hmm...</title>
<text>It seems you didn't get that right</text>
<text>Simply navigate (with the D-Pad) to the lands that appear on your screen,</text>
<text>then click on the action button (CIRCLE by default) on each of them to produce 2 white mana.</text>
<text>Once this is done, navigate to the White Knight in your hand and click (CIRCLE by default) on it.</text>
<text>Depending on your configuration, you might need to display your hand (RTRIGGER by default)</text>
<answer goto="cast_spell_1">Let's try again!</answer>
</page>

<page id="cast_spell_1_ok">
<type>dialog</type>
<title>Perfect...but there's more to it</title>
<text>You did great, young adventurer!</text>
<text>But you will see that some spells have slighlty different costs.</text>
<text>Sometimes the cost contains a number with no mana color. It means you can</text>
<text>pay with mana of whatever color you want.</text>
<text>for example a card which cost has a number "1" and a green icon</text>
<text>needs you to pay 1 green mana +  a mana of any color if you want to play it.</text>
<answer goto="cast_spell_2">Try to put a grizzly bear card in play.</answer>
</page>

<page id="cast_spell_2">
<type>duel</type>
<onwin>cast_spell_2_ok</onwin>
<onlose>cast_spell_2_try_again</onlose>
</page>

<page id="cast_spell_2_try_again">
<type>dialog</type>
<title>Hmm...</title>
<text>It seems you didn't get that right</text>
<text>Simply navigate (with the D-Pad) to the lands that appear on your screen,</text>
<text>then click on the action button (CIRCLE by default) on some of them to produce some mana.</text>
<text>Remember, you need 1 green mana and one other mana of any color.</text>
<text>Once this is done, navigate to the Grizzly Bears in your hand and click (CIRCLE by default) on it.</text>
<answer goto="cast_spell_2">Let's try again!</answer>
</page>

<page id="cast_spell_2_ok">
<type>dialog</type>
<title>Great. now let's talk about phases</title>
<text>Once you put them into play, you will want your creatures to attack your opponent.</text>
<text>After all, they are here to help you defeat other sorcerers!</text>
<text>Your creatures can't attack anytime they want, however,</text>
<text>they must wait for the combat phase of your turn.</text>
<text>Your turn is divided into several phases. You can go through the phases by</text>
<text>clicking on LTRIGGER by default. The name of the current phase is displayed on the</text>
<text>top right corner of the screen.</text>

<answer goto="attack">Go to the "Attackers" phase, then click on your White Knight to attack.</answer>
</page>

<page id="attack">
<type>duel</type>
<onwin>attack_ok</onwin>
<onlose>attack_try_again</onlose>
</page>

<page id="attack_try_again">
<type>dialog</type>
<title>Hmmm...</title>
<text>It seems you didn't get that right</text>
<text>Go to the "Attackers" phase by clicking on LTRIGGER several times,</text>
<text>then click on your White Knight (with CIRCLE by default) to attack your opponent.</text>
<answer goto="attack">Let's try again!</answer>
</page>

<page id="attack_ok">
<type>dialog</type>
<title>Good!</title>
<text>Let me tell you a bit more about phases.</text>
<text>Your turn is divided into several phases. The actions you can perform</text>
<text>Depend on the phase you're in. For now, let's say that you can:</text>
<text>- Play creatures during the "main phase 1" and the "main phase 2" phases of your turn.</text>
<text>- Attack with your creatures during the "Attackers" phase of your turn.</text>
<text>- Block your opponent's attacking creatures during the "blockers" phase of his turn.</text>
<text>There are lots of other phases but we'll discuss them later</text>
<answer goto="block_1">Continue</answer>
</page>

<page id="block_1">
<type>dialog</type>
<title>Blocking</title>
<text>Now let's block!</text>
<text>Your opponent will attack you with one of its creatures.</text>
<text>When comes the "blockers" phase, I want you to click on your own creature</text>
<text>to block his attack</text>
<text>If you don't, his creature will kill you</text>

<answer goto="block">Continue</answer>
</page>

<page id="block">
<type>duel</type>
<onwin>block_ok</onwin>
<onlose>block_try_again</onlose>
</page>

<page id="block_try_again">
<type>dialog</type>
<title>Oh well</title>
<text>Your opponent killed you</text>
<text>Be sure to click once on your grizzly bears when the opponent attacks you</text>
<answer goto="block">Let's try again!</answer>
</page>

<page id="block_ok">
<type>dialog</type>
<title>Great!</title>
<text>You now understand the basics of the combat phase</text>
<reward type="unlockset" value="RV">I unlocked ${SET} for you</reward>
<answer goto="first_duel_1">Continue</answer>
</page>

<page id="first_duel_1">
<type>dialog</type>
<title>How about a real fight?</title>
<text>Now let's have a real duel</text>
<text>This is just a training, it won't be too hard.</text>
<text>Remember, you have to bring your opponent's life to 0</text>
<answer goto="first_duel">Continue</answer>
</page>

<page id="first_duel">
<type>duel</type>
<onwin>first_duel_ok</onwin>
<onlose>first_duel_try_again</onlose>
</page>

<page id="first_duel_try_again">
<type>dialog</type>
<title>Oh well</title>
<text>Your opponent won</text>
<text>Better luck this time</text>
<answer goto="first_duel">Let's try again!</answer>
</page>

<page id="first_duel_ok">
<type>dialog</type>
<title>Nice!</title>
<text>That wasn't too hard, was it?</text>
<answer goto="End">Continue</answer>
</page>

<page id="End">
<type>End</type>
<title>Congratulations!</title>
<text>This is the end of this tutorial.</text>
<reward type="credits" value="1000">Here's a 1000 credits coupon to get you started, come and visit my shop!</reward>
<reward type="unlockset" >And I'm nice, I unlocked ${SET} for you!</reward>
<text>Now time for you to fight some real ennemies!</text>
<text>Click on the action button to go back to the main menu</text>
</page>
