summaryrefslogtreecommitdiff
path: root/npc/017-1/inspector.txt
blob: ffae2d420565b69db97a21aa7bbf66e2c7008c1c (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
// TMW2/LOF Script.
// Author:
//    Jesusalva
// Description:
//  Part of Katze quest
// See also
//  npc/config/inspector.txt

017-1,77,104,0	script	Anselmo	NPC_ANSELMO_BR,{
    .@q = getq(LoFQuest_Inspector);
    mesn;
    mesq l("Hello. My name is Anselmo and I'm investigating a recent string of robberies.");
    if (BaseLevel < 50) close;
    if (!is_staff()) close; // FIXME
    next;
    mesn;
    mesq l("Well... Not robberies per se... Just cheese vanishing and being replaced by %s, which is super weird.", getitemlink(GoldenApple));
    next;
    mesn;
    mesq l("You look capable, will you help me solve these robberies? Of course, not for free.");
    next;
    if (askyesno() == ASK_NO) {
        closeclientdialog;
        close;
    }
    mesn;
    mesq l("Excellent. I'd like you to ask around about the recent string of robberies.");
    next;
    mesn;
    mesq l("But remember, they're stealing %s, not shinies, so try to limit your search a bit.", getitemlink(Cheese));
    setq LoFQuest_Inspector, 1, 0;
    close;

// function script inspector() -> Invokes strnpcinfo() internally

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