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
90
91
92
93
|
// TMW-2 scripts.
// Original Authors: Hal9000 & Qwerty Dragon
// TMW-2 Authors:
// +seeds
// dangerduck
// Description:
// Piou captain who gives information about shrewboo mounts and the Piou Knights.
006-2-5,40,25,0 script Captain Reed NPC_PIOU_KNIGHT_L,{
function reedHello;
function reedAboutKnights;
function reedAboutShrewboos;
.@q=getq(LilitQuest_Pouf);
if (.@q <= 2)
{
.@r = rand2(3);
if (.@r == 0)
{
npctalk3 l("This is no place for a weakling like you. I suggest you leave.");
}
else if (.@r == 1)
{
npctalk3 l("Allowing you to remain on our Isles is dangerous. Tread carefully, %s.", get_race());
}
else
{
npctalk3 l("I'll be keeping an eye on you, %s. Don't make trouble.", strcharinfo(0));
}
}
else if (.@q == 3)
{
reedHello();
}
close;
function reedHello {
mesn;
mesq l("Do you need assistance, Knight %s?", strcharinfo(0));
next;
select
l("What can you tell me about the Piou Knights?"),
l("Why do Piou Knights need mounts if they can fly?"),
l("I just wanted to say hi.");
mes "";
switch (@menu) {
case 1:
reedAboutKnights();
break;
case 2:
reedAboutShrewboos();
case 3:
// fallthrough
break;
}
return;
}
function reedAboutKnights {
mesn;
mesq l("The Order of Piou Knights was originally created as a defense against hunters from the humanoid races.");
mesn;
mesc l("Our Order stopped the hunters from harming any piou on Piou Isles, but it could not do anything for the pious who refused to live here.");
mesn;
mesq l("We grew in strength and knowledge over time, and dedicated ourselves to upholding justice and peace on the Isles, and in the world.");
mesn;
mesq l("When the ducks joined the Moubootaur and created the Duck Side, our convictions and oaths to the Order ensured we would oppose them.");
mesn;
mesc l("The humanoid races do not consider ducks or pious to be a threat, thus we are the only line of defense against the Duck Side.");
mesn;
mesq l("Remember that, %s. You dedicated yourself to the Order of Piou Knights, and you are now sworn to oppose the Duck Side.", strcharinfo(0));
mesn;
reedHello();
}
function reedAboutShrewboos {
mesn;
mesq l("Our warriors are burdened with strong, yet heavy, armor.");
mesn;
mesc l("Due to this detriment to our speed and ability to fly, we started training shrewboos as mounts.");
mesn;
mesq l("Over time, we improved our training, and our warboos are now extremely efficient fighting steeds.");
mesn;
mesq l("They also give Piou Knights a much needed speed boost against the ducks, who are naturally fast.");
mesn;
reedHello();
}
OnInit:
.sex = G_OTHER;
.distance = 4;
end;
}
|