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
|
// Part of Blue Sage quests
// author: Jenalya
// see bluesageConfig for detailed quest description
// Henriikka is one of the helpers working on sorting the bookpages, sends the player to Ensio
// can be questioned as part of the investigation subquest, but doesn't give hints
048-2,94,86,0|script|Henriikka|363
{
set @bookpages, ((QUEST_BlueSage & $@Q_BlueSageBookPages_MASK) >> $@Q_BlueSageBookPages_SHIFT);
if (@bookpages == 31) goto L_Thank;
if (@bookpages > 0) goto L_Progress;
mes "You see a helper looking through some papers that have a strange smell.";
mes "[Henriikka]";
mes "\"Oh, hey. Welcome to the library, or what's left of it.\"";
mes "She sighs.";
menu
"What are you doing?",L_Next,
"You seem to be busy. See you.",L_Close;
L_Next:
mes "[Henriikka]";
mes "\"We're trying to repair the books by collecting the ripped out bookpages and sorting them and copying them for new books. It's a lot to do, and after being eaten by a slime they stink!";
mes "And a lot of pages are missing, since most of the slimes escaped. I suppose we'll have to go out and hunt them once we're done here.\"";
menu
"Maybe I can help with that?",L_Collect,
"Good luck.",L_Close;
L_Collect:
if (BaseLevel < $@Q_BlueSageMinimumLevel)
goto L_Careful;
mes "[Henriikka]";
mes "\"Oh, that'd be awesome! If you find some pages, you can bring them to Ensio.\"";
goto L_Investigate;
L_Careful:
mes "[Henriikka]";
mes "\"Oh, that's very kind, but those slimes are dangerous! Better become a bit stronger first.\"";
goto L_Close;
L_Progress:
mes "[Henriikka]";
mes "\"If you get any bookpages from the slimes, bring them to Ensio. Thanks for your help!\"";
goto L_Investigate;
L_Thank:
mes "[Henriikka]";
mes "\"I'm so glad we didn't have to go out to hunt the slimes! Thank you!\"";
goto L_Investigate;
L_Investigate:
if ((QL_BSAGE_INVESTIGATE == 3) || (QL_BSAGE_INVESTIGATE == 4)) goto L_Ask_Visitor;
if ((QL_BSAGE_INVESTIGATE == 5) || (QL_BSAGE_INVESTIGATE == 8)) goto L_Ask_Helper;
if ((QL_BSAGE_INVESTIGATE == 6) || (QL_BSAGE_INVESTIGATE == 7) || (QL_BSAGE_INVESTIGATE == 9) || (QL_BSAGE_INVESTIGATE == 10)) goto L_Ask_Both;
goto L_Close;
L_Ask_Visitor:
menu
"Can you tell me anything about the visitor with the mask?",L_Visitor,
"I need to leave.",L_Close;
L_Ask_Helper:
menu
"What's your opinion of Peetu and how he does his work?",L_Helper,
"See you later.",L_Close;
L_Ask_Both:
menu
"Can you tell me anything about the visitor with the mask?",L_Visitor,
"What's your opinion of Peetu and how he does his work?",L_Helper,
"Bye.",L_Close;
L_Visitor:
mes "[Henriikka]";
mes "\"With a mask? I don't really remember... We have so many visitors. Though I suppose someone wearing a mask would be noticeable... But I'm so worn out from the past few days that I'm just glad I can even recall my own name! Sorry.\"";
goto L_Close;
L_Helper:
mes "[Henriikka]";
mes "\"Oh, I never really thought about that. He was the one who failed the sealing spell, right? But I heard it's a quite difficult spell, so I suppose this could've happened to anyone. I don't know. Why are you asking such difficult questions?\"";
next;
mes "\"I need to go on with sorting the bookpages now.\"";
goto L_Close;
L_Close:
set @bookpages, 0;
close;
}
|