summaryrefslogtreecommitdiff
path: root/npc/017-10/mayor.txt
blob: 55dea4bc27e6e5102c91fd4dc4a84807739add7d (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// TMW2/LoF scripts.
// Authors:
//    Jesusalva
// Description:
//    Part of player story

017-10,57,34,0	script	Kenton	NPC_KENTON,{
    .@q=getq(General_Narrator);
    mesn;
    mesq l("Hello! My name is Kenton, and I'm in charge of Public Affairs of Land Of Fire.");
    next;
    mesn;
    mesq l("You see, Pihro and Pyndragon, the mayors, are really busy people. They're developing a game or something as we speak.");
    next;
    mesn;
    mesq l("So if you have any issue which would require the Mayor to see it, you'll need me first.");
    switch (.@q) {
        case 0:
            Exception("ERROR", RB_SPEECH|RB_ISFATAL);
        case 17:
            next;
            mesc l("@@ raise an eyebrow as you hand him Gelid's letter.", .name$);
            next;
            mesn;
            mesq l("That's a really strange letter from Mr. Frozenheart.");
            next;
            mesn;
            mesq l("But also very amusing. I'm sure Pihro and Pyndragon, the town mayors, will fancy this request of yours.");
            next;
            mesn;
            mesq l("Anyway, as you might be aware, Land Of Fire came here in an incident after the Monster King took all Mana Stones... So, we have a good magical affinity.");
            next;
            mesn;
            mesq l("Most of our professors moved on to the Academy Island, and are with Tulimshar's and Frostia's professors working right now. But...");
            next;
            mesn;
            mesq l("...Lalica, the witch, is still with us. And she came to complain that a petty thief stolen a very precious item of hers.");
            next;
            mesn;
            mesq l("I don't know what, but it is ")+b(l("small, red, round and shiny."))+l("And we know who the thief is.");
            next;
            mesn;
            mesq l("I've dispatched Benjamin and some other city guards after her flew to Elenium Mines, but thus far, they haven't returned.");
            next;
            mesn;
            mesq l("I need you to find her to and bring her back there, along whatever she stole. Then I'll honor your request.");
            next;
            mesn;
            mesq l("After all, that was two nights ago, and none of them returned...");
            mesc b(l("WARNING: "))+l("Minimum advised level 72 to do this quest."), 1;
            mesc b(l("WARNING: "))+l("You would do well as come prepared, as failing in the last stage will RESET current progress on the quest."), 1;
            setq LoFQuest_Barbara, 1;
            setq General_Narrator, 18;
            break;
        // Barbara Quest in progress
        case 18:
            .@s=getq(LoFQuest_Barbara);
            switch (.@s) {
            case 5:
                // Endtrail
                mes "";
                mesc l("@@ You need to wait further releases to continue this quest!", b(l("WARNING:"))), 1;
                break;
            // Bad reporting
            case 4:
                mesn;
                mesq l("Good luck arresting the criminal!");
                mesc l("You need both the stolen item as the thief to complete the quest."), 1;
                break;
            // Cutscene not seen
            case 1:
                mesn;
                mesq l("Good luck arresting the criminal!");
                break;
            // Default message
            default:
                mesn;
                mesq l("Benjamin reported in. Good luck arresting the criminal!");
                break;
            }
            break;
        // Barbara Quest was complete and solution was marked in BARBARA_STATE
        case 19:
            // Endtrail
            mes "";
            mesc l("@@ You need to wait further releases to continue this quest!", b(l("WARNING:"))), 1;
            break;
    }
    close;

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

}