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
|
// Evol scripts.
// Author:
// Reid
// Description:
// Librarian
001-2-6,52,28,0 script Leonard NPC_LEONARD,{
function esperia_city
{
speech S_FIRST_BLANK_LINE,
l("You have put your finger on it, I am not."),
l("I grew up and lived a good while in Esperia, the capital city."),
l("This place is surrounded by two very important elements: academia and the arts. I was surrounded by theater, music, dance, museums..."),
l("I had a great childhood in Esperia!"),
l("It was wonderful.");
emotion E_HAPPY;
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("Are you a native from Artis?"),
l("Nothing.")))
{
case 1:
closedialog;
npctalk3 l("You can find novels and poems on this floor.");
break;
case 2:
esperia_city();
break;
case 3:
closedialog;
npctalk3 l("Good day to you!");
}
return;
}
function not_so_loud
{
npctalkonce l("This floor is reserved for quiet reading, don't speak too loud.");
return;
}
function miracle
{
npctalkonce l("The miracle is this: the more we share, the more we have.");
return;
}
function logic_wisdom
{
npctalkonce l("Logic is the beginning of wisdom, not the end.");
return;
}
switch (rand(4))
{
case 0:
logic_wisdom();
break;
case 1:
miracle();
break;
case 2:
not_so_loud();
break;
case 3:
need_help();
break;
}
close;
OnInit:
.sex = G_MALE;
.distance = 2;
end;
}
|