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
|
// Evol scripts.
// Author:
// Reid
// Description:
// Librarian
001-2-6,57,46,0 script Christopher NPC_CHRISTOPHER,{
function ghost_in_the_library
{
narrator S_LAST_NEXT,
l("Christopher is surrounded by the sunlight from the window.");
speech
l("To be a legend, you've either got to be dead or excessively old!"),
l("I think that I am now both..."),
l("I mean, I am very tired to move all of these books!");
return;
}
function need_help
{
speech S_LAST_NEXT,
l("Do you need help with something?");
switch (select(l("What kinds of books are there here?"),
l("You seem a bit tired sir."),
l("Nothing.")))
{
case 1:
npctalk3 l("You can find novels and poems on this floor.");
break;
case 2:
mes "";
ghost_in_the_library();
break;
case 3:
npctalk3 l("I love peace and quiet, that's a good choice.");
}
return;
}
function not_so_loud
{
npctalkonce l("This floor is reserved for quiet reading, don't speak too loud.");
return;
}
switch (rand(3))
{
case 0:
ghost_in_the_library();
break;
case 1:
need_help();
break;
case 2:
not_so_loud();
break;
}
close;
OnInit:
.distance = 2;
end;
}
|