summaryrefslogtreecommitdiff
path: root/npc/000-1/fexil.txt
blob: 65ae2161ce9f2b4d58db51b9ef33be632164b3c6 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// 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 this archipelago.");
    next;
    mesq lg("Interested?");
    next;


    switch (select("Yes, why not.:I would rather sell some stuff.:No, Sorry."))
    {
        case 1:
            shop "Bying Bag";
            goto L_Buy;
            close2;
            end;
        case 2:
            goto L_Sell;
            end;
        default:
            goto L_No;
    }

L_No:
    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;

L_Buy:
    closedialog;
    shop "Bag#000-1";

    close;

L_Sell:
    closedialog;
    shop "Bag#000-1";

    close;

OnInit:
    setnpcsex G_MALE;
    setnpcdistance 2;
    end;
}