summaryrefslogtreecommitdiff
path: root/npc/001-2/wizards.txt
blob: b176926614f9affe20860a15c2f8859662f5ef87 (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
// Tulimshar Wizards (The Mana World Doomsday Quest)
-	script	Magic Council	NPC32767,{
    explode .@n, strnpcinfo(0), "#";
    if   (.@n[1] == 9) mes "The arch wizard seems to be busy.";
    else if (.@n[1])   mes "The wizard seems to ignore you.";
    else               mes "Strangely, you feel nothing – as if its membrane is closed to you.";
    next;
    mes "Perhaps you should come back later.";
    close;

OnInit:
    .distance = 4;
    end;
}

// Quest giver
001-2,104,27,0	script	Arch-Wizard#9	NPC354,{
    function dd5Neutral;
    function dd5Intro;
    function dd5Words;
    function dd5Almost;
    function dd5Finish;

    if (BaseLevel < 100) dd5Neutral();

    switch (getq(Quest_Doomsday)) {
    case 0:
        dd5Intro(); break;
    case 1:
        dd5Words(); break;
    case 2:
        dd5Almost(); break;
    case 3:
        dd5Finish(); break;
    default:
        dd5Neutral(); break;
    }
    close;

// Not enough level
function dd5Neutral {
    mes l("The arch wizard seems to be busy.");
    next;
    mes l("Perhaps you should come back later.");
    close;
}

// Quest begin
function dd5Intro {
    mesn;
    mesq l("Ah, %s. A good thing you came here.", strcharinfo(0));
    next;
    // Pre-requisite: TMW Swamps OK
    if (getq(Quest_Reapercry) < 2) {
        mesn;
        mesq l("We have found a... disturbance, which we would like you to investigate, in Hurnscald's Crypt.");
        next;
        mesn;
        mesq l("I'm afraid that this is all I can tell you for now.");
        return;
    }
    // OK
    mesn;
    mesq l("I believe you have found the ruined Keshlam Swamps, didn't you?");
    next;
    mesn;
    mesq l("That place have an eerie energy to it. And you know, not many things can scare an arch wizard.");
    next;
    mesn;
    mesq l("Have you ever used a time traveler before?");
    askyesno();
    mes "";
    mesn;
    mesq l("What I feel from there is something which transcends time travel. Some power outside of the domain of time must be at play.");
    next;
    mesn;
    mesq l("We've dispatched a wizard team to investigate. And... Well, you must see it for yourself, you guess. Let's just say... Pocket dimension.");
    next;
    mesn;
    mesq l("We need someone strong to challenge something which we're not sure if it is our past, our present, our future, or even a parallel timeline for all we know. Are you up to this task?");
    mesc l("Accepting this quest will replay \"The Mana World: Doomsday\"."), 1;
    next;
    if (askyesno() == ASK_NO) {
        mes "";
        mesn;
        mesq l("I see. I should have sought someone more corageous, I guess. Please, stop wasting our time.");
        return;
    }
    mesn;
    mesq l("Great! There should be an engraving somewhere there. You should chant some ancient words our scholars have found.");
    setq Quest_Doomsday, 1;
    next;
    dd5Words();
    return;
}

// Quest reminder
function dd5Words {
    mesn;
    mesq l("Go to the engraving and recite the following:");
    mes b("Tutin Jande Liaise"); // In Jande Lustitiae (latin) [anagram]
    next;
    mesn;
    mesq l("It means \"Jande's Justice\". Jande is the Great Dragon of Earth.");
    next;
    mesn;
    mesq l("It seems to be in a time-lock, but we found a powerful entity which our wizards could not defeat. Try defeating it, and report back if you find out anything.");
    next;
    mesn;
    mesq l("...Also, if you don't know what a Great Dragon is, then please, go visit a library. We the wizard council of Tulimshar have more important things to do.");
    return;
}

// As a participant
function dd5Almost {
    mesn;
    mesq l("I can see horror in your eyes. I assume you fought whatever was there.");
    next;
    mesn;
    mesq l("Many of our wizards did and had the same scary expression in your eyes. But I did not ask you to fight, I asked you to win.");
    next;
    mesn;
    mesq l("So please, do not bother me until you have some sort of trophy to show off. I'll repeat again the words you need to recite at the engraving:");
    mes b("Tutin Jande Liaise"); // In Jande Lustitiae (latin) [anagram]
    return;
}

function dd5Finish {
    mesn;
    // Must be wearing the Savior Armor to finish this quest
    if (!isequipped(SaviorArmor)) {
        mesq l("Please do not bother me until you have some sort of trophy to show off.");
        return;
    } else {
        mesq l("Now, isn't this a fancy armor you're wearing...?");
        next;
    }
    mesn;
    mesq l("I can recognize it's made of Zealite. That is... the same material from which our Soul Menhirs are made.");
    next;
    mesn;
    mesq l("If that was our future, how grim it is! Likely, the Soul Menhirs were destroyed on that... reality.");
    next;
    mesn;
    mesq l("Keep the armor. I'll inform the other sages about this.");
    next;
    select
        l("Thanks!"),
        l("Actually, there was more...");
    mes "";
    mesn;
    mesq l("Oh right, I almost forgot your reward. Here, take this gold. Don't waste it all on candies. Now shoo, shoo, begone! You're disrupting me!");
    Zeny+=1000000; // One Million GP - FIXME
    setq Quest_Doomsday, 4;
    return;
}

OnInit:
    .distance = 4;
    end;
}


001-2,104,19,0	duplicate(Magic Council)	Desert Mana Seed#_M	NPC166
001-2,99,22,0	duplicate(Magic Council)	Wizard#1	NPC355
001-2,92,24,0	duplicate(Magic Council)	Wizard#2	NPC356
001-2,92,30,0	duplicate(Magic Council)	Wizard#3	NPC357
001-2,99,32,0	duplicate(Magic Council)	Wizard#4	NPC358
001-2,110,22,0	duplicate(Magic Council)	Wizard#5	NPC359
001-2,117,24,0	duplicate(Magic Council)	Wizard#6	NPC360
001-2,117,30,0	duplicate(Magic Council)	Wizard#7	NPC361
001-2,110,32,0	duplicate(Magic Council)	Wizard#8	NPC362
//001-2,104,27,0	duplicate(Magic Council)	Arch-Wizard#9	NPC354