summaryrefslogblamecommitdiff
path: root/npc/001-1/enora.txt
blob: 3272d3bdffe6850ab3f2196da5919da963b17814 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                             




                                     







                                           
 
                                                               
 





























                                                                                                   
               

















                                                                                                                
 







                                                                                                                                                





                           
 

               
 
                                     
     





                                                                                         
     









                                             
                                                                               



                                                                                
 

















                                                   

                


          
                    
                  


        
// Evol scripts.
// Authors:
//    Reid
// Description:
//    Newbie guide for Artis.
// Variables:
//    ArtisQuests_Enora
// Values:
//    0   Default.
//    1   BlackSmith quest delivered.
//    2   BlackSmith gave the sword.
//    3   Light Armor Shop quest delivered.
//    4   Light Armor Shop gave the cloths.
//    5   Market quest delivered.
//    6   Market gave the potion.
//    7   Hill quest delivered.
//    8   Fluffy killed.


001-1,176,113,0	script	Enora#001-1	NPC_HUMAN_FEMALE_NOOB,{

    function enora_memories {
        speech 5,
            l("It's so exciting to meet somebody with amnesia!"),
            l("Do you, like, remember nothing at all? Or do you have SOME memories of your past?"),
            l("What happens when you try to think about it?"),
            l("Does your mind go all fuzzy or is that your head will explode??"),
            l("Try doing that now!");


        switch (select (l("Okay, but there won't be any explosions."),
                        l("Don't get too excited about it...")))
        {
            case 1:
                narrator 5,
                    l("You concentrate and try to summon old memories from within your mind."),
                    l("All you can find is thick mist and the cold hard wood of your raft."),
                    l("A headache hits you and you lose your concentration.");

                speech 4,
                    l("So? You haven't exploded yet! Are you getting anything?");

                select (l("Not really. All I got was a headache..."));

                speech 5,
                    l("It's like your memories are locked away in your head! Cool!");

                break;
            case 2:
                break;
        }
        return;
    }

    function enora_first_quest {
        speech 5,
            l("You probably don't have much business in this city as you don't remember who you are."),
            l("So I was going to ask if maybe you would be interested in giving me a hand with a few errands.");

        switch (select(l("I guess so. What's in it for me?"),
                       l("Of course! What do you need?")))
        {
            case 1:
                speech 5,
                    l("Oh, don't worry about it, there will be a compensation for your hard labor!");
                break;
            case 2:
                mes "";
                break;
        }

        speech
            l("I asked Don our blacksmith to prepare a sword for this morning, he should be done by now."),
            l("Come check him, and return me the package, it's an easy job."),
            l("You will be able to find Don's house on the west of this city, it's the first house just after left bridge, you can't miss it!"),
            l("A young apprentice called Chef might be waiting outside, speak to him, and return the present to me.");
            emotion 3;

        close;
    }

    function enora_legion {
        speech 5,
            l("Test"),
            l("Test");

        return;
    }

    if (getq(ArtisQuests_Enora) == 0)
    {
        speech 4,
            l("Hey! You must be @@.", strcharinfo(0)),
            l("Julia has told me how they found you at sea, on a raft with a logo of--"),
            l("I mean LOG! Made of log!"),
            l("I also hear you have lost all your memories? That's a shame."),
            l("I'm sure you would have some interesting stories to tell!");
    }
    else
    {
        speech 4,
            l("Hey @@!", strcharinfo(0)),
            l("What brings you here today?");
    }

    do
    {
        menuint
            rif(.@q == 0, l("She told me that you had some tasks for me.")), 0,
            rif(.@q == 2 || .@q == 4 || .@q == 6, l("I have your package.")), 1,
            rif(.@q > 1, l("What is this legion?")), 2,
            l("I wish I could remember something..."), 3,
            rif (.@q != 0, l("Nothing.")), 4;

        switch (@menuret)
        {
            case 0:
                enora_first_quest;
                break;
            case 1:
            case 2:
                enora_legion;
                break;
            case 3:
                enora_memories;
                break;
            case 4:
                speech 5,
                    l("Please come back anytime!");
                break;
        }
    } while (@menuret != 4);

    closedialog;
    close;

OnInit:
    .sex = G_FEMALE;
    .distance = 5;
    end;
}