summaryrefslogtreecommitdiff
path: root/npc/000-1/fexil.txt
blob: de72aec24651559f82185161ba1ca6bc5ac9fde0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Evol scripts.
// Author:
//    Reid
// Description:
//    Newbie merchant.

000-1,83,98,0	script	Fexil	NPC_ELVEN_MAN_TRADER,{
    mesn;
    mesq lg("Greetings traveler.");
    next;
    mesq l("I have some clothes and other things for you at a fine price!");
    next;
    mesq l("What I sell comes from every corner of Gasaron. From Esperia to the Land of Fire!");
    next;
    mesq lg("Interested?");
    next;

    switch (select("Yes, why not.:I would rather sell some stuff.:No, Sorry."))
    {
        case 1:
            mes "";
            mesn;
            mesq l("Good, take a look in the bag next to me then!");
            close;

        case 2:
            closedialog;
            shop "Bag#000-1";
            close;

        default:
            mes "";
            mesn;
            mesq l("Oh... Well, I just started to trade... Thus my technique may not be the best.");
            next;
            mesq lg("Anyway, if you ever feel interested, just check my bag!");
            close;
    }

OnInit:
    .sex = G_MALE;
    .distance = 2;
    end;
}