summaryrefslogtreecommitdiff
path: root/npc/001-2-40/trozz.txt
blob: b96166d3eb9d80a4b4979ac9d2bc6ffea2ef244b (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
59
60
61
62
63
64
65
66
// Evol scripts.
// Author:
//    Reid
// Description:
//    Chief of the Legion of Aemil of the city of Artis.

001-2-40,36,46,0	script	Trozz#001-2-40	NPC_HUMAN_MALE_CHIEF_ARTIS_LEGION,{
    function Bureaucracy;
    function Dueling;
    mesn;
    mesq l("Hi. I am Trozz, and I am the chief of legion training in Artis.");
    next;
    mesn;
    mesq l("If you want to challenge someone for a friendly match, you are at the right place.");
    next;
    do
    {
        select
            l("That's everything, thanks."),
            l("I'm looking to have some paperwork fixed."),
            l("How can I challenge someone for a match?");
        mes "";
        switch (@menu) {
            case 1:
                goodbye();
                break;
            case 2:
                Bureaucracy();
                break;
            case 3:
                Dueling();
                break;
        }
    } while (@menu != 1);
    close;

function Bureaucracy {
    mesn;
    mesq l("If you need to deal with more bureaucratic stuff, go talk to Q'Anon. He is the boss here.");
    next;
    mesn;
    mesq l("You can find him upstairs. Go left, then go right, and you'll find him.");
    next;
    return;
}

function Dueling {
    mesn;
    mesq l("First, you need to use %s to enter in duel mode.", b("@duel"));
    next;
    mesn;
    mesq l("Then, to challenge a player, you'll use \"%s <player_name>\".", b("@invite"));
    next;
    mesn;
    mesq l("If you were invited to the duel instead, you can use %s or %s.", b("@accept"), b("@reject"));
    next;
    mesn;
    mesq l("You can exit duel mode with %s. You'll also leave it by death.", b("@leave"));
    next;
    return;
}

OnInit:
    .distance = 4;
    end;
}