blob: 3c5f960cc97b1c33b409edd34dc5af125a9f73d7 (
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
|
// TMW2 scripts.
// Author:
// Jesusalva
// Description:
// Lilit's access
018-5,100,52,0 script Great Tree NPC_NO_SPRITE,{
function gtLocked;
function gtFirstTime;
function gtAccessOK;
.@q = getq(LilitQuest_Access);
if (JobLevel < 40) gtLocked();
switch (.@q) {
case 2:
gtAccessOK(); break;
case 1:
gtFirstTime(); break;
default:
gtLocked();
}
close;
function gtFirstTime {
mesn l("Yetifly the Mighty");
mesq l("Your persistence is amusing. However, you're yet to acquire the title of %s.", b(l("Friend of the Fairies")));
next;
mesn l("Yetifly the Mighty");
mesq l("Bring me the proof of your devotion, and I shall arrange you an audience with the Queen.");
return;
}
function gtLocked {
mesn;
mesq l("The door is locked.");
close;
}
function gtAccessOK {
warp "018-7", 52, 33;
return;
}
OnInit:
.sex = G_OTHER;
.distance = 1;
end;
}
|