summaryrefslogtreecommitdiff
path: root/npc/000-1/darlin.txt
blob: 380c3f528c09f03068f11f4ef717dcde99cc090a (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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
// Evol scripts.
// Author:
//    Reid
// Description:
//    Darlin talks from the top of the tall mast.
// Variable:
//    x   ShipQuests_Darlin
// Values: 
//    0   Never talked with Darlin.
//    1   Spoke, and received quest.
//    2   Opened the treasure chest.
//    3   Get back to Darlin.

000-1.gat,89,95,0,1	script	Darlin	103;14,{

    mesn;
    set @q, getq(ShipQuests_Darlin);
    if (@q == 1 || @q == 2) goto OnQuestGiven;
    if (@q > 2) goto l_QuestDone;

OnStart:
    mesq l("HEY! HEY YOU!"); 
    next;
    mesq l("CAN YOU HEAR ME?!");
    next;

    menu
        l("Yes!"), -,
        l("No!"), l_Quit;

    mes "";
    mesn;
    mesq l("GOOD!");
    next;
    mesq l("I WAS HERE WHEN THEY RESCUED YOU!");
    next;
    mesq l("DO YOU FEEL BETTER?!");
    next;

    menu
        l("I do feel better!"), -,
        l("Why don't you come down to talk?"), l_GoDown;

    mes "";
    menu
        l("And you, how are you doing?"), -,
        l("But I need to go, see you!"), l_Bye;

    mes "";
    mesn;
    mesq l("I AM DOING FINE!");
    next;
    mesq l("HEY, WHAT'S YOUR NAME?!");
    next;

    menu
         strcharinfo(0) + ".", -,
         l("Maybe you can come down to talk?"), -;

    mes "";
    mesn;
    mesq l("WHAT DID YOU SAY?!");
    next;
    mesq l("I DO NOT UNDERSTAND!");
    next;

    menu
        l("I said... WHY DON'T YOU COME DOWN TO TALK?"), l_GoDown,
        l("I SAID, SEE YOU LATER!"), l_Bye,
        l("I'M CALLED, @@!", strcharinfo(0)), -;

    mes "";
    mesn;
    mesq strcharinfo(0) + "? " + l("THAT'S A NICE NAME!");
    next;
    mesq l("SO WHAT'S UP?! WHAT ARE YOU DOING?!");
    next;

l_Menu:
    set @q, getq(ShipQuests_Darlin);

    menu
        l("Maybe you can come down to talk?"), l_GoDown,
        l("I'm looking for Gugli, where is he?"), -,
        l("I need to go, sorry."), l_Bye;

    setcamnpc "Gugli";
    mes "";
    mesn;
    mesq l("OH, LOOK THERE!");
    next;
    mesq l("HE IS AT THE BOTTOM OF THE SHIP, DOWN THE STAIRS. YOU CAN'T MISS HIM!");
    restorecam;

    close;

l_GoDown:
    mes "";
    mesn;
    mesq l("I WOULD LOVE TO!");
    next;
    mesq l("BUT I CAN'T, I NEED TO KEEP AN EYE ON THE SEA, TO WARN THE CREW IF THERE HAPPENS TO BE SOME PIRATES AROUND!");
    next;
    mesq l("I ALSO AVOID THE DANGEROUS ANIMALS!");
    next;

    menu
        l("Have you seen anything dangerous?"), -,
        l("Interesting... I'll leave you to your task then!"), l_Bye;

    mes "";
    mesn;

    if (@q > 0) goto l_DangerAround;
    setq ShipQuests_Darlin, 1;

    mesq l("Oh no, but I've noticed a weird light on the other edge of this island, I wonder what it can be...");
    next;
    mesq l("MAYBE YOU CAN LOOK AT THIS?!");
    next;

    menu
        l("I'll look at it."), l_Bye,
        l("Sure, but Gugli needs my help first."), -;

    mes "";
    mesn;
    mesq l("IT'S OK, CREW TASKS ARE MUCH MORE IMPORTANT THAN CURIOSITY!");
    next;
    mesq l("ANYWAY, MAYBE WHEN YOU ARE LOOKING FOR FOOD WITH GUGLI YOU WILL HAVE THE TIME TO LOOK AT THIS!");
    close;

l_Bye:
    mes "";
    mesn;
    mesq l("FINE, BYE!");
    close;

OnQuestGiven:
    mesq l("HEY @@!", strcharinfo(0));
    next;
    mesq l("DID YOU FIND OUT WHAT THE LIGHT WAS?!");
    next;

    menu
        rif(@q == 1, l("I forgot where it was...")), -,
        rif(@q == 2, l("Yes, it's a chest.")), l_Chest,
        l("Oh, nothing important."), l_Nothing;

    mes "";
    mesn;
    mesq l("ON THE TOP OF THE CLIFF!");
    next;
    mesq l("YOU NEED TO WALK NORTH!");

    goto l_Menu;

l_Nothing:
    if (@q == 2) setq ShipQuests_Darlin, 3;
    mes "";
    mesn;
    mesq l("OH, OK!");

    goto l_Menu;

l_Chest:
    mes "";
    mesn;
    mesq l("SORRY, BUT WHAT DID YOU SAY? SPEAK LOUDER!");
    next;
    mesq l("IF YOU FIND SOMETHING, THEN IT'S GREAT!");

    setq ShipQuests_Darlin, 3;
    goto l_Menu;

l_DangerAround:
    mesq l("NOTHING ELSE OTHER THAN SHARKS AND AN ODD LIGHT!");
 
    close;

l_QuestDone:
    mesq l("HEY") + " " + strcharinfo(0) + "!"; 
    next;

    goto l_Menu;

l_Quit:
    close;

}