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
|
// TMW2 Script
// Author:
// dangerDuck
// Description:
// Duck Elder is a friendly npc.
// May eventually implement a quest that needs Duck Feathers
// Variable:
// none
018-5-4,28,73,0 script Duck Elder NPC_DUCK_ELDER,{
function elderAbout;
function elderAboutSarah;
function elderClose;
mesn;
mesq l("Hello %s. What brings you here?", get_race());
next;
select
l("Oh, I'm just exploring. What can you tell me about this island?"),
l("I came to enjoy a beautiful day with some ducks!");
mes "";
switch (@menu) {
case 1:
elderAbout();
// fallthrough
case 2:
elderClose();
break;
}
close;
function elderAbout {
mesn;
mesq l("This is Duck Island, the last safe refuge for birds. Ducks tend to be very peaceful, but our young ruler, King DD, has been taken up with the art of war.");
next;
mesn;
mesq l("Unfortunately, he has been corrupted by the terrorist organization calling itself S.A.R.A.H. Hopefully, he will return to the ways of peace and bring prosperity to Duck Island once again.");
next;
select
l("What's S.A.R.A.H.?"),
l("Thanks, I think I'll continue exploring.");
mes "";
if (@menu == 1)
elderAboutSarah();
return;
}
function elderAboutSarah {
mesn;
mesq l("As I said, S.A.R.A.H. is a terrorist organization. They are dedicated to wiping out every single duck, worldwide. No duck has ever survived an encounter with a S.A.R.A.H. agent. You would do best to avoid them.");
next;
mesn;
mesq l("I suggest you leave now, %s. If you are even suspected of being a S.A.R.A.H. agent . . .", get_race());
close;
return;
}
function elderClose {
mesn;
mesq l("Enjoy your time here, %s. And keep your eye out for agents of S.A.R.A.H.", get_race());
next;
mesn;
mesq l("Perhaps you may be of assistance later . . .");
close;
return;
}
OnInit:
.sex = G_OTHER;
.distance = 4;
end;
}
|