diff options
author | Ali-G <gauvain.dauchy@free.fr> | 2011-06-04 14:56:46 +0200 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-06-12 14:43:31 -0700 |
commit | aa7b030995264b775bc3793aa2260b07e2275ede (patch) | |
tree | 5ad1ceed40035b19c99ae17999b774ee38632e82 /npc/009-2 | |
parent | 630b394abb4940068f4939857a9558aee756ec11 (diff) | |
download | serverdata-aa7b030995264b775bc3793aa2260b07e2275ede.tar.gz serverdata-aa7b030995264b775bc3793aa2260b07e2275ede.tar.bz2 serverdata-aa7b030995264b775bc3793aa2260b07e2275ede.tar.xz serverdata-aa7b030995264b775bc3793aa2260b07e2275ede.zip |
Serarated the script into each NPC. Also changed the outline story and changed the location of Rossy and her first quest.
Diffstat (limited to 'npc/009-2')
-rw-r--r-- | npc/009-2/_import.txt | 1 | ||||
-rw-r--r-- | npc/009-2/olana.txt | 166 |
2 files changed, 167 insertions, 0 deletions
diff --git a/npc/009-2/_import.txt b/npc/009-2/_import.txt index 4d3ae94e..5289780c 100644 --- a/npc/009-2/_import.txt +++ b/npc/009-2/_import.txt @@ -14,6 +14,7 @@ npc: npc/009-2/mapflags.txt npc: npc/009-2/misc.txt npc: npc/009-2/nicholas.txt npc: npc/009-2/nurse.txt +npc: npc/009-2/olana.txt npc: npc/009-2/peter.txt npc: npc/009-2/richard.txt npc: npc/009-2/selim.txt diff --git a/npc/009-2/olana.txt b/npc/009-2/olana.txt new file mode 100644 index 00000000..729ffb93 --- /dev/null +++ b/npc/009-2/olana.txt @@ -0,0 +1,166 @@ +009-2.gat,123,45,0 script Olana 140,{ + + if (Rossy_Quest == 14) 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 I think and I helped her get back some fruits she lost in the forest. I didn't saw Julia though.", 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; + +} |