summaryrefslogtreecommitdiff
path: root/world/map/npc/009-2/olana.txt
blob: 550971a2cc692ef52866c4a72cfde3377e47e040 (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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
// Authors: alastrim, Ali-g, Dark Mage

009-2.gat,63,79,0	script	Olana	190,{

  if (FLAGS & FLAG_ROSSI_COMPLETED) goto L_FinalEnd;
  if (Rossy_Quest == 17 || Rossy_Quest == 18) goto L_End;


  if (Rossy_Quest >= 14 && Rossy_Quest <= 16) goto L_Julia;
  if (Rossy_Quest == 13) goto L_Best;
  if (Rossy_Quest == 12) goto L_Give;
  if (Rossy_Quest == 11) goto L_Allergic;
  if (Rossy_Quest == 10) goto L_BringRose;
  if (Rossy_Quest == 9) goto L_RC;
  if (Rossy_Quest == 8) goto L_Rose;
  if (Rossy_Quest >= 6 && Rossy_Quest < 8) goto L_BL;
  if (Rossy_Quest == 5) goto L_Bring;
  if (Rossy_Quest == 4) goto L_See;
  if (Rossy_Quest == 3) goto L_Worried;
  if (Rossy_Quest == 1 || Rossy_Quest == 2) goto L_Daughter;

  mes "[Olana]";
  mes "\"Hello. We don't usually get guests back here.\"";
  next;
  mes "\"My name is Olana and my father owns this inn. I live in Tulimshar, but came to Hurnscald on vacation with my two young daughters, Rossy and Julia.\"";
  if (baselevel < 50) close;
  next;
  mes "\"I let my two lovely girls play in the woods nearby but they haven't come back yet!\"";
  next;
  mes "Olana suddenly looks very pale and starts to shiver.";
  next;
  mes "\"I'm starting to get a bad feeling about this... If you go to the forest near the swamps, could you see if you can find my daughters? I need to know if they are safe!\"";
  menu
    "Sure, I can do that.", -,
    "I am sorry, I don't usually go to that area.", L_No;
  set Rossy_Quest, 1;
  close;

L_Daughter:
  mes "Olana looks really worried - she seems about to burst into tears.";
  mes "[Olana]";
  mes "\"I would be relieved if you could look for my daughters.";
  mes "The went to forest near the swamps to play there.\"";
  next;
  if (Rossy_Quest == 1) close;
  next;
  menu
    "Wait, I saw Rossy, she is fine.", L_Help,
    "Hey, don't worry, I'm sure they'll be back soon.", L_No;

L_No:
  close;

L_Help:
  mes "[Olana]";
  mes "\"Oh you did? That's good. I'm relieved. But what about Julia?\"";
  next;
  menu
    "I haven't found Julia yet, sorry.", -;
  mes "\"Ok. They must be playing hide and seek. Thanks again... I can't express how grateful I am.\"";
  set Rossy_Quest, 3;
  close;

L_Worried:
  mes "Olana smiles at you, trying to show some happiness, but her facial expression only conveys tension and preoccupation.";
  close;

L_See:
  if (gotcherry == 1) goto L_Task;
  if (countitem("cherry") < 10) goto L_Worried;
  delitem "cherry", 10;
  menu
    "Hi, Rossy asked me to give you this. She says it is a gift from both her and Julia.", -;
  mes "[Olana]";
  mes "\"Ohhh... How sweet... Sometimes Rossy impresses me with her kindness. Here...You are spending so much time helping us, and we give nothing back. Take this as a small reward. \"";
  getexp 1000, 0;
  set zeny, zeny + 1000;
  set gotcherry, 1;
  goto L_Task;

L_Task:
  mes "[Olana]";
  mes "\"I know I barely know you, but can I ask you for a small favor?\"";
  menu
    "Sure, tell me about it.", L_Cont,
    "No, sorry, I'm busy.", L_No;

L_Cont:
  mes "[Olana]";
  mes "\"Would you mind giving this letter to my little Rossy? Today is the last day for her final exam, and I know my daughter. If I don't remind her, she will surely forget about it and flunk the exam. I would deliver the letter myself, but I can't walk, my aching knees...\"";
  menu
    "Of course I can. Hand me the letter, I'll give it to Rossy as soon as I see her.", L_Let,
    "No, sorry, I'm not interested in that sort of task. Hand it to her yourself.", L_No;

L_Let:
  mes "[Olana]";
  set Rossy_Quest, 5;
  set gotcherry, 0;
  mes "\"Thank you again. Please, bring it to her as fast as you can.\"";
  close;

L_Bring:
  mes "[Olana]";
  mes "\"Please, bring this letter to my daughter as fast as you can.\"";
  close;

L_BL:
  mes "[Olana]";
  mes "\"Good, now she won't forget her final exam.\"";
  close;

L_Rose:
  menu
    "Hi, Rossy did great in the exam. David told me her potion was flawless.", -;
  mes "[Olana]";
  mes "\"Wow! Really? That is great! I would like to congratulate my little Rossy. Would you mind helping me a little more?\"";
  menu
    "Just tell me what to do.", -,
    "No, I'm busy, maybe later.", L_No;
  mes "[Olana]";
  mes "\"Can you bring me 15 Red Roses? I would like to give them to Rossy. I am sure she will love them!\"";
  menu
    "Ok, I will be back with the roses.", L_RG,
    "I'm allergic to roses, can't even touch them. Sorry.", L_No;

L_RG:
  if (Rossy_Quest == 8) set Rossy_Quest, 9;
  mes "[Olana]";
  mes "\"Please, bring me 15 Red Roses as soon as you can.\"";
  close;

L_RC:
  if(countitem("redrose") < 15) goto L_RG;
  mes "[Olana]";
  set Rossy_Quest, 10;
  mes "\"Great job! Please hand them to my brilliant daughter, Rossy.\"";
  close;

L_BringRose:
  mes "[Olana]";
  mes "\"Now please hand them to my brilliant daughter, Rossy.\"";
  close;

L_Allergic:
  mes "[Olana]";
  mes "\"Did she like my present?\"";
  menu
    "Sure she did...", L_No,
    "Well, you should have known that your daughter is allergic to roses.", -;
  set Rossy_Quest, 12;
  mes "[Olana]";
  mes "\"Oh, how stupid I am! Here, take some of my money and buy Red Tulips instead, the same amount. Keep the flowers.\"";
  set zeny, zeny + 1500;
  next;
  mes "\"Please, tell Rossy I am really sorry. My mind was on Julia when I asked you to bring the red roses, they are her favorite.\"";
  menu
    "I will give her the tulips when I see her.", -;
  mes "[Olana]";
  mes "\"Thank you. And don't forget to tell her that I'm really sorry.\"";
  close;

L_Give:
  mes "[Olana]";
  mes "\""+ strcharinfo(0) +", please, get 15 Red Tulips and hand them to Rossy. Don't forget to tell her that I'm really sorry.\"";
  close;

L_Best:
  mes "[Olana]";
  mes "\"Thank you for your help "+ strcharinfo(0) +"!\"";
  close;

L_Julia:
  mes "[Olana]";
  mes "\"Oh no, I can't take this anymore. Something must have happened... Where is Julia? I want to know where she is! Please, find her "+ strcharinfo(0) +"!\"";
  close;

L_End:
  mes "[Olana]";
  mes "\"Where is Julia? I want to know where she is! Please, find her "+ strcharinfo(0) +"!\"";
  menu
    "She'll be back soon, trust me. I saved her from an evil spirit.", L_Found,
    "I haven't seen her yet, sorry.", L_No;

L_Found:
  mes "[Olana]";
  if (Rossy_Quest == 17) set Rossy_Quest, 18;
  if (Rossy_Quest == 18) set Rossy_Quest, 19;
  mes "\"Thank you "+ strcharinfo(0) +", thank you! Here is a reward for you.\"";
  getexp 5000, 0;
  set zeny, zeny + 5000;
  if (Rossy_Quest == 19) goto L_Clear;
  close;

L_Clear:
  set Rossy_Quest, 0;
  set cavefights, 0;
  set FLAGS, FLAGS | FLAG_ROSSI_COMPLETED;
  close;

L_FinalEnd:
  mes "[Olana]";
  mes "\"Thanks again for your help.";
  mes "I hope the girls will come home soon enough for dinner.\"";
  close;

}