From 9b55c082ae28bf4fb14b074ad62bb2b4449977a8 Mon Sep 17 00:00:00 2001 From: Frost Date: Wed, 7 Sep 2011 10:54:24 -0700 Subject: removed tabs from 026-1 down to 024-2 --- world/map/npc/024-2/barrier.txt | 10 +- world/map/npc/024-2/tyer.txt | 8 +- world/map/npc/024-2/tyer_trigger.txt | 30 +-- world/map/npc/025-1/barrier.txt | 16 +- world/map/npc/025-1/reset.txt | 2 +- world/map/npc/025-1/rossy.txt | 416 +++++++++++++++++------------------ world/map/npc/025-4/clauquer.txt | 162 +++++++------- world/map/npc/025-4/julia.txt | 58 ++--- world/map/npc/026-1/sign.txt | 8 +- 9 files changed, 355 insertions(+), 355 deletions(-) diff --git a/world/map/npc/024-2/barrier.txt b/world/map/npc/024-2/barrier.txt index ede39644..e5de5bb9 100644 --- a/world/map/npc/024-2/barrier.txt +++ b/world/map/npc/024-2/barrier.txt @@ -1,10 +1,10 @@ // A barrier in the magic school to keep less experienced players out of the canyon -024-2.gat,31,24,0 script #MagicSchoolBarrier1#M 0,1,1,{ - if (BaseLevel < 40) goto L_PushBack; - close; +024-2.gat,31,24,0|script|#MagicSchoolBarrier1#M|0,1,1,{ + if (BaseLevel < 40) goto L_PushBack; + close; L_PushBack: - warp "024-2.gat", 34, 24; - close; + warp "024-2.gat", 34, 24; + close; } diff --git a/world/map/npc/024-2/tyer.txt b/world/map/npc/024-2/tyer.txt index f6b78331..bbd829cd 100644 --- a/world/map/npc/024-2/tyer.txt +++ b/world/map/npc/024-2/tyer.txt @@ -1,7 +1,7 @@ // A man in the magic school -024-2.gat,36,21,0 script Tyer 157,{ - mes "[Tyer]"; - mes "\"Hello.\""; - close; +024-2.gat,36,21,0|script|Tyer|157,{ + mes "[Tyer]"; + mes "\"Hello.\""; + close; } diff --git a/world/map/npc/024-2/tyer_trigger.txt b/world/map/npc/024-2/tyer_trigger.txt index ee588365..603eb7d8 100644 --- a/world/map/npc/024-2/tyer_trigger.txt +++ b/world/map/npc/024-2/tyer_trigger.txt @@ -1,23 +1,23 @@ // A man in the magic school -024-2.gat,33,24,0 script #Tyer_Trigger 0,1,1,{ - if (BaseLevel >= 40) end; +024-2.gat,33,24,0|script|#Tyer_Trigger|0,1,1,{ + if (BaseLevel >= 40) end; - mes "[Tyer]"; - mes "\"You're still too young to go in there.\""; - next; + mes "[Tyer]"; + mes "\"You're still too young to go in there.\""; + next; - menu - "What do you mean I'm too young to go in there?", L_Explain, - "Ah, right.", -; - close; + menu + "What do you mean I'm too young to go in there?", L_Explain, + "Ah, right.", -; + close; L_Explain: - mes "[Tyer]"; - mes "\"The canyon is a dangerous place, so only more experienced people are allowed there.\""; - next; + mes "[Tyer]"; + mes "\"The canyon is a dangerous place, so only more experienced people are allowed there.\""; + next; - mes "[Tyer]"; - mes "\"That barrier was made to keep those that are too young out.\""; - close; + mes "[Tyer]"; + mes "\"That barrier was made to keep those that are too young out.\""; + close; } diff --git a/world/map/npc/025-1/barrier.txt b/world/map/npc/025-1/barrier.txt index 1a7e32b7..3b9fbb97 100644 --- a/world/map/npc/025-1/barrier.txt +++ b/world/map/npc/025-1/barrier.txt @@ -1,17 +1,17 @@ // Authors: alastrim, Ali-g, Dark Mage -025-1.gat,42,79,0 script #JuliaBarrier 45,1,1,{ +025-1.gat,42,79,0|script|#JuliaBarrier|45,1,1,{ - if (Rossy_Quest > 14 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_Warp; - if (Rossy_Quest <= 13) goto L_Block; - if (Rossy_Quest == 14) message strcharinfo(0), "You hear distant screams of fear."; + if (Rossy_Quest > 14 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_Warp; + if (Rossy_Quest <= 13) goto L_Block; + if (Rossy_Quest == 14) message strcharinfo(0), "You hear distant screams of fear."; L_Warp: - warp "025-3.gat", 112, 97; - end; + warp "025-3.gat", 112, 97; +end; L_Block: - message strcharinfo(0), "You are too frightened by what you can hear coming out of the cave that you can't enter."; - end; + message strcharinfo(0), "You are too frightened by what you can hear coming out of the cave that you can't enter."; +end; } diff --git a/world/map/npc/025-1/reset.txt b/world/map/npc/025-1/reset.txt index e8d7f33c..ccfdab26 100644 --- a/world/map/npc/025-1/reset.txt +++ b/world/map/npc/025-1/reset.txt @@ -1,6 +1,6 @@ //To enable: sed 's_^// __' -i npc/025-1/reset.txt -// 025-1.gat,47,84,0 script reset 145,{ +// 025-1.gat,47,84,0|script|reset|145,{ // mes "Do you want to reset Rossy Quest?"; // menu diff --git a/world/map/npc/025-1/rossy.txt b/world/map/npc/025-1/rossy.txt index 86cc1bff..eb506bca 100644 --- a/world/map/npc/025-1/rossy.txt +++ b/world/map/npc/025-1/rossy.txt @@ -1,255 +1,255 @@ // Authors: alastrim, Ali-g, Dark Mage -025-1.gat,80,88,0 script Rossy 114,{ - - set @Cherry_Amount, 10; - set @Cherry_EXP, 2000; - - set @CactusDrink_Amount, 24; - set @MaggotSlime_Amount, 32; - set @GambodgeHerb_Amount, 50; - set @AlizarinHerb_Amount, 43; - set @BugLeg_Amount, 30; - set @Potion_EXP, 3000; - - set @RedRose_Amount, 15; - set @RedTulip_Amount, 15; - set @Flower_EXP, 2500; - - set @Finish_EXP, 5000; - set @Finish_Money, 5000; - - 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 >= 11) goto L_Allergic; - if (Rossy_Quest >= 8 && Rossy_Quest < 11) goto L_Donet; - if (Rossy_Quest == 7) goto L_BT; - if (Rossy_Quest == 6) goto L_Check2; - if (Rossy_Quest == 5) goto L_Let; - if (Rossy_Quest == 4 || Rossy_Quest == 5) goto L_Cherry_Done; - if (Rossy_Quest == 3) goto L_Check; - if (Rossy_Quest == 2) goto L_Mother; - - mes "A young girl looks at you in tears."; - if (Rossy_Quest < 1) close; - next; - menu - "Hey, hey... Why are you crying? Are you hurt?", -, - "Sorry kid, I don't have time to play with children.", L_No; - mes "[Young Girl]"; - mes "\"No. I'm crying because I lost all my fruits. My sister and I were collecting some near Dimond's Cove, but then I stumbled on a giant snail and it attacked us!"; - next; - mes "But we were lucky, because the snail is really slow and we ran away from it. Julia ran to the left and I ran to the right. The snail got pretty confused, because we are identical twins. The problem is that I dropped the basket full of fruits on the ground and that evil snail ate them all! And now I can't find Julia to help me collect more fruits.\""; - next; - menu - "Did you say Julia? I talked to you mother. She is very worried about you.", -; - mes "[Rossy]"; - mes "\"Really? But she let us play in the woods. There is no reason to be worried. Unless...\""; - next; - mes "Rossy suddenly gets a strange look on her face, mumbling something about Julia."; - next; - mes "[Rossy]"; - mes "\"Could you do me a favor? Please, tell my mother we are alright. There is.. uh... there is no reason to worry about us.\""; - next; - menu - "Ok, if you say so.", -, - "Sorry, I have no time for this.", L_No; - mes "[Rossy]"; - mes "\"Thank you very much!\""; - set Rossy_Quest, 2; - close; +025-1.gat,80,88,0|script|Rossy|114,{ + + set @Cherry_Amount, 10; + set @Cherry_EXP, 2000; + + set @CactusDrink_Amount, 24; + set @MaggotSlime_Amount, 32; + set @GambodgeHerb_Amount, 50; + set @AlizarinHerb_Amount, 43; + set @BugLeg_Amount, 30; + set @Potion_EXP, 3000; + + set @RedRose_Amount, 15; + set @RedTulip_Amount, 15; + set @Flower_EXP, 2500; + + set @Finish_EXP, 5000; + set @Finish_Money, 5000; + + 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 >= 11) goto L_Allergic; + if (Rossy_Quest >= 8 && Rossy_Quest < 11) goto L_Donet; + if (Rossy_Quest == 7) goto L_BT; + if (Rossy_Quest == 6) goto L_Check2; + if (Rossy_Quest == 5) goto L_Let; + if (Rossy_Quest == 4 || Rossy_Quest == 5) goto L_Cherry_Done; + if (Rossy_Quest == 3) goto L_Check; + if (Rossy_Quest == 2) goto L_Mother; + + mes "A young girl looks at you in tears."; + if (Rossy_Quest < 1) close; + next; + menu + "Hey, hey... Why are you crying? Are you hurt?", -, + "Sorry kid, I don't have time to play with children.", L_No; + mes "[Young Girl]"; + mes "\"No. I'm crying because I lost all my fruits. My sister and I were collecting some near Dimond's Cove, but then I stumbled on a giant snail and it attacked us!"; + next; + mes "But we were lucky, because the snail is really slow and we ran away from it. Julia ran to the left and I ran to the right. The snail got pretty confused, because we are identical twins. The problem is that I dropped the basket full of fruits on the ground and that evil snail ate them all! And now I can't find Julia to help me collect more fruits.\""; + next; + menu + "Did you say Julia? I talked to you mother. She is very worried about you.", -; + mes "[Rossy]"; + mes "\"Really? But she let us play in the woods. There is no reason to be worried. Unless...\""; + next; + mes "Rossy suddenly gets a strange look on her face, mumbling something about Julia."; + next; + mes "[Rossy]"; + mes "\"Could you do me a favor? Please, tell my mother we are alright. There is.. uh... there is no reason to worry about us.\""; + next; + menu + "Ok, if you say so.", -, + "Sorry, I have no time for this.", L_No; + mes "[Rossy]"; + mes "\"Thank you very much!\""; + set Rossy_Quest, 2; +close; L_No: - close; +close; L_Mother: - mes "[Rossy]"; - mes "\"Please, tell my mother we are fine. If you feel like helping, come back after you talk to my mother. Maybe you could help us find some fruits.\""; - close; + mes "[Rossy]"; + mes "\"Please, tell my mother we are fine. If you feel like helping, come back after you talk to my mother. Maybe you could help us find some fruits.\""; +close; L_Get_Cherry: - mes "[Young Girl]"; - mes "\"No, you don't have " + @Cherry_Amount + " cherries. I know how to count. I hope you get them soon.\""; - close; + mes "[Young Girl]"; + mes "\"No, you don't have " + @Cherry_Amount + " cherries. I know how to count. I hope you get them soon.\""; +close; L_Check: - mes "[Rossy]"; - mes "\"Hey, that is nice of you to come back. I was thinking about giving a basket full of cherries to my mother, to make her happy, you know. But we'd need at least " + @Cherry_Amount + " cherries, and it would take ages for me to get so many by myself!\""; - next; - menu - "That is no problem for me. Just wait and I will come back with the cherries.", L_No, - "Hey, I have some cherries in my backpack!", -, - "You should get them yourself.", L_No; - if(countitem("Cherry") < @Cherry_Amount) goto L_Get_Cherry; - mes "[Rossy]"; - set Rossy_Quest, 4; - getexp @Cherry_EXP, 0; - mes "\"I can't believe it, you got them all! Please give them to my mother. Tell her it is a gift from me and Julia and there is no reason to worry about us.\""; - next; - mes "Rossy mumbles to herself."; - mes "[Rossy]"; - mes "\"I hope...\""; - next; - mes "[Rossy]"; - mes "\"Oh, after you give the cherries to my mother, please come back here. If you have some free time, of course.\""; - close; + mes "[Rossy]"; + mes "\"Hey, that is nice of you to come back. I was thinking about giving a basket full of cherries to my mother, to make her happy, you know. But we'd need at least " + @Cherry_Amount + " cherries, and it would take ages for me to get so many by myself!\""; + next; + menu + "That is no problem for me. Just wait and I will come back with the cherries.", L_No, + "Hey, I have some cherries in my backpack!", -, + "You should get them yourself.", L_No; + if(countitem("Cherry") < @Cherry_Amount) goto L_Get_Cherry; + mes "[Rossy]"; + set Rossy_Quest, 4; + getexp @Cherry_EXP, 0; + mes "\"I can't believe it, you got them all! Please give them to my mother. Tell her it is a gift from me and Julia and there is no reason to worry about us.\""; + next; + mes "Rossy mumbles to herself."; + mes "[Rossy]"; + mes "\"I hope...\""; + next; + mes "[Rossy]"; + mes "\"Oh, after you give the cherries to my mother, please come back here. If you have some free time, of course.\""; +close; L_Cherry_Done: - mes "[Rossy]"; - mes "\"Please, try to distract my mother. I don't want her to be worried about us. While you do this, I will try to find Julia.\""; - close; + mes "[Rossy]"; + mes "\"Please, try to distract my mother. I don't want her to be worried about us. While you do this, I will try to find Julia.\""; +close; L_Let: - mes "[Rossy]"; - mes "\"Hello "+ strcharinfo(0) +", nice to see you again. Hey, what are you hiding behind your back? Is that a... letter?\""; - next; - menu - "Your mother asked me to hand you this letter. She told me it was from your teacher.", L_Let2, - "Not at all. I need to go now, see you next time.", L_No; + mes "[Rossy]"; + mes "\"Hello "+ strcharinfo(0) +", nice to see you again. Hey, what are you hiding behind your back? Is that a... letter?\""; + next; + menu + "Your mother asked me to hand you this letter. She told me it was from your teacher.", L_Let2, + "Not at all. I need to go now, see you next time.", L_No; L_Let2: - mes "The little girl grabs the piece of paper and reads it quickly. Her face turns pale."; - menu - "What does it say?", -; - mes "[Rossy]"; - mes "\"Oh no, I completely forgot! My magic school exam! I need to make a potion and give it to my teacher today! But I haven't found Julia yet and I don't even have any of the ingredients required. Could you get them for me, please?\""; - next; - set Rossy_Quest, 6; - mes "\"I need " + @CactusDrink_Amount + " Cactus Drinks, " + @MaggotSlime_Amount + " Maggot Slimes, " + @GambodgeHerb_Amount + " Gamboge Herbs, " + @AlizarinHerb_Amount + " Alizarin Herbs and " + @BugLeg_Amount + " Bug Legs.\""; - next; - mes "\"Please come back to see me when you have the ingredients. I know the recipe by heart.\""; - close; + mes "The little girl grabs the piece of paper and reads it quickly. Her face turns pale."; + menu + "What does it say?", -; + mes "[Rossy]"; + mes "\"Oh no, I completely forgot! My magic school exam! I need to make a potion and give it to my teacher today! But I haven't found Julia yet and I don't even have any of the ingredients required. Could you get them for me, please?\""; + next; + set Rossy_Quest, 6; + mes "\"I need " + @CactusDrink_Amount + " Cactus Drinks, " + @MaggotSlime_Amount + " Maggot Slimes, " + @GambodgeHerb_Amount + " Gamboge Herbs, " + @AlizarinHerb_Amount + " Alizarin Herbs and " + @BugLeg_Amount + " Bug Legs.\""; + next; + mes "\"Please come back to see me when you have the ingredients. I know the recipe by heart.\""; +close; L_NE: - mes "[Rossy]"; - mes "\"Please bring me " + @CactusDrink_Amount + " Cactus Drinks, " + @MaggotSlime_Amount + " Maggot Slimes, " + @GambodgeHerb_Amount + " Gamboge Herbs, " + @AlizarinHerb_Amount + " Alizarin Herbs and " + @BugLeg_Amount + " Bug Legs.\""; - next; - mes "\"Please hurry!\""; - close; + mes "[Rossy]"; + mes "\"Please bring me " + @CactusDrink_Amount + " Cactus Drinks, " + @MaggotSlime_Amount + " Maggot Slimes, " + @GambodgeHerb_Amount + " Gamboge Herbs, " + @AlizarinHerb_Amount + " Alizarin Herbs and " + @BugLeg_Amount + " Bug Legs.\""; + next; + mes "\"Please hurry!\""; +close; L_Check2: - if(countitem("CactusDrink") < @CactusDrink_Amount) goto L_NE; - if(countitem("MaggotSlime") < @MaggotSlime_Amount) goto L_NE; - if(countitem("GambogeHerb") < @GambodgeHerb_Amount) goto L_NE; - if(countitem("AlizarinHerb") < @AlizarinHerb_Amount) goto L_NE; - if(countitem("BugLeg") < @BugLeg_Amount) goto L_NE; - delitem "CactusDrink", @CactusDrink_Amount; - delitem "MaggotSlime", @MaggotSlime_Amount; - delitem "GambogeHerb", @GambodgeHerb_Amount; - delitem "AlizarinHerb", @AlizarinHerb_Amount; - delitem "BugLeg", @BugLeg_Amount; - mes "Rossy takes all the ingredients and places them on the ground. She starts to mix some herbs with the cactus drinks and appears to cast some spells. She seems to know what she is doing."; - next; - mes "[Rossy]"; - mes "\"Oh, thank you "+ strcharinfo(0) +"! It is done. If you don't mind, please give this potion to my teacher.\""; - set Rossy_Quest, 7; - getexp @Potion_EXP, 0; - message strcharinfo(0), "Rossy hands you the potion, holding the bottle very carefully."; - next; - mes "\"My teacher's name is David. He is a very young magician and lives near the magic school in the north of Tulimshar.\""; - next; - mes "\"Please, give it to him as soon as you can!\""; - close; + if(countitem("CactusDrink") < @CactusDrink_Amount) goto L_NE; + if(countitem("MaggotSlime") < @MaggotSlime_Amount) goto L_NE; + if(countitem("GambogeHerb") < @GambodgeHerb_Amount) goto L_NE; + if(countitem("AlizarinHerb") < @AlizarinHerb_Amount) goto L_NE; + if(countitem("BugLeg") < @BugLeg_Amount) goto L_NE; + delitem "CactusDrink", @CactusDrink_Amount; + delitem "MaggotSlime", @MaggotSlime_Amount; + delitem "GambogeHerb", @GambodgeHerb_Amount; + delitem "AlizarinHerb", @AlizarinHerb_Amount; + delitem "BugLeg", @BugLeg_Amount; + mes "Rossy takes all the ingredients and places them on the ground. She starts to mix some herbs with the cactus drinks and appears to cast some spells. She seems to know what she is doing."; + next; + mes "[Rossy]"; + mes "\"Oh, thank you "+ strcharinfo(0) +"! It is done. If you don't mind, please give this potion to my teacher.\""; + set Rossy_Quest, 7; + getexp @Potion_EXP, 0; + message strcharinfo(0), "Rossy hands you the potion, holding the bottle very carefully."; + next; + mes "\"My teacher's name is David. He is a very young magician and lives near the magic school in the north of Tulimshar.\""; + next; + mes "\"Please, give it to him as soon as you can!\""; +close; L_BT: - mes "[Rossy]"; - mes "\"Great. Now if you could just give it to my teacher. His name is David. He is a very young magician and lives near the magic school in the north of Tulimshar.\""; - next; - mes "\"You should take the ferry, that'll be faster than swimming!\""; - close; + mes "[Rossy]"; + mes "\"Great. Now if you could just give it to my teacher. His name is David. He is a very young magician and lives near the magic school in the north of Tulimshar.\""; + next; + mes "\"You should take the ferry, that'll be faster than swimming!\""; +close; L_Donet: - if (Rossy_Quest == 10 && countitem("redrose") >= @RedRose_Amount) goto L_RG; - menu - "David took your potion and he tested it in front of me. It worked perfectly!", -; - mes "[Rossy]"; - mes "\"Yay! Phew... That was close, I almost forgot about my exam. Please, tell my mother about it. I am sure she will be proud of me.\""; - close; + if (Rossy_Quest == 10 && countitem("redrose") >= @RedRose_Amount) goto L_RG; + menu + "David took your potion and he tested it in front of me. It worked perfectly!", -; + mes "[Rossy]"; + mes "\"Yay! Phew... That was close, I almost forgot about my exam. Please, tell my mother about it. I am sure she will be proud of me.\""; +close; L_RG: - if (countitem("redrose") < @RedRose_Amount) goto L_No; - delitem "redrose", @RedRose_Amount; - menu - "Your mother was so happy that she asked me to bring you these flowers.", -; - mes "[Rossy]"; - mes "\"How nice!\""; - next; - mes "Rossy takes the flowers from your hands and suddenly throws them on the ground. She begins sneezing."; - set Rossy_Quest, 11; - menu - "I presume you don't like roses, right?", -; - mes "[Rossy]"; - mes "\"I am allergic to roses, my mother should already know that!\""; - close; + if (countitem("redrose") < @RedRose_Amount) goto L_No; + delitem "redrose", @RedRose_Amount; + menu + "Your mother was so happy that she asked me to bring you these flowers.", -; + mes "[Rossy]"; + mes "\"How nice!\""; + next; + mes "Rossy takes the flowers from your hands and suddenly throws them on the ground. She begins sneezing."; + set Rossy_Quest, 11; + menu + "I presume you don't like roses, right?", -; + mes "[Rossy]"; + mes "\"I am allergic to roses, my mother should already know that!\""; +close; L_Allergic: - mes "Rossy sneezes a lot."; - if (Rossy_Quest == 12 && countitem("redtulip") >= @RedTulip_Amount) goto L_Sorry; - close; + mes "Rossy sneezes a lot."; + if (Rossy_Quest == 12 && countitem("redtulip") >= @RedTulip_Amount) goto L_Sorry; +close; L_Sorry: - menu - "Your mother is sorry about the roses. Here are some beautiful red tulips instead.", L_See; + menu + "Your mother is sorry about the roses. Here are some beautiful red tulips instead.", L_See; L_See: - mes "[Rossy]"; - if (countitem("redtulip") < @RedTulip_Amount) goto L_No; - delitem "redtulip", @RedTulip_Amount; - set Rossy_Quest, 13; - mes "\"That's better! Go and tell my mother that she is the nicest mother in the world.\""; - next; - mes "\"Now I should really find my sister. Come back later.\""; - getexp @Flower_EXP, 0; - close; + mes "[Rossy]"; + if (countitem("redtulip") < @RedTulip_Amount) goto L_No; + delitem "redtulip", @RedTulip_Amount; + set Rossy_Quest, 13; + mes "\"That's better! Go and tell my mother that she is the nicest mother in the world.\""; + next; + mes "\"Now I should really find my sister. Come back later.\""; + getexp @Flower_EXP, 0; +close; L_Best: - mes "[Rossy]"; - mes "\"Thank you "+ strcharinfo(0) +", you helped me so much!\""; - next; - menu - "Did you find your sister? I am starting to get worried too.", -; - mes "\"I think I have an idea where she might be. Come back in a few minutes, I will tell you if she is ok.\""; - set Rossy_Quest, 14; - close; + mes "[Rossy]"; + mes "\"Thank you "+ strcharinfo(0) +", you helped me so much!\""; + next; + menu + "Did you find your sister? I am starting to get worried too.", -; + mes "\"I think I have an idea where she might be. Come back in a few minutes, I will tell you if she is ok.\""; + set Rossy_Quest, 14; +close; L_Julia: - mes "[Rossy]"; - mes "\"I saw Julia! She was running away from something and entered a cave not far from here. I heard her scream. Please can you enter the cave and save her? I'm so scared!\""; - close; + mes "[Rossy]"; + mes "\"I saw Julia! She was running away from something and entered a cave not far from here. I heard her scream. Please can you enter the cave and save her? I'm so scared!\""; +close; L_End: - mes "[Rossy]"; - mes "\"Oh no, Julia... Why would you go to that scary place? Have you seen her yet?\""; - menu - "She'll be back soon, trust me. I saved her.", L_Found, - "I didn't see her yet, sorry.", L_No; + mes "[Rossy]"; + mes "\"Oh no, Julia... Why would you go to that scary place? Have you seen her yet?\""; + menu + "She'll be back soon, trust me. I saved her.", L_Found, + "I didn't see her yet, sorry.", L_No; L_Found: - mes "[Rossy]"; - if (Rossy_Quest == 17) set Rossy_Quest, 18; - if (Rossy_Quest == 18) set Rossy_Quest, 19; - mes "\"Oh "+ strcharinfo(0) +", thank you very much! Take this, you deserve it!\""; - next; - mes "Rossy hands you a huge bag full of coins."; - getexp @Finish_EXP, 0; - set zeny, zeny + @Finish_Money; - if (Rossy_Quest == 19) goto L_Clear; - close; + mes "[Rossy]"; + if (Rossy_Quest == 17) set Rossy_Quest, 18; + if (Rossy_Quest == 18) set Rossy_Quest, 19; + mes "\"Oh "+ strcharinfo(0) +", thank you very much! Take this, you deserve it!\""; + next; + mes "Rossy hands you a huge bag full of coins."; + getexp @Finish_EXP, 0; + set zeny, zeny + @Finish_Money; + if (Rossy_Quest == 19) goto L_Clear; +close; L_Clear: - set Rossy_Quest, 0; - set cavefights, 0; - set FLAGS, FLAGS | FLAG_ROSSI_COMPLETED; - close; + set Rossy_Quest, 0; + set cavefights, 0; + set FLAGS, FLAGS | FLAG_ROSSI_COMPLETED; +close; L_FinalEnd: - mes "[Rossy]"; - mes "\"Julia and I are playing hide and seek right now. It is fun in the forest!\""; - mes "The young girl laughs quietly."; - close; + mes "[Rossy]"; + mes "\"Julia and I are playing hide and seek right now. It is fun in the forest!\""; + mes "The young girl laughs quietly."; +close; } diff --git a/world/map/npc/025-4/clauquer.txt b/world/map/npc/025-4/clauquer.txt index 51f4b4b2..a2970d3b 100644 --- a/world/map/npc/025-4/clauquer.txt +++ b/world/map/npc/025-4/clauquer.txt @@ -1,101 +1,101 @@ // Authors: alastrim, Ali-g, Dark Mage -025-4.gat,30,30,0 script Clauquer 169,{ +025-4.gat,30,30,0|script|Clauquer|169,{ - if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_Rescued; - if (Rossy_Quest == 15) goto L_Hmmm; - if (Rossy_Quest == 14) goto L_Help; - if (Rossy_Quest <= 13) goto L_Huh; + if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_Rescued; + if (Rossy_Quest == 15) goto L_Hmmm; + if (Rossy_Quest == 14) goto L_Help; + if (Rossy_Quest <= 13) goto L_Huh; L_Help: - mes "[Clauquer]"; - mes "\"Hello stranger, are you lost?\""; - next; - mes "\"Don't answer, I know you are looking for someone... A little girl, is that right?\""; - next; - menu - "I must admit you're right, but how come you...", -, - "I'm not lost and I don't need help, bye.", L_No; - mes "[Clauquer]"; - mes "\"How do I know you're looking for her? Well, because I am a very good observer. I know you were helping her family. Besides, I saw the little girl. I also heard her. She screamed, and probably still screams like hell. Moreover, I don't think you would enter these caves just for fun!\""; - next; - menu - "Of course not.", -; - mes "[Clauquer]"; - mes "\"I can see that you really want to save the little girl. She is trapped in a place inside one of these caves, protected by a magic barrier created by a fey spirit. To save her, you have to annulate the energy sources of this barrier. They are located in 10 different spots, each one in a different cave.\""; - next; - menu - "But how can I annulate this barrier?", -; - mes "\"It is simple, you just have to place a root on the exact center of the energy source. Once you do this, its entire power will transmute into some terrible earth monsters. If you defeat them, this source of energy will be close to nothing and the barrier will be weaker.\""; - next; - mes "\"If my observations are correct, the girl is trapped in a cave protected by a barrier fed by 9 different power sources. And inside this cave, there is another barrier, fed by a single, but very strong, power source. The girl is inside that cave, protected by that strong barrier.\""; - next; - mes "\"Be prepared before you enter one of those caves, because once you put the root in the power source, you won't be able to get out. Also, remember that you can't stay in those caves for a long time, because of the foul air.\""; - next; - mes "\"Now I should tell you more about how that little girl got into that cave and warn you about what you are going to face there...\""; - next; - menu - "Please go on.", -; + mes "[Clauquer]"; + mes "\"Hello stranger, are you lost?\""; + next; + mes "\"Don't answer, I know you are looking for someone... A little girl, is that right?\""; + next; + menu + "I must admit you're right, but how come you...", -, + "I'm not lost and I don't need help, bye.", L_No; + mes "[Clauquer]"; + mes "\"How do I know you're looking for her? Well, because I am a very good observer. I know you were helping her family. Besides, I saw the little girl. I also heard her. She screamed, and probably still screams like hell. Moreover, I don't think you would enter these caves just for fun!\""; + next; + menu + "Of course not.", -; + mes "[Clauquer]"; + mes "\"I can see that you really want to save the little girl. She is trapped in a place inside one of these caves, protected by a magic barrier created by a fey spirit. To save her, you have to annulate the energy sources of this barrier. They are located in 10 different spots, each one in a different cave.\""; + next; + menu + "But how can I annulate this barrier?", -; + mes "\"It is simple, you just have to place a root on the exact center of the energy source. Once you do this, its entire power will transmute into some terrible earth monsters. If you defeat them, this source of energy will be close to nothing and the barrier will be weaker.\""; + next; + mes "\"If my observations are correct, the girl is trapped in a cave protected by a barrier fed by 9 different power sources. And inside this cave, there is another barrier, fed by a single, but very strong, power source. The girl is inside that cave, protected by that strong barrier.\""; + next; + mes "\"Be prepared before you enter one of those caves, because once you put the root in the power source, you won't be able to get out. Also, remember that you can't stay in those caves for a long time, because of the foul air.\""; + next; + mes "\"Now I should tell you more about how that little girl got into that cave and warn you about what you are going to face there...\""; + next; + menu + "Please go on.", -; L_Advice: - mes "[Clauquer]"; - mes "\"I advise you to be mentally prepared for this rescue operation. A fey nature spirit kidnapped the little girl and is planning to replace her with a changeling.\""; - next; - mes "\"The old tales of Hurnscald say this spirit always exchanges his offspring with beautiful and smart human children, to use them as servants. And his offspring usually forget about their own origin, growing up in a human family. But they are usually 'people' with really bad tempers, the kind of people who do terrible things in this world...\""; - next; - mes "However, the girl you are looking for is mentally too strong, and the spirit is having problems creating a changeling identical to her. So it locked her in one of those terrible caves, trying to scare the poor girl and make his task easier.\""; - next; - mes "\"Oh, and if you really plan to rescue the girl, I advise you to use potions for every single battle. I'm thinking of Concentration and Iron Potions. You might want to take some food with you too. I would personally take some water, I'm always thirsty. Don't be afraid to bring too much with you, these battles take time to end.\""; - next; - mes "\"I think you're now ready to explore these caves and fight.\""; - if (Rossy_Quest == 14) set Rossy_Quest, 15; - close; + mes "[Clauquer]"; + mes "\"I advise you to be mentally prepared for this rescue operation. A fey nature spirit kidnapped the little girl and is planning to replace her with a changeling.\""; + next; + mes "\"The old tales of Hurnscald say this spirit always exchanges his offspring with beautiful and smart human children, to use them as servants. And his offspring usually forget about their own origin, growing up in a human family. But they are usually 'people' with really bad tempers, the kind of people who do terrible things in this world...\""; + next; + mes "However, the girl you are looking for is mentally too strong, and the spirit is having problems creating a changeling identical to her. So it locked her in one of those terrible caves, trying to scare the poor girl and make his task easier.\""; + next; + mes "\"Oh, and if you really plan to rescue the girl, I advise you to use potions for every single battle. I'm thinking of Concentration and Iron Potions. You might want to take some food with you too. I would personally take some water, I'm always thirsty. Don't be afraid to bring too much with you, these battles take time to end.\""; + next; + mes "\"I think you're now ready to explore these caves and fight.\""; + if (Rossy_Quest == 14) set Rossy_Quest, 15; + close; L_End: - mes "[Clauquer]"; - mes "\"I see you came back because you didn't know enough of these caves... Well, well...\""; - next; - goto L_Advice; + mes "[Clauquer]"; + mes "\"I see you came back because you didn't know enough of these caves... Well, well...\""; + next; + goto L_Advice; L_Hmmm: - set @cleaned_caves, 0; - if (cavefights & BATTLE_CAVE1) set @cleaned_caves, @cleaned_caves + 1; - if (cavefights & BATTLE_CAVE2) set @cleaned_caves, @cleaned_caves + 1; - if (cavefights & BATTLE_CAVE3) set @cleaned_caves, @cleaned_caves + 1; - if (cavefights & BATTLE_CAVE4) set @cleaned_caves, @cleaned_caves + 1; - if (cavefights & BATTLE_CAVE5) set @cleaned_caves, @cleaned_caves + 1; - if (cavefights & BATTLE_CAVE6) set @cleaned_caves, @cleaned_caves + 1; - if (cavefights & BATTLE_CAVE7) set @cleaned_caves, @cleaned_caves + 1; - if (cavefights & BATTLE_CAVE8) set @cleaned_caves, @cleaned_caves + 1; - if (cavefights & BATTLE_CAVE9) set @cleaned_caves, @cleaned_caves + 1; - mes "[Clauquer]"; - mes "\"You already know everything about these caves. You don't need me anymore to find the little girl.\""; - next; - menu - "But please, I really need your help!", -, - "Oh, so many caves! Do you know how many are still left?", L_Feedback, - "You're right, I don't need your help!", L_No; - next; - mes "\"Ok, if you insist... But I can only repeat what I already said.\""; - goto L_Advice; + set @cleaned_caves, 0; + if (cavefights & BATTLE_CAVE1) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE2) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE3) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE4) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE5) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE6) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE7) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE8) set @cleaned_caves, @cleaned_caves + 1; + if (cavefights & BATTLE_CAVE9) set @cleaned_caves, @cleaned_caves + 1; + mes "[Clauquer]"; + mes "\"You already know everything about these caves. You don't need me anymore to find the little girl.\""; + next; + menu + "But please, I really need your help!", -, + "Oh, so many caves! Do you know how many are still left?", L_Feedback, + "You're right, I don't need your help!", L_No; + next; + mes "\"Ok, if you insist... But I can only repeat what I already said.\""; + goto L_Advice; L_Feedback: - if (@cleaned_caves > 0 && @cleaned_caves < 9) mes "\"You are doing good... If I am right, you already eliminated " + @cleaned_caves + " of the 9 energy sources of the barrier that protects the cave in which Julia is hidden.\""; - if (@cleaned_caves == 9) mes "\"I am amazed... You eliminated all the 9 energy sources. Now is the difficult part. To save Julia, you need to eliminate the last and most powerful barrier. Good Luck!\""; - if (@cleaned_caves <= 0) mes "\"Well... You didn't eliminate any of the barriers, so that means there are still 9 caves and the tenth one, the strongest...\""; - close; + if (@cleaned_caves > 0 && @cleaned_caves < 9) mes "\"You are doing good... If I am right, you already eliminated " + @cleaned_caves + " of the 9 energy sources of the barrier that protects the cave in which Julia is hidden.\""; + if (@cleaned_caves == 9) mes "\"I am amazed... You eliminated all the 9 energy sources. Now is the difficult part. To save Julia, you need to eliminate the last and most powerful barrier. Good Luck!\""; + if (@cleaned_caves <= 0) mes "\"Well... You didn't eliminate any of the barriers, so that means there are still 9 caves and the tenth one, the strongest...\""; + close; L_Huh: - mes "[Clauquer]"; - mes "\"Why are you here? Get out.\""; - close; + mes "[Clauquer]"; + mes "\"Why are you here? Get out.\""; + close; L_No: - close; + close; L_Rescued: - mes "[Clauquer]"; - mes "\"I'm very impressed!"; - mes "Now this fey nature spirit will never kidnap a poor child again.\""; - close; + mes "[Clauquer]"; + mes "\"I'm very impressed!"; + mes "Now this fey nature spirit will never kidnap a poor child again.\""; + close; } diff --git a/world/map/npc/025-4/julia.txt b/world/map/npc/025-4/julia.txt index ecb7703a..25db76d7 100644 --- a/world/map/npc/025-4/julia.txt +++ b/world/map/npc/025-4/julia.txt @@ -1,43 +1,43 @@ // Authors: alastrim, Ali-g, Dark Mage -025-4.gat,89,21,0 script Julia 114,{ +025-4.gat,89,21,0|script|Julia|114,{ - set @Reward_EXP, 5000; + set @Reward_EXP, 5000; - if (Rossy_Quest > 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_End; - if (Rossy_Quest == 16) goto L_Done; - if (Rossy_Quest <= 15) goto L_Hmmm; + if (Rossy_Quest > 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_End; + if (Rossy_Quest == 16) goto L_Done; + if (Rossy_Quest <= 15) goto L_Hmmm; L_Done: - mes "[Julia]"; - mes "\"I heard some battle noises a few minutes ago. Are you here to save me?\""; - next; - menu - "Of course I'm here to save you, Rossy sent me here!", -; - mes "\"Rossy? My twin sister? I knew she was going to look for me. Thank you so much, here is a present for you.\""; - getinventorylist; - if (@inventorylist_count == 100) goto L_TooMany; - getitem "BlackBoots", 1; - getexp @Reward_EXP, 0; - set Rossy_Quest, 17; - mes "\"I'm out of here now, lets get out of this horrible cave.\""; - close; + mes "[Julia]"; + mes "\"I heard some battle noises a few minutes ago. Are you here to save me?\""; + next; + menu + "Of course I'm here to save you, Rossy sent me here!", -; + mes "\"Rossy? My twin sister? I knew she was going to look for me. Thank you so much, here is a present for you.\""; + getinventorylist; + if (@inventorylist_count == 100) goto L_TooMany; + getitem "BlackBoots", 1; + getexp @Reward_EXP, 0; + set Rossy_Quest, 17; + mes "\"I'm out of here now, lets get out of this horrible cave.\""; +close; L_End: - mes "[Julia]"; - mes "\"Lets get out of this horrible cave.\""; - close; + mes "[Julia]"; + mes "\"Lets get out of this horrible cave.\""; +close; L_Hmmm: - mes "[Julia]"; - mes "\"Don't hurt me!\""; - close; + mes "[Julia]"; + mes "\"Don't hurt me!\""; +close; L_TooMany: - mes "[Julia]"; - mes "\"Oh, you don't have room for it. Come back when your backpack isn't full.\""; - next; - mes "\"I'll wait here until i can give your present to you!\""; - close; + mes "[Julia]"; + mes "\"Oh, you don't have room for it. Come back when your backpack isn't full.\""; + next; + mes "\"I'll wait here until i can give your present to you!\""; +close; } diff --git a/world/map/npc/026-1/sign.txt b/world/map/npc/026-1/sign.txt index 44813c38..10e28757 100644 --- a/world/map/npc/026-1/sign.txt +++ b/world/map/npc/026-1/sign.txt @@ -1,7 +1,7 @@ // -026-1.gat,64,16,0 script Sign 127,{ - mes "Hurnscald's Graveyard is north of here."; - mes "BEWARE!"; - close; +026-1.gat,64,16,0|script|Sign|127,{ + mes "Hurnscald's Graveyard is north of here."; + mes "BEWARE!"; + close; } -- cgit v1.2.3-70-g09d2