blob: e49c6814f6150dff9f316f99850d6668d7d5dc0e (
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
|
// A historian
// takes part in quest given by 021-2/kylian.txt
001-1,55,25,0|script|Weellos|103
{
set @halloween_npc_id, $@halloween_npc_weellos;
callfunc "TrickOrTreat";
set QUEST_NorthTulimshar, QUEST_NorthTulimshar | $@knowWeellosNT;
set @kylian, ((QUEST_NorthTulimshar & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT);
if (isin("001-1", 48, 20, 61, 28)) goto L_In;
mes "[Weellos]";
mes "\"This is a very historic building – in fact, it's one of the oldest in the area.\"";
next;
mes "\"It's also the current seat of both the Council of Wizards and the Magic Institute of Tulimshar.\"";
next;
mes "\"Due to its historical significance, part of it has been turned into a museum.\"";
goto L_BeforeClose;
// If the player is inside the fence with Weellos
L_In:
mes "[Weellos]";
mes "\"What did you think? Isn't the building intriguing?\"";
goto L_BeforeClose;
L_BeforeClose:
if (@kylian != 4)
goto L_Close;
next;
mes "You wonder if Kylian would be interested in seeing this historic landmark...";
goto L_Close;
L_Close:
set @kylian, 0;
close;
}
|