summaryrefslogblamecommitdiff
path: root/npc/009-2/olana.txt
blob: 76381e7e5decffb5a60424c9fd521a0fc930b903 (plain) (tree)
1
2
3
4
5

                                              


                                                           


























                                                                                                                                                                      
                                              




































































































































                                                                                                                                                            









                                                                                                      

                                             


                                                                                 






                                          





                                                                             

  
009-2.gat,123,45,0	script	Olana	140,{ 

  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_RL;
  if (Rossy_Quest >= 6 && Rossy_Quest < 8) goto L_BL;
  if (Rossy_Quest == 5) goto L_Bring;
  if (Rossy_Quest == 4) goto L_Cont;
  if (Rossy_Quest == 3) goto L_See;
  if (Rossy_Quest == 2) goto L_Daughter;

  mes "[Olana]";
  mes "\"I come from Tulimshar and am here with my two daughters, Rossy and Julia, for vacation. I already have been to Hurnscald once and I feeled quite safe...\"";
  next;
  mes "\"I let my two lovely girls play in the woods near by but they still didn't came back!\"";
  mes "*Olana starts crying...*";
  close;

L_Daughter:
  mes "[Olana]";
  mes "\"I come from Tulimshar and am here with my twin daughters, Rossy and Julia, for vacation. I already have been to Hurnscald once and I feeled quite safe...\"";
  next;
  mes "\"I let my two lovely girls play in the woods near by but they still didn't came back!\"";
  mes "*Olana begins to sobb...*";
  next;
  menu
    "Wait, I saw Rossy, she is fine.", L_Help,
    "Wait a bit, I'm sure they'll get back soon.", L_No;

L_No:
  close;

L_Help:
  mes "[Olana]";
  mes "\"Oh yes? Is Rossy alright? That's good. I'm relieved. I hope she'll find Julia soon.\"";
  next;
  mes "\"Oh by the way, I would need your help myself too. My water supply ran out and I can't go down the stairs anymore, my knees hurt a lot.\"";
  menu
    "Sure I can help you, how much do you need?", L_Set,
    "Sorry, I'm too busy.", L_No;

L_Set:
  mes "[Olana]";
  set Rossy_Quest, 3;
  mes "\"I'd like the size of a [Bottle of Water] and I would need about 5 of those. Please, bring them to me.\"";
  close;

L_Get:
  mes "[Olana]";
  mes "\"Please, get 5 containers of water for me, around the size of a [Bottle of Water].\"";
  close;

L_See:
  if(countitem("bottleofwater") < 5) goto L_Get;
  mes "[Olana]";
  set Rossy_Quest, 4;
  mes "\"You got them for me! Thank you! Here you are... a small reward from me for your precious help!\"";
  delitem "bottleofwater", 5;
  getexp 500, 0;
  set zeny, zeny + 1000;
  goto L_Task;

L_Task:
  mes "[Olana]";
  mes "\"Thank you very much. I have another task for you, would you like to help me again?\"";
  menu
    "Tell me about it.", L_Cont,
    "No, sorry, I'm busy.", L_No;

L_Cont:
  mes "[Olana]";
  mes "\"Can you give this letter to my little daughter please? Her teacher asked me to do it, but I can't walk up to my daughter, my 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 yourself.", L_No;
    
L_Let:
  mes "[Olana]";
  set Rossy_Quest, 5;
  mes "\"Please bring it to her as fast as you can, she really needs to know this news!\"";
  close;
  
L_Bring:
  mes "[Olana]";
  mes "\"Bring this letter to my daughter as fast as you can, please!\"";
  close;
  
L_BL:
  mes "[Olana]";
  mes "\"Good, now she remembers it! Please, "+ strcharinfo(0) +", help Rossy, she will tell you what to do.\"";
  close;
  
L_Done:
  mes "[Olana]";
  mes "\"Thanks you "+ strcharinfo(0) +", I and Rossy will never forget what you did for us!\"";
  goto L_Rose;
  
L_Rose:
  mes "[Olana]";
  mes "\"I have another task for you, would you help me?\"";
  menu
    "Tell me what to do.", L_RL,
    "No, I'm busy, maybe later.", L_No;
    
L_RL:
  mes "[Olana]";
  set Rossy_Quest, 9;
  mes "\"Can you bring me 15 [Red Rose]s? I would like to give them to my daughter because she succesfully passed her magic exam!\"";
  menu
    "Ok, I will be back with these.", L_RG;
    
L_RG:
  mes "[Olana]";
  mes "\"Please, bring me 15 [Red Rose]s.\"";
  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]";
  set Rossy_Quest, 12;
  mes "\"Did she liked my present?\"";
  menu
    "Well, you should know that your daughter is allergic to roses.", -;
  mes "[Olana]";
  mes "\"How stupid I am! Here, take some of my money and buy [Red Tulip]s instead, about the same amount. The roses are for you sweety.\"";
  set zeny, zeny + 1500;
  next;
  mes "[Olana]";
  mes "\"I want Rossy to be happy and to forgive me for my stupidity.\"";
  menu
    "Ok, I will.", -;
  mes "[Olana]";
  mes "\"And don't forget to tell her that I'm really sorry.\"";
  close;
  
L_Give:
  mes "[Olana]";
  mes "\""+ strcharinfo(0) +", please, get 15 [Red Tulip]s and hand them to Rossy. Don't forget to tell her that I'm really sorry for the mistake I did.\"";
  close;
  
L_Best:
  mes "[Olana]";
  mes "\""+ strcharinfo(0) +", thank you for your help!\"";
  close;

L_Julia:
  mes "[Olana]";
  mes "\"Where is Julia? I want to know where she is! Go and find her please "+ strcharinfo(0) +".\"";
  close;

L_End:
  mes "[Olana]";
  mes "\"Where is Julia? I want to know where she is! Go and find her please "+ strcharinfo(0) +".\"";
  menu
    "She'll be back soon, trust me, I saved her.", L_Found,
    "I didn't saw 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 "*The mother is calmly waiting her daughters to come back for diner.*";
  close;
  
}